NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 15 16 17 18 19 … 93 Next »
zap2xml - a free zap2it scraper

 
  • 0 Vote(s) - 0 Average
zap2xml - a free zap2it scraper
tony1234
Offline

Junior Member

Posts: 31
Threads: 1
Joined: Dec 2006
#11
2007-08-25, 05:55 PM
jdg Wrote:In what field? In title/subtitle/desc those are converted to "é,ê"

In both title & desc.

let's say I've something like this in my xmltv.xml
..
<title lang="en">Enqu&ecirc;te d'aventure</title>
<desc lang="en">Exploration sur les motivations qui poussent les aventuriers &agrave; se d&eacute;passer.</desc>
..

If I replace with the proper accents like:
...
<title lang="en">Enquête d'aventure</title>
<desc lang="en">Exploration sur les motivations qui poussent les aventuriers à se dépasser.</desc>
...

and update the EPG, everything is fine.

MSN_XMLTV_scraper.exe is outputting the accents in the xml.

Maybe they should be escaped instead of being converted to HTML or simply left as is.

thanks.

marc
tony1234
Offline

Junior Member

Posts: 31
Threads: 1
Joined: Dec 2006
#12
2007-08-25, 06:44 PM
I've installed ActivePerl and removed encode_entities() from from zap2xml.pl
The accents are showing up fine now.
jdg
Offline

Member

Posts: 57
Threads: 4
Joined: Aug 2007
#13
2007-08-25, 08:21 PM
tony1234 Wrote:I've installed ActivePerl and removed encode_entities() from from zap2xml.pl
The accents are showing up fine now.

Ok, I guess whatever is reading your .xml isn't able to convert them back.

zap2xml now has command line "-e" option to convert these characters. By default it doesn't convert them anymore..
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#14
2007-08-26, 05:12 AM (This post was last modified: 2007-08-26, 05:15 AM by ZaDDaZ.)
jdg Wrote:In what field? In title/subtitle/desc those are converted to "&eacute;,&ecirc;"

Those entities are only valid for HTML, not standard XML.

http://en.wikipedia.org/wiki/List_of_XML...references

Just ran across this in my work and the company I was working with was insisting these were valid and couldn't understand that were doing just XML. If the encoding you are using for the file does not support certain characters, say ANSI encoding and attempting to put in character code 260, you have to use &#260; or create an entity reference in the beginning of the XML document for this character.
kwong26
Offline

Junior Member

Posts: 32
Threads: 3
Joined: Jul 2007
#15
2007-09-01, 01:11 AM
anyone using this scraper find that with this scraper feeding the EPG through the XMLTV plugin that scheduling was off? Before using this plugin, I was able to make back to back recordings of shows on different channels or even the same channel. When i used this scraper to get the XML file, I couldn't seem to get GBPVR to record shows one after another.

Here's my other post where I discussed this before I figured out it was the actual program which feeds the EPG that seems to be causing my problem. Without using this scraper, all's well in recording land.

http://forums.nextpvr.com/showthread.php?t=29045
Antec Fusion Black / ASUS M2NPV-VM Integrated NVidia GeForce 6150 / AMD Athlon 64 X2 5000+ / 3GB DDR2 PC2-6400 / 320GB HD / Hauppauge HVR-1600 w/ IR Blaster / Logitech Harmony 880 Remote

Antec NSK1300 / ASUS M2NPV-VM Integrated NVidia GeForce 6150 / AMD Athlon 64 3500+ / 2GB DDR2 PC2-6400 / 260GB HD / 2 x Hauppauge HVR-1600 w/ IR Blaster
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#16
2007-09-01, 01:21 AM
kwong26 Wrote:anyone using this scraper find that with this scraper feeding the EPG through the XMLTV plugin that scheduling was off? Before using this plugin, I was able to make back to back recordings of shows on different channels or even the same channel. When i used this scraper to get the XML file, I couldn't seem to get GBPVR to record shows one after another.

Here's my other post where I discussed this before I figured out it was the actual program which feeds the EPG that seems to be causing my problem. Without using this scraper, all's well in recording land.

http://forums.nextpvr.com/showthread.php?t=29045
This makes me think its handling the time wrong here.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
jdg
Offline

Member

Posts: 57
Threads: 4
Joined: Aug 2007
#17
2007-09-01, 02:18 PM
Perhaps you can point out the important difference in the .xml files? Probably easy to fix.
kwong26
Offline

Junior Member

Posts: 32
Threads: 3
Joined: Jul 2007
#18
2007-09-02, 02:27 AM
jdg Wrote:Perhaps you can point out the important difference in the .xml files? Probably easy to fix.

I wish I could, but I'm not exactly sure what the difference is between the two. The only noticeable difference that I noticed was that MSN_XMLTV_Scraper had the timezone set to +0000, and ZAP2XML had the timezone set to -0400. Apart from that, I couldn't really figure out what exactly was different. I know that file size was different only because yours had more details than the other one.

I'm just trying to figure out whether anyone else has noticed any type of scheduling issues when they used ZAP2XML. Does your HTPC work when you schedule two shows back to back on one capture card? I only have one tuner since it's connected to a STB.
Antec Fusion Black / ASUS M2NPV-VM Integrated NVidia GeForce 6150 / AMD Athlon 64 X2 5000+ / 3GB DDR2 PC2-6400 / 320GB HD / Hauppauge HVR-1600 w/ IR Blaster / Logitech Harmony 880 Remote

Antec NSK1300 / ASUS M2NPV-VM Integrated NVidia GeForce 6150 / AMD Athlon 64 3500+ / 2GB DDR2 PC2-6400 / 260GB HD / 2 x Hauppauge HVR-1600 w/ IR Blaster
jdg
Offline

Member

Posts: 57
Threads: 4
Joined: Aug 2007
#19
2007-09-02, 10:49 PM
kwong26 Wrote:I wish I could, but I'm not exactly sure what the difference is between the two. The only noticeable difference that I noticed was that MSN_XMLTV_Scraper had the timezone set to +0000, and ZAP2XML had the timezone set to -0400. Apart from that, I couldn't really figure out what exactly was different. I know that file size was different only because yours had more details than the other one.

I'm just trying to figure out whether anyone else has noticed any type of scheduling issues when they used ZAP2XML. Does your HTPC work when you schedule two shows back to back on one capture card? I only have one tuner since it's connected to a STB.

-0400 just means you are on the east cost and the time has been adjusted. The start/stop time output looks exactly the same as the original XMLTV tv_grab_na_dd script so I don't know what the problem could be.

Maybe someone else can answer the two-shows-back-to-back question; I don't have experience with that ( not using the data for gbpvr at the moment )
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#20
2007-09-05, 03:19 PM
nevermind...I finally figured that the last step is to actually "update epg" from the taskbar icon, so everything seems to work good!
A few more steps involved, but I'll figure out how to automate it a little more as I go along.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (20): « Previous 1 2 3 4 5 … 20 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Free XMLTV EPG scraper dneprrider 214 101,288 2010-03-29, 04:54 AM
Last Post: dljones8053
  xmltv zap2it & msn scraper merge tvshowman 2 1,930 2007-12-12, 03:48 AM
Last Post: tvshowman
  Thanks to all the Scraper Developers obiwan 1 1,510 2007-09-18, 01:43 AM
Last Post: whurlston
  Quick plug for the FREE Gimp Digital712 2 2,180 2006-08-05, 04:49 AM
Last Post: reven
  Free code librarys? McBainUK 7 3,405 2006-05-19, 04:52 PM
Last Post: acheyne
  Free eBook on how SharpDevelop was written gruskada 0 1,246 2006-02-04, 02:07 PM
Last Post: gruskada
  Extra Zap2It Meta Data jorm 18 6,814 2005-03-15, 03:45 PM
Last Post: sub
  free icons for skins. reven 0 1,896 2004-12-31, 05:32 AM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode