Convert Rss feeds to csv files
I need a piece of script that will take ebay rss feeds based on keyword and convert them too a 2 column csv file.
All the feeds are in the same format, so should be quite simple.
THe script will need to work with multiple feeds, converting one at a time and returning a csv file for each..
Here is an example of the feed
[login to view URL];siteId=0&language=en-US&output=RSS20&catref=C5&sacqy=&sacur=0&fsop=2&fsoo=2&from=R6&saobfmts=exsif&sacqyop=ge&saslc=0&floc=1&sabfmts=0&saprclo=&saprchi=&saaff=afcj&ftrv=1&ftrt=1&fcl=3&afcj=2372706&nojspr=y&frpp=1000&satitle=nintendo+wii&sacat=-1&saslop=1&afmp=&fss=0
How i would like the script to work.....
I would like to be able to enter a list of keywords into a form, and the script will replace the keyword in the rss feed (nintendo+wii in the example above), pull the feed, take the title & link information from the feed and return the results to a 2 column comma delimited csv in the format
title,link
Then the script moves onto the next keyword and does the same.
I also need the script to clean the title column of the csv for any bad characters, these will be specified in a txt file..