+ Reply to Thread
Results 1 to 3 of 3

Thread: feature video

  1. #1
    stazome is offline Junior Member
    Join Date
    May 2009
    Posts
    23

    Default feature video

    i want to show a feature video on my portal front page, this video thumb little big and want to show description. is this possible?

  2. #2
    hostonnet is offline Super Moderator
    Join Date
    Sep 2007
    Posts
    881

    Default

    This can be done by the site reading the rss feed and displaying the content.

    if using Magpie RSS - PHP RSS Parser, the code will be some thing like

    Code:
    <?php
    
    require_once('./include/rss_fetch.inc');
    $url = 'http://yourdomain.extn/rss/new/';
    $rss = fetch_rss($url);
    echo "<a href=" . $rss->items[0]['link'] . ">" . $rss->items[0]['title'] . "</a>";
    echo "<br>";
    echo $rss->items[0]['description'];
    
    ?>
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    install@hostonnet.com

  3. #3
    stazome is offline Junior Member
    Join Date
    May 2009
    Posts
    23

    Default

    don't know how to install/use Magpie RSS - PHP RSS Parser, I can use iframe for show a feature video, my idea a new file need to make and insert code for a feature video there. But what code I don't know. Help needed.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts