In the quest to create a selectable program guide I have searched for a free xml file that provides programming data. I have found one I have been successful (with help from EnTerr) in parsing and populating my grid on a canvas. The problem is that the data seems limited. I have come across a site that provides data and a command line utility called zap2xml that lets the user pass switches and parameters to download an xml file that has all the data in the world. My question is, does anybody know if it's possible to use urlTransfer and pass the needed parameters to get the file to parse? I know I can curl the site but not sure how to pass the switches and parameters. For example
Using the command line zap2xml you would enter
zap2xml -Z 22222 -d 2 -U -Y USA-DITV-DEFAULT -o "MYGUIDE.XML"
Z= zip code
-d= duration or number of days to retrieve
-Y= users default channel line (on website user picks Direct, Dish or other providers depending on location)
-o= output file in xml format
Using curl I am only able to enter zip code and lineup
curl -o test2
http://www.zap2it.com/tvlistings/city?z ... 60-DEFAULTThe return of the curl is in html, not xml which makes it difficult to extract the data.