Any way to get at OneNote custom tags via the API? - onenote

Is there any way to get at a OneNote page's custom (user-defined) tags via the API? (I'm aware they don't appear in the HTML content.)
(The Evernote API allows you to read (and set) custom tags, which makes it considerably more versatile.)

sorry we don't have support for custom tags via the APIs yet. Full list of supported tags can be found at https://gist.github.com/nickbarnwell/c695fc4bb5b34d998622.
Please consider voting up for custom tags at UserVoice

Related

How would you embed RSS feeds into a static (or Hugo generated) website?

I'm looking for advice on how to embed RSS feeds into either a static HTML website or a Hugo-generated template (mentioning that in case there's any Hugo-specific solutions).
My goal is to incorporate the most recent 3 blogposts from a specific RSS feed URL and display them (appropriately styling using CSS) on this external website that I'm working on.
All solutions I'm finding online are suggesting either outdated gmodules approaches or a 3rd party tool to accomplish this. It doesn't seem like it should be that complicated - by using the RSS feed URL in an <iframe /> element, it renders, so is there any reason this is a not recommended approach?
Are there any best practices for embedding RSS feeds in an iframe?
Are there better methods for embedding RSS feeds on a website that don't involve third-party tools?
Any guidance would be appreciated. Thanks!
The point of an <iframe> is to imbed a second independent website inside the current page. So, in fact, you cannot style the contents of an iframe using the CSS of the outer page.
You can style it with javascript (see this answer) if they are in the same domain.
But if you are going to have to use javascript, it would be better to use AJAX.

url link preivew for html textarea

I am currently trying to implement a textarea in html for entering url links. When a user types in a url and press enter, a link preview should come up just like in Facebook. I am quite sure there would be some kind of plugins or pre-built tool that I can use for such functionality, but I am not sure where to look for. Can someone give me an advice on how to make this work? Thank you.
Facebook accomplishes this behaviour by using the Open Graph Protocol. For it to work properly, your target site does need to have the specific Open Graph meta tags like og:title defined (you can find the complete documentation on the page).
If you scroll down to Implementations you will find parsers for those Open Graph meta tags written for different programming languages like PHP or Ruby. However, you will most certainly not be able to parse the needed information with plain html.

Is it possible to create a custom user permission request dialog for HTML5 APIs?

Is it possible to create a custom user permission request dialog for HTML5 APIs (e.g geolocation or getUserMedia) so they look the same across all browsers?
Thankfully, no!
If you were able to create your own, you might phrase the question (and buttons) misleadingly. Just like you can't style the onbeforeunload popup.
Anything that is outside your sandbox, and you're trying to get access to, has to be controlled by the browser UI. Otherwise it'll just be complete and utter mayhem.
are you talking about having one custom style of all api authentications, across multiple API's, most API's such as facebook, instagram, foursquare, google etc, have their own dialogs you have to use in order to auth, so I believe creating a custom one would be not possible, although I hate saying things aren't possible.
But also in terms of HTML5 API's they cannot be customized

View twitter comments in html

I am trying to view Twitter comments in the source html,
however on viewing, the comments are not present,
I know I can view them using jquery but is there an alternative way of changing the url so that I can view the comments in the source? As I am using an application that is dependant on the url being hard coded.
Thanks in advance.
If by comments you mean statuses, they're hidden under the data- attributes of various elements. You should consider using the official API instead: https://dev.twitter.com/.
If you really, really can't do that, you could try the mobile version; however, you should never rely on parsing sites when there is an API available.

How I can embed Google Docs in my website?

How I can embed Google Docs in my website to use it like an editor?
If you just want to use the editing components (bold, italic, etc. such as the ones above this answer form) then a good option is to use TinyMCE. It's free, cross-browser compatible and available here: http://tinymce.moxiecode.com/ .
It's made in javascipt (a jQuery version is available), and what it does is wrap words (or characters) in html friendly tags, such as <strong> for bold, <em> for italic etc. When you want to change colours or the like the selection will be put in a <span> tag, so will not break your paragraph flow.
The total selection of options is very large, but can be customised to your wishes. I personally recommend it, as its the best way to allow clients to edit content and save it in the database correctly.
You can use the Google Documents List API
The Google Documents List API allows
client applications to
programmatically access and manipulate
user data stored with Google
Documents.
Yes. Code to embed:
<iframe src="" width="640" height="718" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
Don’t forget to add
embedded=true
to the url.
(e.g. <iframe src=“https://docs.google.com/document/d/1f2YyognZrHKo0lGBiV2yMNW2Ojl0IG6gaNihURMxBsA/edit?embedded=true” width=“640” height=“718” frameborder=“0” marginheight=“0” marginwidth=“0”>Loading…</iframe>)
In my humble opinion, that is not possible. Usually google will announce an API if they want other developers to just use their editors. What you are asking is quite interesting - you want the google docs editor to open a file (not necessarily in google drive), and then to edit it and save it after user is done editing. You also want the feature of collaborative editing (I suppose) where several people can edit the same document.
But to make these things available to coders to embed in their websites, google has to entirely remove their authentication system from their editor and also the support for google drive and a lot of other stuff. Google will simple not do that because I believe it will be a negative impact on their business.
I will refer you here to some links which will help you find a good editor for yourself:
(For editing code): http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
(For editing normal text): http://www.webdesignerdepot.com/2008/12/20-excellent-free-rich-text-editors/
But none of them will have the collaborative editing like google docs. I know, I am disappointed too. I too was searching for a text editor of such nature and couldn't find one.