RSS Implementation Help
December 29, 2005 2:30 PM   Subscribe

Basic RSS question-- I'm trying to add RSS to my site, and since I'm teaching this to myself, I'm confused.

I tried to use this template--
I don't understand about the 15 separate items. My blog has more than 15 posts. Do I update the RSS template instead of posting straight from blogger?
posted by madmath to Computers & Internet (10 answers total)
The items are for each individual show name and description so if you have 15 posts you need to fill out 15 of the "items" on the form.
posted by captainscared at 2:44 PM on December 29, 2005

Response by poster: But my blog has more than 15 posts, close to 1000.
posted by madmath at 2:44 PM on December 29, 2005

RSS and Atom feeds are usually automatically generated. What weblog engine is your site using, if any? Blogger? Blogger's documentation describes how to enable generation of an Atom feed. (Atom is a syndication format similar to RSS, but it's better specified and is an Internet standard.)

Your RSS feed doesn't need to contain every blog entry you've made. It's for notification of new entries, not accessing your archives.
posted by bpt at 2:45 PM on December 29, 2005

Most people use the feed for the last ten or so most recent posts. After that you overwhelm your audience and if they really like you they know to go to your page for earlier posts.
posted by captainscared at 2:46 PM on December 29, 2005

Response by poster: So when I make a new post, I go to the template I posted rather than Sorry, this is probably so basic.
posted by madmath at 2:47 PM on December 29, 2005

Blogger already supports an alternative syndication format called Atom. Here's Blogger's help section on syndication.

You probably don't need to generate an RSS feed in addition to an Atom feed, and you are probably generating the Atom feed automatically.

Feeds usually do not contain all the posts in your blog, and usually are generated automatically by the blogging tool. That script that you linked to might be useful for generating a one-off RSS file (especially as a demo of what an RSS file should look like), but would be a PITA for regularly updated sites.
posted by adamrice at 2:47 PM on December 29, 2005

You should probably use one or the other. If Blogger generates atom feeds, I'd do that as it does so automatically. I think the more importaant issue is to make sure you know where you are "pinging" to notify directories that you have updated.
posted by captainscared at 2:50 PM on December 29, 2005

I write my own RSS feed for a site I update on my own, without using Blogger or Movable Type or Wordpress. Any major blogging tool will do either an RSS feed or an Atom feed and if you have either one, you should consider yourself set. Here are the steps I take making my own RSS feed

1. write blog post
2. go to rss feed file. remove the oldest post from the bottom and add my newest post to the top
3. escape the HTML characters from inside the <description> tags, basically replacing the angle brackets with the HTML code for those characters
4. upload the RSS feed to my web space
5. check it with feed validdator
6. use pingomatic to tell sites like technorati and feedster that my content has changed

I update like once or twice a week so this isn't that hard and I have a bunch of macros to do most of it. You can see what my hand-generated RSS feed looks like here, if it's helpful. RSS is more forward-looking than retrospective, so most people have between 10-25 posts in it. To get to older sites people will just go to your web page and/or archives.
posted by jessamyn at 3:04 PM on December 29, 2005

It appears to me that you aren't understanding the exact purpose of RSS. Dave Shea does a very good idea of exactly how it works.
posted by charmston at 10:05 PM on December 29, 2005

Your RSS/Atom feed should contain your most recent 15-ish posts, and ideally, should update automatically. If you're using Blogger, just use the automatic Atom generator.
posted by cillit bang at 5:50 AM on December 30, 2005

« Older It's the gym cops, man! They're after me!   |   a nice place for wardrobe Newer »
This thread is closed to new comments.