Skip to main content

There's a handy trick you can use to put real-time RSS news feeds on your blog on pretty much any keyword you can think of. I've got this technique running at Dean Nation for feeds on Hillary Clinton, Barack Obama, and Howard Dean. I'll show you how to do it yourself below the fold...

First, decide what keywords you want to search on. You can create a custom RSS news feed from Yahoo by using Jeremy Zawodny's RSS URL generator tool. For example, the feed for Howard Dean is:

Next, go to"> and paste that RSS URL into their generator. You can specify parameters such as number of stories, characters in the description, etc (I use 175 chars in my demos). After you're done choosing your params, it will generate the HTML and javascript code for you automatically.

Finally, paste the javascrippt code into your blog template. This is agnostic regarding whether you are on Livejournal, Blogger, or a MT variant. You can specify CSS class definitions for greater control over look and feel. Take a look at teh View Source on Dean Nation for how I did this if you want an example.

One last note - provide a link for your readers to so that in case any of the articles are registration-only, they can still access the content (all Washington Post articles, for example).

This is really an effective technique and will give you dynamic content in the form of updated news headlines, plus descriptions if you choose, on your blog. It even works with other blogs as well - in fact, you can add ANY RSS feed to your blog, not just from Yahoo. RSS to Javascript is a handy tool but I think used in conjunction with Yahoo's RSS-friendliness its usefulness is maximized.

Hope this is helpful - please share any RSS tricks or tips you have in the comments. I'll try to post another diary later this week about using tags and Flikr to categorize your content even if your blog doesn't support categories (such as all blogger blogs), and to enhance your categories if your blog does support them. I need to actually implement it on Dean Nation, of course, before I can write about it :)

and, if you want to keep abreast of the latest Dean, Obama, or Hillary 2008 news headlines, Dean Nation is now your one-shot stop  :)

Originally posted to Aziz Poonawalla's Amazing Dkos Diary on Tue Jan 18, 2005 at 12:57 PM PST.

Your Email has been sent.
You must add at least one tag to this diary before publishing it.

Add keywords that describe this diary. Separate multiple keywords with commas.
Tagging tips - Search For Tags - Browse For Tags


More Tagging tips:

A tag is a way to search for this diary. If someone is searching for "Barack Obama," is this a diary they'd be trying to find?

Use a person's full name, without any title. Senator Obama may become President Obama, and Michelle Obama might run for office.

If your diary covers an election or elected official, use election tags, which are generally the state abbreviation followed by the office. CA-01 is the first district House seat. CA-Sen covers both senate races. NY-GOV covers the New York governor's race.

Tags do not compound: that is, "education reform" is a completely different tag from "education". A tag like "reform" alone is probably not meaningful.

Consider if one or more of these tags fits your diary: Civil Rights, Community, Congress, Culture, Economy, Education, Elections, Energy, Environment, Health Care, International, Labor, Law, Media, Meta, National Security, Science, Transportation, or White House. If your diary is specific to a state, consider adding the state (California, Texas, etc). Keep in mind, though, that there are many wonderful and important diaries that don't fit in any of these tags. Don't worry if yours doesn't.

You can add a private note to this diary when hotlisting it:
Are you sure you want to remove this diary from your hotlist?
Are you sure you want to remove your recommendation? You can only recommend a diary once, so you will not be able to re-recommend it afterwards.
Rescue this diary, and add a note:
Are you sure you want to remove this diary from Rescue?
Choose where to republish this diary. The diary will be added to the queue for that group. Publish it from the queue to make it appear.

You must be a member of a group to use this feature.

Add a quick update to your diary without changing the diary itself:
Are you sure you want to remove this diary?
(The diary will be removed from the site and returned to your drafts for further editing.)
(The diary will be removed.)
Are you sure you want to save these changes to the published diary?

Comment Preferences

Subscribe or Donate to support Daily Kos.

Click here for the mobile view of the site