Site creation question (1 Viewer)

Aquarius

MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    Hi all,
    I tried to build a site from my home town TV.

    I cannot access any html as its entirely FLASH basedm but I know the URL/ directory structure of the video files.
    The structure is pretty simple:

    http://www.someURL.de/upload/sendungXY/filename.mp4"
    where XY is some 2 digit number which I do not know in advance and filename is free.

    When trying to access http://www.someURL.de/upload/ with the site creation tool or other HTTP tools, the server responds "403 Forbidden" . So there is no way to make a listing of the directory.

    Is there a way to get around this ?

    I tried to convince the WEB Programmer to build a RSS- feed, but he does not want or is too lazy ... But is that a (the only) possible solution ?

    Regards
    /Gerd
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    You can trace the requests done by the flash and check if access some index file. In Chrome simply open the developer tools (ctrl+shit+I) and then load the website with the flash, now you see what request are done and can check all of them.
     

    Aquarius

    MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    Thx for the hint,
    which I applied immediately. .. and found a URL to an XML- file that contains all URL- references to all videos.

    Can I use SiteCreationTool to parse this XML file to retrieve the URL locations of the videos ? Or is it limited to analyse HTML-code only ?

    The XML file looks this way:
    <track>
    <title> ... </title>
    <creator>... </creator>
    <annotation> ... </annotation>
    <location>http://someURL/fileName.mp4</location>
    <image>HTTP://someImage.jpg</image>
    </track>

    Thx
    Gerd
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    You could even use Xpath expressions, since they are supported by the Genericsite.
    There is no limitation of html or any filetype, the regular expressions can run on any textfile.
     

    Aquarius

    MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    I need some help with the site creation tool:

    My video to be integrated into OV list is available as an XML file in the shape of a playlist format. (see 2nd picture)

    I added the URL of the XML - tracklist as base URL a shown in picture 1.png
    Then I go to "Category Tab" to get Categories, click "createRegEx" and can get title, thumbs and description.

    And here the problem starts: I have no categories, just a plain list of tracks.
    All following tabs rely on categories. So I'm stuck ?!

    General question: Is that the way to approach when parsing such tracklists using "site creation tool" or is there a better/easier way ?

    Thanks for any help !

    Gerd
     

    Attachments

    • 1.png
      1.png
      9.5 KB
    • 2.png
      2.png
      45.4 KB

    Aquarius

    MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    Thank you very much for the plugin, now it all works perfect ! :)

    Once understood, an excellent software architecture approach !

    Will add my little site to the overall list.

    Regards
    Gerd

    Perhaps add some explanation about "static categories" to the wiki. E.g. if there are no categories at the target site, to add a 'dummy'
    site.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom