Producing an external feed

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Toneboy
Forum Contributor
Posts: 102
Joined: Wed Jul 31, 2002 5:59 am
Location: Law, Scotland.
Contact:

Producing an external feed

Post by Toneboy »

Some very nice friends of mine have offered to put a feed with links to my news pages on their sites. The only thing is I need to produce the feed!

Anyway, I was just wondering what the pros and cons are of various methods. Here are my initial thoughts:

RSS: Works well with newsreaders, not so sure about websites. I've checked around a bit and it seems as if you need tons of code to make it work on a webpage - have I got this right? If this is correct I'll probably avoid it as I would like to make it as easy as possible for the end-user to implement.

Javascript: Have to admit I've only thought of this as I've got a javascript feed from cpfc.org. Just appears to be parsing appropriate items from the MySql database into the .js file. Am I right in thinking that javascript is quite slow though?

PHP: Not one I've seen mentioned, but could you set up a file and either, 1) Get other people to call it as an include, or 2) Get them to put in their page using an iframe (or similar).

Am open to other suggestions of course. Right now I'm going to vanish and hope I haven't sparked another 50-post battle. :)
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

well...

RSS is a news xml standard, javascript is a client side programming lang, and php is a server side programming lang... so you can generate rss with javascript..

i sugest you to generate rss with php and make a reader in php.
Post Reply