Jak pobrać informacje o filmie - Youtube API 
Dodano przez: igor  
Ranga: Administrator serwisu Punktów: 0
Ranga: Administrator serwisu Punktów: 0
Komentarze użytkowników
	    Opis pobrania danych z youtube API
	
	
- Zobacz kod dodany do tego wpisu
  	 		- 
				<?
 $vidID = $_POST['vidID'];
 $url = "http://gdata.youtube.com/feeds/api/videos/". $vidID;
 $doc = new DOMDocument;
 $doc->load($url);
 $title = $doc->getElementsByTagName("title")->item(0)->nodeValue;
 ?>
 
 <html>
 <head>
 <title>Get Video Name</title>
 </head>
 <body>
 <form action="test.php" method="post">
 <input type="text" value="ID Here" name="vidID" />
 <input type="submit" value="Get Name" />
 </form>
 <div id="page">URL: [<?= $url ?>]</div>
 <div id="title">Title: [<?= $title ?>]</div>
 </body>
 </html>
 
- 
				
		autor: igor | 5989 | 2010-08-17 15:00:10
	
:: Losowe artykuły 

:: Wymiana linków 
    
	Modowe inspiracje |
        Android Gry i Aplikacje |
        ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
        Logo dla firmy |
        Change Tires - Car Weather Forecast Reminder |
        Laminas: MVC Framework for PHP |
        IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS | 
        Katalog roślin |
        Programming articles: JAVA, PHP, C++, Python, JavaScript |
        Kancelaria Adwokacka Łukasz Huszno
        
    

 
  
				

 
                             
 


 
                        
 
		 
	