Feature Request: Remote Database and/or Movie List Export | Page 11

Discussion in 'Moving Pictures' started by shackrock, January 13, 2009.

Thread Status:
Not open for further replies.
  1. LRFalk01

    LRFalk01 Portal Pro

    Joined:
    August 27, 2007
    Messages:
    257
    Likes Received:
    92
    Ratings:
    +92 / 0
    Home Country:
    United States of America United States of America
    Yeah, I mentioned that filtering was not working. I do not mind if you use the XSL I created (I did post it after all.); however, you may want to modify it to your needs. Currently my plugin can handle changes to the database fairly easily. It can pull just about any information you would want to see. I think how it should be displayed should be up to the user, but yes. I could make a xsl file that users can set the plugin to transform to and include the javascript and css files to style it.




    -LRFalk01
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. shackrock

    shackrock Portal Pro

    Joined:
    December 27, 2008
    Messages:
    291
    Likes Received:
    5
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Raleigh, NC
    Ratings:
    +14 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    Oh but the XSL file you posted, I don't think at least, creates the same page that you just linked to. Instead it just makes the basic layout... I guess I don't understand how to go from that, to what is on your list. Is it just as simple as adding the CSS tags to it, pretty much?

    If that's all it is, what code in the xsl file would include these tags in the html file it creates? Everything I try ends up being garbage when it outputs...
     
  4. LRFalk01

    LRFalk01 Portal Pro

    Joined:
    August 27, 2007
    Messages:
    257
    Likes Received:
    92
    Ratings:
    +92 / 0
    Home Country:
    United States of America United States of America
    You need to focus on this portion on the XSL file:

    Code (Text):
    1.     <head>
    2.         <link type="text/css" rel="stylesheet" href="css/styles.css" />
    3.         <script type="text/javascript" src="javascript/core.js"></script>
    4.         <script type="text/javascript" src="javascript/script.js"></script>
    5.     </head>
     
  5. shackrock

    shackrock Portal Pro

    Joined:
    December 27, 2008
    Messages:
    291
    Likes Received:
    5
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Raleigh, NC
    Ratings:
    +14 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    nice I finally figured it out, thanks!! haha. Not sure what my problem was, I started fresh and no problems, so must have been a typo or something.

    Great tool!

    Acutally one thing. The IMDB links don't show up.... I'm using the generic XSL you made, viewable here:
    Index of /movies
    mymovies.xml
    mymovies.xsl
     
  6. joz

    joz Portal Pro

    Joined:
    March 17, 2008
    Messages:
    1,353
    Likes Received:
    153
    Occupation:
    J2ME / PHP programmer
    Ratings:
    +154 / 0
    Home Country:
    Netherlands Netherlands
    if anyone's interested I'm working on something myself, this thread gave me the idea and the basic start (never worked with php + sqlite combi before).
    It's still a work in progress but I'm getting there. All set up nicely php codewise now. Still not really sure how to style it all though. Liking the jquery fancy stuff going on (click the table rows and dvd covers) :)
    Catalog: Movingpictures

    I choose to do it with php for a couple of reasons;
    1) I am familair with it
    2) It's realtime
    3) It has the potential to serve all kinds of data not just movingpictures
    4) Powerfull queries and the use of apache aliases makes it show whatever

    Currently setup in an MVC structure, if someone's interested I can post the code. I think it will only be running on php 5.
    First I was copying images to my webroot but after a while I figured apache aliases would be easier (never done it, was a breeze).
     
  7. shackrock

    shackrock Portal Pro

    Joined:
    December 27, 2008
    Messages:
    291
    Likes Received:
    5
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Raleigh, NC
    Ratings:
    +14 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    nice!! That is pretty awesome too. I'll wait til you get a little more finished with it. Some things I think are crucial:
    * Show the IMDB Rating on the main table (sortable).
    * Show the ID number or a Date Added field on the main table (sortable).
    * Year on the main table (sortable).

    Also, some way to make it auto update to the net, it's been awesome so far with LRF's auto uploading one.
     
  8. joz

    joz Portal Pro

    Joined:
    March 17, 2008
    Messages:
    1,353
    Likes Received:
    153
    Occupation:
    J2ME / PHP programmer
    Ratings:
    +154 / 0
    Home Country:
    Netherlands Netherlands
    My HTPC is "the net" :)
    It's also acting as a php server. So your last request won't be done, not in the scope for now.
    The rest I'll think about.
     
  9. nothe
    • Premium Supporter

    nothe MP Donator

    Joined:
    December 12, 2008
    Messages:
    89
    Likes Received:
    4
    Ratings:
    +7 / 0
    Home Country:
    Germany Germany
    Hi @all,

    give it a Date when MovingPicture Suports Remote Databases?
     
  10. LRFalk01

    LRFalk01 Portal Pro

    Joined:
    August 27, 2007
    Messages:
    257
    Likes Received:
    92
    Ratings:
    +92 / 0
    Home Country:
    United States of America United States of America
  11. jonaskp

    jonaskp Portal Pro

    Joined:
    October 23, 2006
    Messages:
    438
    Likes Received:
    15
    Ratings:
    +15 / 0
    Home Country:
    Denmark Denmark
    Hey Joz, just tried your link, but all I get is a login-dialogue. Is it password protected?
     
Loading...
Thread Status:
Not open for further replies.

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!