bioneural.net site preferences

Accessibility

Toggle width/ text size:

style

Default/Alternate

Suits visual impairment, mobile devices

Styling

Change the theme:

layout

NB: may reduce functionality

Link behaviour

Links with an icon are off-site:

links

Right-click any link to optionally open in a new window or tab


Copy-and-paste JavaScript RSS feeds

Several services on the Internet offer insertion of a dynamically updated RSS feed into a webpage via JavaScript. Typically such tools allow you to create a customized script that you can copy and paste into your page. Actual appearance may be determined by the stylesheet you are using on your own site.

A live example

Here is a live feed from this site (using the local stylesheet), created via Feed2JS:

Example removed due to change of host/ blogging platform. Try your own example at the Feed2JS website.

Problems?

Sometimes you may be restricted in the use of JavaScripts. Google's eBlogger is one such site; if you paste a JavaScript into a new blog entry, Google's eBugger (sorry, eBlogger) will tell you:

HTML ERROR: Your HTML cannot be accepted: Tag is not allowed: [etc]

Note that it is possible to circumvent this error and publish a JavaScript-inclusive post, as described here. I can confirm that this works, although the method is convoluted. An alternative option, if you want to incorporate an external page that already has an RSS feed, is to create a new post and "import" the external page into an iframe. For example:

<iframe src="http://bioneural.blogspot.com/" name="rssframe" scrolling="auto" frameborder="1" align="middle" height ="50%" width ="100%"></iframe>

Likewise, MSN Spaces (beta) warns:

Some HTML tags may be removed from your entry for security and formatting reasons.

Try publishing an entry that includes a JavaScript and it will miraculously fail to appear. I don't know of any tricks to overcome this limitation.

0 responses to Copy-and-paste JavaScript RSS feeds


  1. No comments

Something to say?

Comments may be moderated (e.g. no commercial promotion), are subject to spam filtering, and should be relevant to this post—otherwise make contact.

Usable tags include <a href=""> <blockquote> <em>. Select any text and click to quote.