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.
|RSS-2||Setting Up a RSS Feed|
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.
Butthen 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.
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|
|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.
|JavaBlogs||Java only. Use a lower case userid and password.|
|Google Blog Search||for both blogs and feeds. Google has sunset its Google Reader service.|
|recommend book⇒Developing Feeds with RSS and Atom|
|birth||1976-04-03 age: 37||978-1-4493-6598-1||eBook|
|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.|
available on the web at:
optional Replicator mirror
Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : . If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Your face IP:[184.108.40.206]
|Feedback||You are visitor number 14,807.|