Format of <#DAY>, how to respect <b> in template (1 Viewer)

rsbrux

Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,215
    176
    Home Country
    Switzerland Switzerland
    I am trying to fix some broken grabbers, but have problems with two points:
    From the description in the Wiki, it is not clear to me whether WebEPG wants <#DAY> as day of the week or date in month.
    Presuming it's the date in the month, http://www.fernsehen.ch/ has day, date and time in the same TD, and I need to spring over <BR> tags enclosing the day of the week to find the needed data. How can I do this? I don't see anything in the TAGS argument for WebEPG templates to support this.
    P.S. Even though it isn't listed on the Wiki page, BR tags are supported in the TAGS field of the template. I would have added it to the table, but the page is labelled "Immutable page".
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    That is correct #DAY is the date in the month. I think fernsehen.ch is the only grabber using this?

    <BR> tags can be used in the template, but they are not used in the same way as other tags. They are converted to newline characters "\n" and processed as searhc characters seperating fields. Other tags are used to build a pattern for finding the data in the raw HTML.

    One of the big differences. If a tag used for match is not found then there is no pattern match. If search characters between fields are not found then all the data is put into the first field (it assumes the 2nd one was optional). This is one area where the parsing engine could use some improvement/extra features. However, its served well until now ;)
     

    Users who are viewing this thread

    Top Bottom