OnlineVideos, different regular expressions for each category? (1 Viewer)

spammoogle

Portal Member
July 21, 2012
15
0
Spain Spain
Hi, I'm working to create a Site for TV3 Catalunya, Spain. I have a problem.

Once I defined a static category, each category requires a different regular expression as it does not follow the same pattern.

I have to create a Site for each category or is there any way to create a regular expression for each of them ?

Salut y força al canut
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,564
    1,780
    Nuenen
    Netherlands Netherlands
    Country flag
    If there is no overlap between the matches, you could use the (regex1)|(regex2)|(regex3) pattern.

    Those |'s will result in an "OR" for the matches
     

    spammoogle

    Portal Member
    July 21, 2012
    15
    0
    Spain Spain
    Well I've got a method to do so. Thank you very much.

    Who was I had to leave a password to post a new TV channel for onlineVideos?
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    Just open Configuration, select your site, press publish and follow the instructions ;)
     

    spammoogle

    Portal Member
    July 21, 2012
    15
    0
    Spain Spain
    It is published but the case is not displayed in "importGlobalSite".

    In the category "Singulars" shows the 24 latest videos but the next page does not work. I had to find the variable that is sent by POST to the page to build the URL with the correct parameter for pagination. In a browser working properly, but onlinevideos not work.
    Do not know why ....

    If I publish the code in any section <site> the forum, please tell me where.

    Salut y força al canut

    Moogle
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,564
    1,780
    Nuenen
    Netherlands Netherlands
    Country flag
    I don't quite understand what you're trying to say, perhaps the meaning is lost somewhere in the translation.

    What I do understand is that your next page requires a POST instead of GET, but that is unfortunately not supported by the GenericSiteUtil.
     

    spammoogle

    Portal Member
    July 21, 2012
    15
    0
    Spain Spain
    Variable page, found by regexp: hiStartValue=26

    URL result : http://www.tv3.cat/searcher/tvc/sea...e=Singulars---Programa-sencer&hiStartValue=26

    In browser works correctly. Sent by GET.

    From onlinevideos not work.

    In theory it should work from the two platforms because although the site is scheduled to be sent by POST from javascript, also supports sending by GET.

    I'll keep looking for a way to solve it.

    Thank you very much.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom