My first attempt at RSS

  effingpot 11:21 10 Mar 2006
Locked

Hi, I have started mucking around with RSS.

My site I'm trying to create feeds for is click here where I post funny videos. pictures, smilies etc. These are all organised reasonably logically into files called index-vids.shtml, index-smilies.shtml and so one.

My initial rss.xml file seems to work OK but I need to work out how I go about actually updating, so that (heaven forbid) shoudl anyone subscribe, they know when I add files.

Each update I replace the "today's favourites" list with a new bunch.

So .... should I write the rss file so that the item> sections refer to each updated file (there are about 10 per section - so 30-40 of them each update. Or is there a way to keep the item>s as the whole files as per my effort below. See what I mean?

And finally (dorry for all the questions) - when I put my little orange rss box on the site - do I simply link it to my rss file? or something else?

(click here)

?xml version="1.0" encoding="ISO-8859-1" ?>
rss version="2.0">
channel>
title>Friday Fun RSS Feed /title>
link>click here /link>
description>Favourite Funnies from around teh Web /description>

item>
title>Updated Videos /title>
link>click here /link>
description>12 new videos for your amusement /description>
/item>

item>
title>Updated Pictures /title>
link>click here /link>
description>Loads of new pictures /description>
/item>

item>
title>Updated Smilies /title>
link>click here /link>
description>Hundreds of smilies /description>
/item>

item>
title>Updated Downloads /title>
link>click here /link>
description>Check them out /description>
/item>

/channel>
/rss>

Thanks for any advice
Rgds
Mike

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

iMac Pro review

See iconic duo Smith and Foulkes' epic animation for the BBC's Winter Olympics coverage

iMac Pro review

Idées cadeaux pour geeks et tech addicts