Help needed to change a template (1 Viewer)

pierremenard

MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    As alice_it.xml grabber is broken (only the sublink part), I tried to change it.

    I read the wiki, but I can't really figure out how to use webepg designer. So I used it only to translate text to xml.

    Anyway, looking at

    http://spettacolo.alice.it/guidatv/cgi/index.cgi?tipo=1&qs=9637605
    (the sublinked data, as the sublink link works, as I could seen in webepg.log)

    I tried with several sublink template, this is the last

    <div id="scheda-genere"><b>
    <#GENRE></b>
    <br>
    </div>
    <div id="scheda-testo">
    <#DESCRIPTION>
    <br><br>
    <b></b><br>
    <p><#SUBTITLE></p>

    (converted in xml)

    But I got not good. With this I get <TD> as description (<SectionTemplate tags="TD">)

    Could anyone help me?

    Thank you in advance
     

    pierremenard

    MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    Ok, I fixed by myself (about webepg designer).

    Now I got it.

    As I find a random number of <b></b> tags in the file, I tried to put a
    <z(><b></b></z)?>
    in the template, but it works if there is only one recurrence of <b></b>.

    Is it possible to have a z tag for any (0 or more) recurrence?


    Thanks
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    If tags does not have a "B" in it then the B tags are ignored in both the template and page source.

    If there are a random number of tags then it is best not to use them instead of Z tags. Unless you cannot parse the data without using those tags.

    Because this question has been asked a number of times in the last week. I have tried updating the wiki with more detail:

    http://wiki.team-mediaportal.com/MediaPortal_Setup_Customising_WebEPG

    Please comment if it is more understandable now.
     

    mameo

    MP Donator
  • Premium Supporter
  • August 8, 2006
    74
    0
    Perugia
    Home Country
    Italy Italy
    Ok, I fixed by myself (about webepg designer).

    Now I got it.

    As I find a random number of <b></b> tags in the file, I tried to put a
    <z(><b></b></z)?>
    in the template, but it works if there is only one recurrence of <b></b>.

    Is it possible to have a z tag for any (0 or more) recurrence?


    Thanks

    Hi Pierremenard,

    I don't understand what have you done... Can you upload your "alice_it.xml" modified file? Thanks

    Mameo
     

    pierremenard

    MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    Ok, I fixed by myself (about webepg designer).

    Now I got it.

    As I find a random number of <b></b> tags in the file, I tried to put a
    <z(><b></b></z)?>
    in the template, but it works if there is only one recurrence of <b></b>.

    Is it possible to have a z tag for any (0 or more) recurrence?


    Thanks

    Hi Pierremenard,

    I don't understand what have you done... Can you upload your "alice_it.xml" modified file? Thanks

    Mameo

    It does not work always, I'm not using it (since few months). If it has not been overwritten by a svn I'll post it

    F.
     

    mameo

    MP Donator
  • Premium Supporter
  • August 8, 2006
    74
    0
    Perugia
    Home Country
    Italy Italy
    Ok. One more question: wich epg grabber are you using or wich one do you think works good for italian channel (analog+dvb-t)?

    Mameo
     

    Users who are viewing this thread

    Top Bottom