• Home
  • Flailing Wildly
  • Résumé
  • Design
  • Code
  • Wishlist
  • About Me

Flailing Wildly
Too much straw, not enough camel.

Tweaking My RSS/Atom Feed Reader

by Ryan Parman • February 11, 2004 • Code, Syndication, Technology, Website • No comments

I spent about five hours last night playing with my RSS Reader. I think I’m beginning to get the hang of some of this PHP stuff. Anyways, I’ve made some tweaks here and there to make iot a bit more friendly.

The first thing I did was make it more error-friendly. If someone mistypes a feed URL, instead of seeing nonsense errors that have no value to the user, you get a simple error page that suggests that there was a problem with the feed, and to try a new feed URL.

The next thing I did was allow the user to skip the http:// protocol as long as there was a www. at the beginning of it. If the URL doesn’t have a www., then the http:// is required.

I also added support for the feed:// protocol. I did two things with this. Since the protocol is the same as http:// anyways (it’s designed to help feed readers subscribe a feed), I have the RSS Reader strip out the feed://, and replace it with http:// so that Magpie can parse it. The other thing I did was add an option to subscribe to a particular feed on that feed’s page (i.e. Zeldman). This should be fairly convenient.

Another thing that I’ve made an attempt to support is auto-detection of RSS feeds. Sites that have something along the lines of this:

<link rel="alternate" type="application/rss+xml" »
	title="RSS" href="/rss/skyzyx.xml" />

It seems to work for some sites, but not for others. I’m still working on why the inconsistency exists, but I plan to have it worked out as soon as I get around to it. Some examples of sites that auto-detect are: The Daily Report, StopDesign, and Simon Willison. Some examples that don’t work are Superfluous Banter, Whitespace, and my own Skyzyx.com.

I’ve modified the user-agent string. To find out what it will return on your sites, load a valid feed, then check the source. I’ve noted it in the comments. Anyways, I hope that this tool is useful to someone.

Speaking of, what do you think about online RSS/Atom readers? Are they better or worse than desktop applications? What are some pros or cons of each?

Ryan Parman

Ryan Parman is an entrepreneur, open source evangelist and passionate usability advocate currently living in Seattle. He is the founder and visionary behind SimplePie and CloudFusion, co-founder of WarpShare, member of the RSS Advisory Board, and creator of the AWS SDK for PHP. Ryan's aptly-named blog, Flailing Wildly, is where he writes about ideas longer than 140 characters.

« Blocking Spambots
RSS/Atom Feed Changes »

Comments for this post are now closed.

Blog search

Archives
  • 2012 (4)
  • 2011 (27)
  • 2010 (9)
  • 2009 (7)
  • 2008 (12)
  • 2007 (8)
  • 2006 (18)
  • 2005 (57)
  • 2004 (104)
  • 2003 (103)
Categories
  • Apple (49)
  • Browsers (56)
  • Clueless Recruiters (5)
  • Code (58)
  • Community (1)
  • Creating Websites (31)
  • Culture (2)
  • Design (5)
  • Digital Media (6)
  • Family Life (12)
  • Just for Fun (26)
  • Law (1)
  • Life Lessons (2)
  • Music (5)
  • Notable Quotes (1)
  • Personal (34)
  • Political (14)
  • Projects (47)
  • Software (63)
  • Syndication (28)
  • Technology (81)
  • The Hiring Process (1)
  • Tutorials (8)
  • TV and Movies (16)
  • Video Games (5)
  • Website (62)
  • Work and Business (7)
  • Writing (4)
Socially-aware

Twitter • Facebook • YouTube • Yelp! • Flickr • Instagram • Zerply • LinkedIn • Last.fm • Spotify • Rdio • Pinboard • gdgt

Claim to fame
  • Amazon Web Services
  • WarpShare
  • CloudFusion
  • SimplePie
Legal mumbo-jumbo

All ideas, opinions and comments I post are my own and are in no way affiliated with anybody I work with. If you quote and/or reprint something I've written or said, please direct folks back to this site as a form of attribution. I promise I'll do the same for you. Unless otherwise noted, all content on this site is copyright © 1979–2011 Ryan Parman.

Powered by Rocket Sauce. A Ryan Parman production.