technique of broadcasting a newsfeed from a website summarising changes. RDF (Resource Development Framework). Nature Magazine sends its daily updates that way. They provide headlines, summaries and links for all the new web content and their own and associated sites. The feed is in RDF/XML.
Introduction | Advantages |
RSS-2 | Setting Up a RSS Feed |
RDF | Aggregators |
Feedburner | Books |
Atom 3 | Links |
Viewing Feeds |
There are seven RDF variants, Atom and RSS. You probably want to use RSS version 2.0, or support multiple formats including Atom 3. Atom was designed after RSS and is considered cleaner.
Websites called aggregators spider the various feeds and keep a central database of them and redistribute the information in various ways.
Most of the fields are pretty obvious. You can learn details about the many optional fields.
Unlike ordinary XML, there is no DTD (Document Type Definition).
The TTL (Time To Live) in minutes, how long a copy of your feed could be cached before it should be considered stale.
The image is logo for your feed, by default 88 × 30 pixels.
The optional GUID (Globally Unique Identifier) (not guide) is a string that uniquely identifies the item. When present, software reading your feed can use this unique string to determine if an item is new. In my HTML (Hypertext Markup Language) Static macros implementatin, I created it by computing a MD5 digest of the website, feed, link, title and publish date giving 16 bytes (256 bits) which I display display as a 32-digit hex number. You want a globally unique id, not just unique within the file, unique within the feed over time or unique over your site:
<!-- example of a hash-style guid --> <guid isPermaLink="false">2000220155</guid>then the id is just a meaningless hash.
But
then the link is also a URL (Uniform Resource Locator) to the item described by the feed. An undecorated URL not be unique if you generated a second RSS item to the same URL when the story changed.The pubDate uses computer-unfriendly, English-only alphabetic month and day-of-week names of RFC 5322 It won’t accept UTC (Coordinated Universal Time/Temps Universel Coordonné) , only GMT (Greenwich Mean Time) or UT. Java does not support UT. It supports only a subset of the Java TimeZone abbreviations, so it would be dangerous to use Locale default.
Two
To get a browser to notice your feed, you need a special entry in the <head> section
You can see what a typical RDF feed looks like on this Nature
You can see what a typical FeedBurner feed looks like on this FeedBurner Blast the Right feed:
Note how it permits you to format the text with HTML tags.Atom was developed to address some of the problems with the rather Mickey Mouse RSS. The syntax of the feel is called APP (Atom Publishing Protocol). It is defined in RFC 319 and RFC 5023. It is considerably more complicated and includes a server protocol for handling individual items. You can see what a typical Atom feed looks like:
The display is not quite right because the text is being displayed in ISO-8859-1, where the original is in UTF-8. Each item is sandwiched in entry tags. UTF-8 encoding allows special characters without entities. It supports both plain and HTML-formatted text. It allows you to ascribe an author to each entry. The scheme allows you to update entries. There is a mechanism to reply to individual entries, as you would in a blog.How Various Browsers Render RSS Feeds | |
---|---|
Browser | How Renders |
Opera | Special RSS-feed column format |
Firefox | CSS-style sheet HTML. Displays the feed logo. |
SeaMonkey | raw HTML tags, colourised |
Mozilla | CSS-style sheet HTML |
Netscape | CSS-style sheet HTML |
IE (Internet Explorer) 7 | A blank screen |
IE 8 | HTML layout |
Opera browser can manage your RSS feeds. Firefox supports RSS feeds calling them live bookmarks. Some sites refer to them as live feeds.
Because the date of each item is encoded in a standard way, it makes it possible to display just the new unviewed material no matter what the frequency of the automated visiting.
Once your feed in operational, you might want to register it with the following aggregators.
Technorati | ||
Google Blog Search | for both blogs and feeds. Google has sunset its Google Reader service. | |
Google FeedBurner |
recommend book⇒Developing Feeds with RSS and Atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
by | Ben Hammersley | 978-0-596-00881-9 | paperback | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
birth | 1976-04-03 age:42 | 978-1-4493-6598-1 | eBook | |||||||||||||||||||||||||||||||||||||||||||||||||||||
publisher | O’Reilly | B00BCQ5Q5K | kindle | |||||||||||||||||||||||||||||||||||||||||||||||||||||
published | 2005-04-13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Covers RSS-2 and Atom to create website update feeds and website update consolidating feeds, especially for news websites. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. |
This page is posted |
http://mindprod.com/jgloss/rss.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\rss.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.144.255.198] |
| |
Feedback |
You are visitor number | |