Link to home
Start Free TrialLog in
Avatar of TuscolaCounty
TuscolaCounty

asked on

rss xml help

I am looking for an app or script to read a text file and grab data, then produce an xml rss feed document out of it.
Any idea's out there?
ASKER CERTIFIED SOLUTION
Avatar of mrwebdev
mrwebdev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mrwebdev
mrwebdev

PS:  Replacing the Yahoo

[ http://rss.news.yahoo.com/rss/arts ] with whatever you want to display!

Avatar of TuscolaCounty

ASKER

I should have been more specific, I use a Linux server, php/mysql
I do not need to grab xml from existing files, I need to create an rss feed from the contents of my product catalog.
the catalog is pipe delimited.
gotcha...  sorry ..  good lcuk!
Thanks anyway
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't need any java apps built, just a php script to extract secified or even random data from a txt file and merge with a template and save as a .xml file.
Thanks anyway for offering.
There is a program called pad importer that is available at the asp 9association of shareware professionals) that does this, but it takes xml and an html template and merges them into an html file. Kinda backwards from what i need.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes, i suppose it would help if i was a little more clear about what i have and what i need.
Ok, here is one of the files we get from one of our affiliate stores.
http://www.bargainmonkey.com/temp/10273740-SitStay_com.txt
It is pipe delimited as are the rest of them. there are about 35 files total each week. Some are as big as 150MB, this one is only 5kb
I have created a sample rss feed here
http://www.bargainmonkey.com/temp/rss.xml
Open in an rss reader or rss enabled browser like Avant.
If you open the xml file in notepad you can see that the link, description and title of each entry goes between the <item> </item> tags, so I guess i need to randomly grab these 3 bits of info from the product catalogs and put them in this xml format.
Sorry i'm not a coder to explain better, i do appreciate the help.
Found a way to create this script in perl, thanks anyway all of you.
No Problem, glad you got it working!

Good luck with it, take care!