Help:RSS: Difference between revisions

From EcoliWiki
Jump to navigation Jump to search
Line 17: Line 17:
In addition, [http://barf.jcowboy.org/ BaRf] uses Pubmed services to generate journal-specific RSS feeds
In addition, [http://barf.jcowboy.org/ BaRf] uses Pubmed services to generate journal-specific RSS feeds
=== PubMed ===
=== PubMed ===
[[File:pubmed_create_rss.jpg|thumb|Figure 2. Saving a PubMed query as an RSS feed
[[File:pubmed_create_rss.jpg|thumb|400px|Figure 2. Saving a PubMed query as an RSS feed]]
You can create RSS feeds for specific PubMed queries, as shown in Figure 2
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.
{{Clr}}
{|align=right width =40% {{Prettytable}}
|-
|<rss>http://eutils.ncbi.nlm.nih.gov/entrez/eutils/erss.cgi?rss_guid=16C1W1gAKSbeWNHtf8JTb-ohmdHf_4S7YH_Ttbx6jrVhsunox0|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)
{{Clr}}
=== Blogs ===
=== Blogs ===
* [http://public.ecolihub.net/wordpress/?feed=rss2 EcoliHub news]
* [http://public.ecolihub.net/wordpress/?feed=rss2 EcoliHub news]
Line 27: Line 36:
Twitter provides RSS feeds of recent tweets from users
Twitter provides RSS feeds of recent tweets from users
==== Stan Maloy ====
==== Stan Maloy ====
http://twitter.com/statuses/user_timeline/44120745.rss
{|align=right width =40% {{Prettytable}}
{|align=right width =40% {{Prettytable}}
|-
|-
|<rss>http://twitter.com/statuses/user_timeline/44120745.rss|max=2</rss>
|<rss>http://twitter.com/statuses/user_timeline/44120745.rss|max=2</rss>
|}
|}
http://twitter.com/statuses/user_timeline/44120745.rss
Generating the feed shown at right (where max is set to 2)
{{Clr}}
{{Clr}}
==== Jonathan Eisen ====
==== Jonathan Eisen ====
http://twitter.com/statuses/user_timeline/15154811.rss
{|align=right width =40% {{Prettytable}}
{|align=right width =40% {{Prettytable}}
|-
|-
|<rss>http://twitter.com/statuses/user_timeline/15154811.rss|max=2</rss>
|<rss>http://twitter.com/statuses/user_timeline/15154811.rss|max=2</rss>
|}
|}
http://twitter.com/statuses/user_timeline/15154811.rss
Generating the feed shown at right (where max is set to 2)

Revision as of 19:39, 8 July 2010

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

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)