Slashdot Mirror


RSS and Atom in Action

Simon P. Chappell writes "We've all seen them, those icons that decorate blogs and websites; sometimes they're just little orange squares with white stripes, while others say RSS or Atom. Many of us have heard of feeds and podcasts and aggregators. What are these things and where did they come from? Well, Dave Johnson, the author of the open source Roller blogging software, is glad you asked and by way of an answer, he's written RSS and Atom in Action." Read the rest of Simon's review. RSS and Atom in Action author Dave Johnson pages 368 (8 page index) publisher Manning rating 8 out of 10 reviewer Simon P. Chappell ISBN 1932394494 summary For blog applications, this book brings the right information at the right time.

This is a book for programmers that want to use blog technology rather than programmers that want to blog. A subtle difference perhaps, but it'll make the world of difference whether this book is useful for you. So if you want to be the next Paul Graham or Steve Yegge, pass over this book and concentrate on your copy of Strunk and White's The Elements of Style. For those of use who have a need for automated information distribution, where a blog or an aggregator or a podcast might make sense as the delivery channel, this book is the right information at the right time.

The book is organized in two parts. The first part is called "Programming the writable web". In it Mr. Johnson covers the "what" of blogging technologies. The first chapter covers the taxonomy of blogging terms and components. The second introduces us to the situations and characters that we'll be following through the rest of the book. Next we learn how to download, setup and run the example software available for the book. Chapter three takes us on a guided tour of the anatomy (Mr. Johnson's words) of blog and wiki servers and how to choose between them for your information distribution needs.

With all that level setting information out of the way, chapter four begins the process of rolling our sleeves up and getting geeky as we look at the RSS and Atom newsfeed formats. Now, we know what they are and what they look like, chapter five takes us through fetching and parsing those newsfeeds. Chapters six and seven show the use of the Windows RSS platform and the ROME newsfeeds utilities respectively. Chapter eight starts our journey to producing rather than just consuming newsfeeds. Chapters nine and ten then address publishing using XML-RPC based APIs and Atom.

Part two of the book addresses "Blog Apps", where a blog application seems to be fairly loosely defined as any application that interacts programmatically with a blog. The eleven chapters are fairly short, with part two totaling only about one third of the whole book. This works well, each chapter is very direct and doesn't waste any time getting into its subject matter. The subjects walk you through creating a group blog via aggregation, searching the blogsphere through services like Technorati, keeping your blog in sync, blogging by email, generating email digests, using a blog to report on software build processes, blogging chatroom conversations, distributing files as podcasts, how to automatically download podcasts, validating newsfeeds and then a whole wrap up chapter on interesting ideas that could be implemented using blog technologies.

When looking at things to like about this book, it doesn't hurt to have a forward written by Simon Phipps, the Chief Open Source Officer at Sun Microsystems and an endorsement from Tim Bray, co-creator of XML and Co-Chair of the IETF Atom Working Group. That got my attention.

The typography and layout of the book are up to the usual excellent standard of the "... in Action" series. Manning are to be commended for their dedication to enforcing the series style in their books, because a well-laid out and typeset book is a pleasure for the reader.

The examples in the book are written in a mix of Java and C#. This is interesting, because previously the majority of books have been dedicated to single platforms. Perhaps, this is a sign that the I.S. world is becoming more comfortable with the increasingly heterogeneous computing environments that we find ourselves surrounded by. Of course, it doesn't hurt that Java and C# share more similarities than differences, if I can say that without triggering visits from the attack lawyers at Sun or Microsoft.

Some of the lead-ins to the technologies use stories of folks at an imaginary company facing problems and overcoming them using blogging technology. You may find this a little too twee for your liking. I don't mind it, suspecting that it helps to give good context to the discussion, but you may not care for it.

Naturally, there is also the danger that the information may be outdated in a few years, but if you're in this industry that's just part of the package. I actually suspect that this book will be useful for quite a while, because while the activity of blogging is changing the world, the technologies behind it seem to be relatively stable at this time.

I like this book and I think that it brings the right information at the right time. If you want to work with blog technology, this book will give you a great deal of help. Now, get out there and publish!"

You can purchase RSS and Atom in Action from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

26 comments

  1. Update on the link by Anonymous Coward · · Score: -1, Troll

    The review links to B & N, but I notice that Amazon has it cheaper. One wonders why Slashdot keeps linking to a site that costs their readers more.

    1. Re:Update on the link by KingSkippus · · Score: 2, Informative

      And Bookpool.com (my preferred retailer of technical books) has it cheaper still. And look, it's yet another "it's cheaper on Amazon.com" post.

      Seriously, anyone who reads Slashdot knows that they link to B&N, period. As I recall, I think that Rob actually posted about that specific topic a couple a years ago. I don't remember why they do, unless it has to do with earning commission off of it for the referral (which they do, but Amazon.com offers a similar Associates program

      , and I don't know which pays more), but that's just the way it is, was, and since they haven't changes yet, probably will be for a long, long time.

      Meanwhile, don't worry, really. The Slashdot crowd is (in general) pretty smart, and we all know how to shop around for the best price.

    2. Re:Update on the link by Anonymous Coward · · Score: 3, Interesting

      Well, linkspammer. I see the 3636363-20 hidden in your link, how clever.

      (most amazon aff. id's end in -20)

    3. Re:Update on the link by tthomas48 · · Score: 2, Informative

      1-click checkout patent

    4. Re:Update on the link by Kijori · · Score: 1

      I'd guess Amazon pays more, since no-one ever follows the B&N link - there's always a cheaper link as a first post.

  2. LOL KOREAGOOKS DID 10/11 by Anonymous Coward · · Score: -1, Offtopic

    As some of you are aware, America's freedom is again under attack... Like me, you probably ask yourself... Who would do a horrid thing such as this? Let's all calm down, keep from speculating and stick to the cold, hard facts:

    1. This terrorist attack happened exactly 1 month after the 5th anniversary of 9/11.
    2. There is NO helicopter debris to be found anywhere near the site of impact. Look at the CNN footage of the buildiung. I SEE ONLY ONE WINDOW WITH FIRE IN IT and a MINISCULE hole next to it. Look at your nearest window. Would a helicopter fit in there? Looks more like a MISSILE HOLE to me...
    3. North Korea performed nuclear MISSILE tests just the other day. Coincidence? You be the judge...
    4. The condominium that was attacked by the North Korean terrorists housed many apartments that "sell for more than $1 million", making this a prime target to attack the Jewish population of America... As is well known, North Korea hates jews, Israel, and freedom...

    So in conclusion: lol kim jong il did 10/11

    1. Re:LOL KOREAGOOKS DID 10/11 by x2A · · Score: -1, Offtopic

      America - free?
      N.Korea's nuclear test - there was a MISSILE involved??
      You - know what you're talking about???

      (sorry all of those "don't feed the troll" types, but damn the main article is boring... someone managed a whole book about rss feeds?)

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    2. Re:LOL KOREAGOOKS DID 10/11 by everphilski · · Score: -1, Offtopic

      this is what he's talking about. And it looks like a fixed wing, not rotary wing crash. Speculation will be held until further data is revealed.

    3. Re:LOL KOREAGOOKS DID 10/11 by x2A · · Score: -1, Offtopic

      That doesn't make america free, or n.korea's nuclear bomb test a missile test.

      Also, please tell me that's just what came up top when you searched for a quick link to the story, and that you don't actually get your information on what's going on in america/the world from fox news?

      And finally, there's no [foxnews.com] after your link... what happened to those? I'm sure I didn't turn that off... hmm, time to hunt through the preferences pages.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    4. Re:LOL KOREAGOOKS DID 10/11 by bendodge · · Score: 0, Offtopic

      Ahem. The airport's tracking data proves that is was a small fixed-wing aircraft registered to the NY Yankees that crashed into the building.

      --
      The government can't save you.
    5. Re:LOL KOREAGOOKS DID 10/11 by Anonymous Coward · · Score: 0

      YHBT

      Fucking panty waste trying to cover up the truth. Go back to drinking your republician pee and masturbating to your arian porn.

    6. Re:LOL KOREAGOOKS DID 10/11 by x2A · · Score: 1

      who, fox news?

      --
      The revolution will not be televised... but it will have a page on Wikipedia
  3. I like this book by 2.7182 · · Score: 1

    My only gripe is the binding. The whole thing fell apart in about a month of normal use.

    1. Re:I like this book by ManRon · · Score: 1

      I work with Manning. Good to hear you liked to book, but noticed your comment about the bad binding. Very sorry about that! Please send me your shipping info so that I can get another copy sent to you - rotoatmanning.com. Printers can make mistakes, but in our experience it is rare when one of our books doesn't hold up well, so we'd really like to determine what the problem was with that binding, If you wouldn't mind we'd very much appreciate it if you'd send us the defective copy so that we can analyze what went wrong.

  4. Huh. by Anonymous Coward · · Score: 0
    The examples in the book are written in a mix of Java and C#.

    Two of the worst programming languages in the world right there.

  5. Bgnaa by Anonymous Coward · · Score: -1, Offtopic
  6. RSS and Atom Security by mrkitty · · Score: 2, Informative
    --
    Believe me, if I started murdering people, there would be none of you left.
  7. Interesting uses for RSS/Atom by esconsult1 · · Score: 3, Informative

    Besides the whole blogging thing, we've used RSS feeds for product data transfer, and on our question/answer site http://www.funadvice.com, members can use RSS to see when they get replies to their questions.

    We've used RSS as a means to distribute various kinds of reports, server log summaries, and a host of other things. Its great using something like NetNewsWire and in the morning seeing the latest backup record out of the servers, just a well as new posts on the site. We've written Ruby scripts to generate RSS files showing traffic over the course of the day and other goodies.

    I think RSS & Atom has been pigeon-holed to a certain extent.

    1. Re:Interesting uses for RSS/Atom by cbelle13013 · · Score: 0

      I think RSS & Atom has been pigeon-holed to a certain extent.

      I 100% agree.

      I tried using it a couple years ago to aggregate all the news possible about Eminent Domain (I work in a ED law firm). None of the programs worked that well and it didn't actually download messages. You also had to manually go out and check new feeds. Maybe there is something better today that will capture and store online news, but I haven't found one (haven't looked that hard either).

      RSS is going to be a stepping stone for the Next Big Thing. Like digital paper that automatically changes stories as the day goes on.

  8. Save $13.58! by Anonymous Coward · · Score: -1, Redundant

    Save yourself $13.58 by buying the book here: RSS and Atom in Action. And if you use the "secret" A9.com discount, you can save an extra 1.57%!

  9. Where's GeoRSS?! by Lord+Satri · · Score: 0

    The future of RSS is in GeoRSS and the Sensor Web. For an unknown reason to me, /. never had a story specifically on GeoRSS. Here's some stories taken from my sig's website...

    First, the after years of work, the GeoRSS version 1.0 was released recently. Then you can read this excellent article on GeoRSS. Everybody is jumping on the GeoRSS bandwagon, even Microsoft and the huge blogging world.

  10. Good review by cheese-cube · · Score: 1
    Many of us have heard of feeds and podcasts and aggregators. What are these things and where did they come from?
    With this being Slashdot I find that line to be rather condescending. Regardless this is a good review but when it comes to 'web technologies' I'd rather get my information from the source: the internet. As Chappell (The reviewer not the comedian) said, "there is also the danger that the information may be outdated in a few years."

    Going a tad off topic here but I'd just like to make an observation with regards to the number of comments on this article. I have noticed that book reviews usually don't receive as much attention as other news items. While I don't like to prognosticate perhaps it's a sign of the end of print.
    1. Re:Good review by tehcyder · · Score: 1
      I have noticed that book reviews usually don't receive as much attention as other news items. While I don't like to prognosticate perhaps it's a sign of the end of print.
      I think it's more the fact that most /. book "reviews" are of little use, generally amounting to not much more than a regurgitating of the contents page, with a couple of jokes and a concluding "I liked it, now go out and buy it."
      --
      To have a right to do a thing is not at all the same as to be right in doing it
  11. Nothing to See here by swordfish666 · · Score: 2, Interesting

    This book has very little to offer in the way of helping .NET or Java Developers. The first section goes over how blogs work and different ways blogs can be used in a business. It's like he wrote this so you could then show it to your boss to convince him to let you department using blogs internally. This is a book for using ROME, Blogging Roller and the new Windows RSS Platform. There are better .NET code examples at codeproject.com. The code in the book is tries to explain how to build a full syndication system that can push either RSS or Atom but instead of sticking to the subject of blogging the example code is trying to build a file syndication manager based on a files from the file system instead of data from a databse where most syndicated content comes from. This book also spends a chapter promoting the value of the Technorati API but gives few (if any as I recall) exampls of actually using it. This book fails just like "Beginning RSS and Atom" from Wrox because it focuses more on current tools then on theroy and pratical advide. Since the author choose to focus on the Windows RSS Platform (IE7? or Vista) he misses the current audince using .NET 1 & 2.

    --
    I like-a do-the cha-cha.
  12. Paranoia by R3d+M3rcury · · Score: 1
    What are these things and where did they come from?
    ...and what are they doing in my icebox?!
    1. Re:Paranoia by Rob+T+Firefly · · Score: 1
      ...and what are they doing in my icebox?!
      They aren't called "feeds" for nothing.