How to parse "Jan" as <#MONTH>? (1 Viewer)

Mikou

Portal Pro
October 25, 2006
52
0
Home Country
Finland Finland
Hi,

NHK channel has xml file that has EPG for many days. Date in XML is presented like this: Thu, 24 Jan 2013 14:30:00 +0900:00. How can I parse "Jan" as January because I suppose it should be either 01, 1 or January so that WebEPG should understand that.


-Mikko-
 

RonD

Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    Mikko,

    I've never tried this, but the wiki for webEPG has info about a DateTime table to give a list of month names, look for DateTime in the following wiki
    http://wiki.team-mediaportal.com/1_...bers_and_Tuning_details/WebEPG/WebEPG_Grabber

    There is an example of using this in at least 1 of the grabbers, for example look at the following, there are probably other examples if you at other grabbers.
    C:\ProgramData\Team MediaPortal\MediaPortal TV Server\WebEPG\grabbers\CH\1-www_fernsehen_ch.xml

    When I was working on my updates to the USA imdb.com grabber file I found it helpful to look at other grabber files for examples.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom