• Hi there,

    I’m not a programmer so I will put it out there to see if someone may have the time to create such a plug-in.

    This is what I use it for:

    I’m a filmcomposer and I frequently have to show my partners and clients the progress in their films. I use WordPress’ pages to do so and just send them the link.

    However, it takes many steps for me to create this and it would be much easier, if there was a wordpress plug-in that would scan a dedicated folder on my server (the one I upload the videos to) and create links on a page. That way all I had to do was create the page, insert the little code snippet (including the information on which folder to scan). After that I would only need to upload the videos and the page would automatically display them.

    Is this something that’s possible with PHP?

    Thanks and best
    Hans

Viewing 1 replies (of 1 total)
  • I modified some code I made to do something similar:

    <?php
    $pix = opendir( "videos" );
    while (($item = readdir ($videos)) !== false){
    
     if ($item != "." && $item != "..") {
    echo  "<a href=\"pics/$item\">";
    $count++;
    echo "<br />";
    }}}
    closedir ($videos);
    ?>

    I haven’t tested this, but it should work… You’ll just have to create a separate page(not a wordpress one) to put this on, and a “videos” directory to put all the videos on.

Viewing 1 replies (of 1 total)

The topic ‘Creating links from folder content’ is closed to new replies.