Page 1 of 1

Producing an external feed

Posted: Wed Feb 11, 2004 9:50 am
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. :)

Posted: Mon Feb 16, 2004 12:58 pm
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.