TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-11-2008, 10:28 PM   #1 (permalink)
Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 452
Thanks: 228
codefreek is on a distinguished road
Default Youtube RSS Grabber - Beta V.0.1.

it's not the best script in the world but i am working on making it cool, this is my first try and i played around with it much
the css code is messy and it's not that great but it works
and i will update it with more cool things if i get some feedback and some requests,


people who i wanna give a "thank you" to, Are.

Quote:
Noia,
Jim
jsampson from sampsonresume.com
Stormhawk
tanax (allot of support from him)
and some other people you all know who you are ;)
this is some great people right here!


Thank you.


So here is the code it will be posted here and as well you can download it.


PHP Code:
<style> ul { list-style-type: none; } </style>    
<td width="800" hight="800" valign="middle" class="headerNewsFlash">
<marquee id="newsFlash" direction="down" scrolldelay="30" scrollamount="4"><div style="width: 0px" onMouseOver="newsFlash.stop();" onMouseOut="newsFlash.start();"><nobr>
    
<?php

//Codefreek Production 
    //www.talkphp.com 
    //BETA 0.1 RSS Grabber From Youtube 
        //Copyright 08 - 09 by codefreek
            //if you like please pm me and say thank you and i will continue doing more free scripts.

    //only use when needed!
    //ini_set("user_agent","Internet Explorer");

    //Edit here for your rss link
    
$location "http://youtube.com/rss/global/top_rated.rss";
    
$contents file_get_contents($location);
    
$xml      = new SimpleXMLElement($contents);
    
$limiter 0;

    print 
"<ul>";

    foreach(
$xml->channel->item as $item) {
       print 
"<li>";
    
$linkarray explode("=",$item->link);
    print 
"<a href='".$item->link."' title=''>";
    print 
"<img src=\"http://s2.ytimg.com/vi/".$linkarray[1]."/default.jpg\" title=\"My Thumbnail!\" />";
    print 
"</a>";
    print 
"</li>";
    
$limiter++;

// here you can change the 10 to the limit
//you want!

    
if ($limiter == 10) break;
  
   
    }

    print 
"</ul>";


    
?>

</marquee>


</nobr></div></marquee>
</td>
<b><center>Youtube RSS Grabber 0.1 BETA - By Codefreek</center></b>

OR


RapidShare: Easy Filehosting


MORE TO COME!


ONLINE DEMO:
http://td4l.org/testshit/youtube_rss_grabber.php
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.

Last edited by codefreek : 07-11-2008 at 10:53 PM. Reason: ONLINE DEMO ADDED
codefreek is offline  
Reply With Quote
Old 07-11-2008, 10:33 PM   #2 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 224
Thanks: 2
Jim is on a distinguished road
Default

Nice mate, it would be cool if we can see some example online?
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
The Following User Says Thank You to Jim For This Useful Post:
codefreek (07-11-2008)
Old 07-13-2008, 10:05 PM   #3 (permalink)
Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 452
Thanks: 228
codefreek is on a distinguished road
Default

here is the update ;)
alpha_0.1.3


RapidShare: Easy Filehosting
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.

Last edited by codefreek : 10-23-2008 at 01:54 AM.
codefreek is offline  
Reply With Quote
Old 10-23-2008, 01:55 AM   #4 (permalink)
Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 452
Thanks: 228
codefreek is on a distinguished road
Default

<reserve for future update>
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.
codefreek is offline  
Reply With Quote
Old 10-23-2008, 03:27 PM   #5 (permalink)
The Gregarious
Upcoming Programmer Inquisitive 
 
Join Date: Sep 2007
Posts: 684
Thanks: 85
Tanax is on a distinguished road
Default

Looks nice :) A feature for a possible update would be that you could grab the rss from a user rss feed, and get all their videos
__________________
Tanax is offline  
Reply With Quote
The Following User Says Thank You to Tanax For This Useful Post:
codefreek (10-23-2008)
Old 10-23-2008, 11:35 PM   #6 (permalink)
Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 452
Thanks: 228
codefreek is on a distinguished road
Default

Yes, i might do that but i have paused this project for now as i am working on other projects for now ;)

thank you for feedback ;)
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.
codefreek is offline  
Reply With Quote
Old 10-24-2008, 01:30 AM   #7 (permalink)
Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 452
Thanks: 228
codefreek is on a distinguished road
Default

someone else that has time to burn..
could maybe take on this project,
i would not mind as long as you still give me some credits :)
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.
codefreek is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:51 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0