Template End does not work (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,640
    764
    Göteborg
    Home Country
    Sweden Sweden
    Here's the Template tag I use:
    Code:
          <Template name="default" start="&lt;!-- Program --&gt;" end="&lt;!-- Slut Content-tabell --&gt;">
    All programs are found between <!-- Program --> and <!-- Slut Content-tabell --> in the HTML source and when testing in WebEPG Designer it works. The code in the Source window is cut at the right place (see screenshot). Source code here: TV3 | 2009-01-29

    Now when trying the actual grab using WebEPG.exe I get errors after the last program on every page grabbed.
    Code:
    2009-01-16 21:40:38.373177 [Info.][WebEPG-xmltv]: WebEPG: Program starts in the past, ignoring it.
    2009-01-16 21:40:38.378060 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20090116210000 - Samantha
    TV4,22:40
    2009-01-16 21:40:38.416143 [Info.][WebEPG-xmltv]: Parsing error #START :                     Hem
                        Sport
                        Serier
                        Film                
    2009-01-16 21:40:38.419073 [Info.][WebEPG-xmltv]: Parsing error #START :

    "Hem, Sport, Serier, Film" does match the template BUT it comes after the ending tag <!-- Slut Content-tabell --> and shouldn't be included.
    Does anyone know why I get different results using WebEPG Designer and WebEPG.exe?
     

    Attachments

    • webepg designer OK.png
      webepg designer OK.png
      52.4 KB
    • testgrabber.xml
      30.6 KB

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,640
    764
    Göteborg
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #4
    Thanks Khurram, nice find. I'm no longer using it though since I changed to another template which doesn't match anything outside the start or end tags :)
    But still it would be nice if there could be a fix for future versions of WebEPG.
     

    Users who are viewing this thread

    Top Bottom