OnlineVideos, different regular expressions for each category?

Discussion in 'OnlineVideos' started by spammoogle, July 26, 2012.

  1. spammoogle

    spammoogle Portal Member

    Joined:
    July 21, 2012
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    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


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    751
    Location:
    Nuenen
    Ratings:
    +1,113 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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
     
  4. spammoogle

    spammoogle Portal Member

    Joined:
    July 21, 2012
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    Spain Spain
  5. spammoogle

    spammoogle Portal Member

    Joined:
    July 21, 2012
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    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?
     
  6. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    751
    Location:
    Nuenen
    Ratings:
    +1,113 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    You'd have to contact offbyone
     
  7. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Just open Configuration, select your site, press publish and follow the instructions ;)
     
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    751
    Location:
    Nuenen
    Ratings:
    +1,113 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    We should put that in a FAQ somewhere...
     
    • Like Like x 1
  9. spammoogle

    spammoogle Portal Member

    Joined:
    July 21, 2012
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    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
     
  10. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    751
    Location:
    Nuenen
    Ratings:
    +1,113 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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.
     
  11. spammoogle

    spammoogle Portal Member

    Joined:
    July 21, 2012
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    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.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!