cvs: peardoc /en/package/webservices/services-youtube example.xml

From: Date: Thu, 28 Sep 2006 22:25:15 +0000
Subject: cvs: peardoc /en/package/webservices/services-youtube example.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8546@lists.php.net to get a copy of this message
shin Thu Sep 28 22:25:15 2006 UTC Modified files: /peardoc/en/package/webservices/services-youtube example.xml Log: Removed the leading whitespace inside the <programlisting> tags. http://cvs.php.net/viewvc.cgi/peardoc/en/package/webservices/services-youtube/example.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/package/webservices/services-youtube/example.xml diff -u peardoc/en/package/webservices/services-youtube/example.xml:1.2 peardoc/en/package/webservices/services-youtube/example.xml:1.3 --- peardoc/en/package/webservices/services-youtube/example.xml:1.2 Thu Sep 28 17:32:38 2006 +++ peardoc/en/package/webservices/services-youtube/example.xml Thu Sep 28 22:25:14 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.webservices.services-youtube.example"> <refnamediv> <refname>Example</refname> @@ -14,7 +14,7 @@ <title>Retrieves the public parts of a user profile.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $user_id = "USER_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); @@ -29,7 +29,7 @@ <title>Lists a user's favorite videos.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $user_id = "USER_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); @@ -46,7 +46,7 @@ <title>Lists a user's friends.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $user_id = "USER_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); @@ -62,7 +62,7 @@ <title>Lists all videos that have the specified tag.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $tag = "test"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); @@ -79,7 +79,7 @@ <title>Lists all videos that were uploaded by the specified user.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $user_id = "USER_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); @@ -96,7 +96,7 @@ <title>Lists the most recent 25 videos that have been featured on the front page of the YouTube site.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true)); $videos = $youtube->listFeatured(); @@ -112,7 +112,7 @@ <title>Displays the details for a video.</title> <programlisting role="php"> <![CDATA[require_once 'Services/YouTube.php'; - + $dev_id = "YOUR_DEV_ID"; $video_id = "VIDEO_ID"; $youtube = new Services_YouTube($dev_id, array('usesCache' => true));

« previous php.pear.doc (#8546) next »