Help:RSS

From EcoliWiki
Jump to: navigation, search

RSS is a mechanism to acquire content from different sources on the Internet and display it in a web page. You can often find the RSS feed from a website by looking for an icon like the one shown in Figure 1. Alternatively, the icon may be a box with the words RSS, XML, or ATOM, or there may be a text link. Clicking on the feed icon will give you the URL of the feed.

Figure 1. Typical RSS feed icon

EcoliWiki allows you to embed RSS feeds from websites that provide RSS using the following markup

 <rss>URL|max=number_to_show</rss>

For example

<rss>http://public.ecolihub.net/wordpress/?feed=rss2&category=ecoliwiki&cat=3|max=3</rss>

is how EcoliWiki pulls the latest news from the EcoliHub project blog and displays it on the homepage.

Examples of RSS feeds

Journals

Many journals provide their table of contents as RSS feeds.

In addition, BaRf uses Pubmed services to generate journal-specific RSS feeds

PubMed

Figure 2. Saving a PubMed query as an RSS feed

You can create RSS feeds for specific PubMed queries, as shown in Figure 2. Do the query, then select the pulldown labeled RSS next to the query box. Set the desired number of entries and click "Create RSS". After a brief wait, the box will show an XML icon linked to your feed.

max=2</rss>

The URL for this query is:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/erss.cgi?rss_guid=16C1W1gAKSbeWNHtf8JTb-ohmdHf_4S7YH_Ttbx6jrVhsunox0

Generating the feed shown at right (where max is set to 2)

Blogs

Most blogs provide RSS feeds of recent posts. Some also provide feeds for recent comments from readers.

Twitter feeds

Twitter provides RSS feeds of recent tweets from users

Stan Maloy

max=2</rss>
http://twitter.com/statuses/user_timeline/44120745.rss

Generating the feed shown at right (where max is set to 2)


Jonathan Eisen

max=2</rss>
http://twitter.com/statuses/user_timeline/15154811.rss

Generating the feed shown at right (where max is set to 2)