Using StartOffset (1 Viewer)

Dadeo

Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    I tried using StartOffset to grab data 7 days from the current date. I am using [DAY_OFFSET] in my URL and I put <Search startOffset="7"/> in my grabber file after the URL and before Html as follows:

    <Site url="http://www.zipazap.com/dgx/wblx.dll?h=1&amp;a=2&amp;ch=[ID]&amp;lz=5&amp;dt=[DAY_OFFSET]" post="" external="false" encoding="" />
    <Search startOffset="7"/>
    <Html>

    The correct data is downloaded, but it appears in TVguide.xml and thus the EPG under the current day! Am I missing something? Should it not put it in the TVguide 7 days later? :confused:
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    WebEPG always starts counting from the current date/time.

    StartOffset is for sites that start numbering at 1 instead of 0. Not to get data from the future.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    The big problem is the way different sites handle date/time. Most sites are not a problem. However, a few do speical things. For example:

    * Some sites don't use 24h time or provide am/pm they just go from 12 to 1 again.
    * Many sites provide listings from the pervious day on the current day page.
    * Many sites provide listings for the next day on the current day page.

    To work under all these conditions. WebEPG starts at the current time and moves through the programs checking what it gets with what it expects. Fixing the times and dates up as needed.
     

    Users who are viewing this thread

    Top Bottom