OS2 World.Com Forum
2012.05.24, 20:31:35 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: RSS new feeds. How to create on eCS platforms...  (Read 2350 times)
NNYITGuy
Jr. Member
**
Posts: 91

IT Consultant - eCS & W32 Solutions for Businesses


View Profile
« on: 2008.04.03, 18:12:53 »

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
Logged

Todd J Simpson (IT Consultant)
Business Automation Technologies
(Professional Products and Services.  Business to Business...)
warpcafe
Global Moderator
Hero Member
*****
Posts: 746


Failure is not an option.


View Profile
« Reply #1 on: 2008.04.03, 19:33:09 »

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
« Last Edit: 2008.04.03, 19:46:44 by warpcafe » Logged

"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
kimhav
Global Moderator
Hero Member
*****
Posts: 989



View Profile WWW
« Reply #2 on: 2008.04.04, 11:56:18 »

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.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!