• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

RSS new feeds. How to create on eCS platforms...

Started by NNYITGuy, 2008.04.03, 18:12:53

Previous topic - Next topic

NNYITGuy

Hi,

What do I need to created RSS news feeds on eCS based systems.  I have Apache / MySQL / PHP installed.  What are my next steps... Is there a tutorial someplace?

Thank you,
Todd Simpson aka NNYITguy
Todd J Simpson (IT Consultant)
Business Automation Technologies
(Professional Products and Services.  Business to Business...)

warpcafe

#1
Hi Todd,

I did a lookup on the internet, perhaps this site can help:

http://www.xul.fr/en-xml-rss.html

It says:
Quote
How to publish news in an RSS feed?
There are several means to generate RSS feeds.
    * Using the RSS library of PHP. A PHP script will build the XML file from titles and descriptions of pages from the content of a page.
    * Use a specialized tool to extract the data from a page.

At the bottom, it has links to tools / scripts.

And - as it talks about "RSS library of PHP" - check at http://www.php.net if there is some info, perhaps they also have samples available?
Next suggestion: Isn't a RSS feed nothing else but an XML file? (Note well: I have no clue about PHP, but...) could it be realized by using PHP's XMLWriter extension? http://www.php.net/manual/en/ref.xmlwriter.php

HTH
Thomas
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

kim

Well, there are several script available; on one site I'm using perl scripts from Geck Tribe the both gather data and create RSS-feeds. Works rock solid and great. They've made the scripts available in both free and licenses version. But, the free version should do the trick for you.

If you check www.haverblad.se you can see that I have under the Blog page collected and re-created and as well altered the original RSS-data to my needs (removing author and adding image based link) and as well added the possibility of subscribing on RSS-data from a non RSS-based site :-) Best of all you don't need to run any cron jobs; the scripts checks the cached data and when it's old enough it re-generates the data and content on the pages.