1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

phpYtSite: A PHP solution for YouTube Integration

Discussion in 'Scripts' started by Evoleto, Dec 2, 2007.

  1. #1
    Hello DPers,

    This is the first script of mine that I'm making public and I though it would be a good idea to drop a word here too :D

    phpYtSite is a PHP script designed to create a standalone video website using syndicated multimedia content from YouTube. As of the first version the script achieves this goal, however there is room for optimization and much more features.

    The script requires PHP with XML support and access to a MySQL database, so most of you already met the requirements. No API key is required since it uses the new Gdata protocol.

    You can read more and download here, and a live demo here (the site I originally made the script for).

    I believe some of you will find my script useful :)

    Any feedback is highly appreciated!
     
    Evoleto, Dec 2, 2007 IP
    ryquest and riya_senk like this.
  2. topcash

    topcash Peon Affiliate Manager

    Messages:
    503
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I like your script, one problem I see is the datas are wrong.

    After install and then fetch the videos the archive is this
    December 1969

    The first video says

    Posted on Wednesday, 31st of December 1969
     
    topcash, Dec 2, 2007 IP
  3. Evoleto

    Evoleto Well-Known Member

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #3
    This is strange, the upload date is clearly distinguished in the XML input, but you never now, I will try to recreate this locally.

    Thanks for your input ;-)
     
    Evoleto, Dec 2, 2007 IP
  4. Evoleto

    Evoleto Well-Known Member

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks topcash,

    I have identified and fixed the issues in the newest release.
     
    Evoleto, Dec 3, 2007 IP
  5. teampower

    teampower Well-Known Member

    Messages:
    1,796
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #5
    i try 2 time but still not working
    here is the site
    link
     
    teampower, Dec 5, 2007 IP
  6. Evoleto

    Evoleto Well-Known Member

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #6
    Hello Teampower,

    I think I know what the issues is, during the install you have to make sure there is an ending slash both after the URL and after the directory path as well.

    This calls for an automatic check in the next release of phpYtSite ;-)

    Please let me know how it works for you after you add the slashes.
     
    Evoleto, Dec 5, 2007 IP
  7. warlock77

    warlock77 Well-Known Member

    Messages:
    533
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Your script looks great! Thank you.
     
    warlock77, Dec 6, 2007 IP
  8. ryquest

    ryquest Active Member

    Messages:
    253
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Hey Evoleto -

    Just want to say the script is great. Just set it up on http://ahappydog.com

    I have some more tweaking to do for a later date.

    I was curious if you were working on an update? A couple of things to consider maybe:
    Add other video sharing sites
    SEO Urls the actual name of the video
    Meta tags

    Anyhow, just wanted to say thanks and Great Work!

    Matt
     
    ryquest, Dec 7, 2007 IP
  9. teampower

    teampower Well-Known Member

    Messages:
    1,796
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #9
    thanks Evoleto the site is working but there no video yes what i need to do to get video ?
    thanks
     
    teampower, Dec 7, 2007 IP
  10. Evoleto

    Evoleto Well-Known Member

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #10
    Thanks everyone for the kind words!

    @ryquest
    Yes, I'm preparing a new release soon and also collecting suggestions from the people whom already use my script.
    Slugs and meta information are on the way - as about to other sources, this will probably be subject of a future major release.

    @teampower
    You have to access the back end (http://www. xxxx .com/phpytsite/admin.php) and at the top of that page after logging in you will note an update function, just click that button and the script will start fetching the matching videos from YouTube.
     
    Evoleto, Dec 7, 2007 IP