Buy Used
FREE Delivery on orders over £10.
Condition: Used: Good
Comment: This item is used and has some wear. Qualifies for free shipping and prime programs.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Content Syndication with RSS Paperback – 3 Apr 2003

3.5 out of 5 stars 2 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
£36.08 £0.01

There is a newer edition of this item:

click to open popover

Special Offers and Product Promotions

Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone

To get the free app, enter your mobile phone number.

Product details

  • Paperback: 224 pages
  • Publisher: O'Reilly Media; 1 edition (3 April 2003)
  • Language: English
  • ISBN-10: 0596003838
  • ISBN-13: 978-0596003838
  • Product Dimensions: 17.8 x 1.3 x 23.3 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 5,219,063 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

About the Author

Ben Hammersley is an English emigre, living in Sweden, with his wife, three greyhounds, a few hundred deer, and a two-way satellite connection. For a day job, he writes for the British national press, appearing in The Times, The Guardian, and The Observer, but in his free time, he blogs excessively at and runs the ideas site. As a member of the RSS 1.0 Working Group, he survived the Great Fork Summer, and as a journalist he has been accosted by the secret police of two countries. To this day, he doesn't know which was worse.

Excerpt. © Reprinted by permission. All rights reserved.

CHAPTER 4 - RSS 0.91, 0.92, and 2.0 (Really Simple Syndication)

It ’s so simple to be happy,but so difficult to be simple.
—Gururaj Ananda Yogi

In this chapter we examine the RSS 0.91,0.92,and 2.0 specifications in detail.We also show how to create your own feeds and use those created by others.

RSS 0.91
The version documented in this section is based on the Userland document of April 2000. Its author,Dave Winer,did not invent any new practices with this specification,but he did codify RSS in a far more precise way than the Netscape original,based on common practice at the time.Primarily, the new codification imposed limits on the number of characters allowed within each element.

The only major difference between the Userland spec and the original Netscape write-up is that the Userland version lacks a document type definition (DTD)declaration.In fact, Netscape RSS 0.91is the only RSS version with an official DTD,so most RSS parsers are used to dealing without one.Including the declaration is therefore a matter of personal preference (though it must be noted that useful character entities such as ™cannot be used without it).Example 4-1provides a DTD declaration for those who wish to use one.

Example 4-1.The top of an RSS 0.91 document,with a DTD declaration

The Basic Structure
The top level of an RSS 0.91document is the element.This is followed by a single channel element.The channel element contains the entire feed contents and all associated metadata.

Required channel Subelements
There are five required subelements of channel within RSS 0.91:

The name of the feed.In most cases,this is the same name as the associated web site.It can have a maximum of 100 characters.

A URL pointing to the associated web site.It can have a maximum of 500 characters.
Description Some words to describe your channel.This section cannot contain anything other than plain text (no HTML or other markup is allowed).

The code for the language in which the feed is written.A full list of these codes appears in Appendix A.

An element that contains subelements to describe the feed ’s accompanying icon. It has three required and two optional subelements:

The URL of a GIF,JPG,or PNG image that corresponds to the feed.It can have a maximum of 500 characters,and it is required.

A description of the image,usually used within the ALT attribute of HTML ’s image tag.It can have 100 characters,and it is required.

The URL to which the image should be linked.This is usually the same as the channel -level link .It can have 500 characters,and it is required.

width and height
The width and height of the icon,in pixels.The icons should be a maximum of 144 pixels wide by 400 pixels high. The emergent standard is 88 pixels wide by 31 pixels high.Both of these elements are optional.

Optional channel Subelements
There are ten optional channel subelements of RSS 0.91.Technically speaking,you can leave these out altogether.However,you are encouraged to add them.Much of this stuff is static —the content of the element never changes.Placing it into your RSS template,or adding another line to a script,is little work for the additional value of your feed ’s metadata. This is especially true for the first three subelements listed here:

A copyright notice for the content in the feed.It can have a maximum of 10 characters.

The email address of the person to contact for editorial enquiries.It is suggested that this is in the format name (FirstName LastName ).It can have a maximum of 100 characters.

The email address of the webmaster for this feed.It can have a maximum of 100 characters.

The PICS rating for the feed.The maximum length is 500 characters.

The publication date of the content within the feed.For example,a daily morning newspaper publishes at a certain time early every morning.Technically, any information in the feed should not be displayed until after the publication date.

Few RSS readers take any notice of this element in this way.Nevertheless,it should be in the format outlined in RFC 822.This element is also demonstrated in Example 3-2.

The date and time,RFC 822 –style,that the feed last changed.

A URL that points to an explanation of the standard,for future reference.

skipDays and skipHours
A set of elements that can control when a feed user reads the feed.skipDays can contain up to seven day subelements:Monday,Tuesday,Wednesday,Thursday, Friday,Saturday,or Sunday.skipHours contains up to 24 hour subelements,the numbers 1 –24,representing the time in Greenwich Mean Time (GMT).The client should not retrieve the feed during any day or hour listed within these two elements.For example usage,see Example 3-2.

An element that gives RSS feeds the ability to display a small text box and Submit button and associate them with a CGI application.Many RSS parsers support this feature,and many sites use it to offer archive searching or email newsletter sign-ups, for example .textInput has four required subelements:

The label for the Submit button.It can have a maximum of 100 characters.

Text to explain what the textInput actually does.It can have a maximum of 500 characters.

The name of the text object that is passed to the CGI script.It can have a maximum of 20 characters.

The URL of the CGI script.It can have a maximum of 500 characters.

Customer Reviews

3.5 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See both customer reviews
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback
RSS is taking over the world - more and more sites are sporting the little orange 'XML' buttons which provide a simple way to keeping up with changes in your aggregator of choice. This book aims to explain the what and the how of RSS to bloggers, developers and programmers, particularly those who want to create their own feeds.
Although this is a thin book by O'Reilly and technical book standards, it's not light on content. Ben Hammersley rattles through the convoluted history of content syndication and RSS in particular, then delves into the standards and how they are used. There's also good coverage of how to create your own feeds, how to integrate other feeds into your site and other aspects of how the standards are used in practice.
This isn't a book for raw beginners - if you've never heard of XML before, you'll probably need to get up to speed with the basics at least - but it covers what you need to know about the subject in a clear but not overly-long way. It's also written in a pretty conversational style which lightens up what could have been a pretty dull text. Ben Hammersley writes for a wide variety of publications on a wide variety of more-and-less geeky subjects, so he's well-able to explain technical stuff to an unfamilar audience.
Two minor criticisms - all the code examples are in Perl, which although useful is somewhat restrictive; and the references to specific applications and services are likely to be quickly out
of date.
There are other books out there that cover similar ground along with other subjects, but this is a good introduction to RSS and content syndication specifically. It might not be something you'll refer to on a daily basis, but it's worth the purchase price nevertheless.
Comment 7 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
The first thing that strikes you about this book is how thin it is. At 208 pages including the index, it has to be one of the shortest books that O'Reilly produce. However, once you start reading the book it is well laid out and easy to read as avid O'Reilly readers come to expect. The examples are clear and all current RSS standards are covered and the topic is covered in well with no bias on the political situation which has surrounded RSS since its earliest days.
There is one major gripe that I do have about this book; the examples are solely in Perl and whilst this is a method that many people will use, it would have been nice to see examples in other languages such as Python and PHP.
Comment 7 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Helpful Customer Reviews on (beta) HASH(0x8e9beb74) out of 5 stars 7 reviews
12 of 14 people found the following review helpful
HASH(0x8eb4266c) out of 5 stars A Little Misleading 26 Sept. 2004
By Jase T. Wolfe - Published on
Format: Paperback Verified Purchase
For the most part, industry standard RSS is a very short list of simple XML elements. Standard RSS Readers only look for those standardized tags to create the display. You can verify that by opening almost any public RSS XML document and just looking at it. RSS is simple enough that you could probably pick it up by just looking at a well formed sample file and reading the short syntax document provided for free by the creators (UserLand Software for RSS 2.0 or the RSS-DEV Working Group for RSS 1.0 - has links to the documentation). After reading this title, I am a little confused as to whom target audience is supposed to be.

The first issue I had with the book is the coverage of versions. The author has chosen to write not only about the two current versions (1.0 and 2.0 - two companies, two separate tracks of standardized tags), but the preceding versions for each. I don't buy a Word 2003 book to learn about Word 6. The layout could serve as a reference guide for the tags when you're done, but again, the vendor provided syntax guides are easier to reference. Next, the author makes some assumptions that aren't publicized; you should be really (really) familiar with XML to understand many chapters in the book, and you should also develop in Perl (as there are numerous, lengthy Perl scripts used as demos). I've created many RSS Feeds for both company Intranets as well as Internet sites, and given the simplicity of RSS, I can tell you that you don't need either to create a feed on your own.

The back cover claims the book is a "step-by-step guide to implementation", but it really isn't. The author has written a very nice book on the general history and specs of standardized RSS, but then fills the remaining pages with a general syntax overview of other commonly used RSS XML namespaces (not really demo-ing them), ideas for extending RSS with your own XML namespaces (which is great, but really just produces a customized XML document that industry standard RSS reader's won't know what to do with) , and then transforming other site's RSS Feeds into your own conglomerated XHTML page with various Perl conversion scripts, SOAP tie-ins, etc.

For the percentage of people that already know RSS and are looking to really go into advanced manipulations - this is a great title and I recommend it. For everyone else who just want to quickly learn the very simple syntax, this is a misleading title and I would recommend saving your money and reading the vendor's free syntax guides, or talking a quick on-line course. You'll find RSS easy enough without this book.
16 of 20 people found the following review helpful
HASH(0x8ec30e7c) out of 5 stars didn't get me started at all! 3 May 2004
By A Customer - Published on
Format: Paperback
I was expecting this book to show me somewhere in the first hundred pages an example of how to create an RSS feed. Instead I got wayyyy too much history, and I couldn't find a "hello, world" example.
I grant that the history is important, and this book will probably fit in well to the cadre of books that emerge on RSS over the next year or two. However, this year, this isn't the book I needed.
10 of 12 people found the following review helpful
HASH(0x8e995b58) out of 5 stars Best PRINTED resource about the topic available today 26 Mar. 2004
By Manny Hernandez - Published on
Format: Paperback Verified Purchase
I must underscore the reason why I capitalized the word "PRINTED" in the title of this review. This is indeed the best book about the topic of RSS (RDF Site Summary), which has become increasingly more important since blogs jumped out of tech obscurity to become a mainstream form of web-enabled information dissemination. However, nowadays the topic is too dynamic (there's too much happening these days in the field of RSS) to make Hammersley's book a comprehensive and current enough resource for all matters and purposes.
As a general introductory reading, it's the best book out there. But once you get your feet deep enough in the RSS waters, you need to go online and search for the current APIs, Web Services, News Aggregators and RSS/Blog Directories, which is the area where the book will fall behind the fast growth of this area. Overall, very well structured, even with an appendix on the XML you need to know, in order to be able to deal with RSS.
4 of 4 people found the following review helpful
HASH(0x8e9b8744) out of 5 stars Covers all the bases in great depth 8 July 2003
By Mel Beckman - Published on
Format: Paperback
Ben Hammersley does a great job introducing the history of RSS and explaining all the aspects of using RSS for syndication producers and consumers. The book's technical descriptions are very clear, aided by the author's excellent use of diagrams to illustrate the organization of RSS data elements.
Another reviewer complained that Chapter 4's title including "RSS 2.0", while not discussing RSS 2.0 in the chapter's text. This was apparently an honest mistake that has no effect whatsoever on the book's presentation, as Chapter 8 is entirely devoted to RSS 2.0. I note that the Chapter 4 title is corrected in the Safari online edition of the book -- O'Reilly is really on top of updates!
The author includes an excellent appendix on XML basics; you can give this book to any web developer and get them up to speed on RSS without first making them XML experts.
Given the complexity of the topic, this is a top-notch book, easily worth five stars.
6 of 7 people found the following review helpful
HASH(0x8e9956fc) out of 5 stars Solid book, but not great 10 April 2003
By Patrick Eyler - Published on
Format: Paperback
This is a solid book, and worth having on your bookshelf. I was a bit suprised at it's relative thinness (178 pages less appendices), but it certainly contained a lot of information. I also found some minor problems with the book -- e.g., chapter 4 is titled RSS 0.91, 0.92, and 2.0 (Really Simple Syndication), but doesn't talk about RSS 2.0 at all.
Overall, It's a solid book with a few warts. I'll certainly get some use out of it, but I hope the second edition is a bit smoother.
Were these reviews helpful? Let us know