cvs: peardoc /en/package/webservices/services-youtube example.xml intro.xml
| From: | Christophe Gesch� | Date: | Tue, 09 Jan 2007 10:42:42 +0000 |
| Subject: | cvs: peardoc /en/package/webservices/services-youtube example.xml intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9254@lists.php.net to get a copy of this message | ||
moosh Tue Jan 9 10:42:42 2007 UTC
Modified files:
/peardoc/en/package/webservices/services-youtube example.xml
intro.xml
Log:
- typo
- reindent
http://cvs.php.net/viewvc.cgi/peardoc/en/package/webservices/services-youtube/example.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/webservices/services-youtube/example.xml
diff -u peardoc/en/package/webservices/services-youtube/example.xml:1.4
peardoc/en/package/webservices/services-youtube/example.xml:1.5
--- peardoc/en/package/webservices/services-youtube/example.xml:1.4 Thu Sep 28 22:36:16 2006
+++ peardoc/en/package/webservices/services-youtube/example.xml Tue Jan 9 10:42:42 2007
@@ -1,18 +1,18 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.webservices.services-youtube.example">
- <refnamediv>
- <refname>Example</refname>
- <refpurpose>Basic examples of Services_YouTube</refpurpose>
- </refnamediv>
- <refsect1 id="package.webservices.services-youtube.example.refsect1">
- <title>Basic examples of Services_YouTube</title>
- <simpara>
- The following examples show how to use some basic features
- of Services_YouTube:
- </simpara>
- <example>
- <title>Retrieves the public parts of a user profile.</title>
- <programlisting role="php">
+ <refnamediv>
+ <refname>Example</refname>
+ <refpurpose>Basic examples of Services_YouTube</refpurpose>
+ </refnamediv>
+ <refsect1 id="package.webservices.services-youtube.example.refsect1">
+ <title>Basic examples of Services_YouTube</title>
+ <simpara>
+ The following examples show how to use some basic features
+ of Services_YouTube:
+ </simpara>
+ <example>
+ <title>Retrieves the public parts of a user profile.</title>
+ <programlisting role="php">
<![CDATA[require_once 'Services/YouTube.php';
$dev_id = "YOUR_DEV_ID";
@@ -20,14 +20,14 @@
$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
$user = $youtube->getProfile($user_id);
$profile = $user->user_profile;
-print "{$profile->first_name} {$profile->last_name} :({$profile->video_watch_count}
Wathced.)\n";
+print "{$profile->first_name} {$profile->last_name} :({$profile->video_watch_count}
Watched.)\n";
]]>
- </programlisting>
- </example>
+ </programlisting>
+ </example>
- <example>
- <title>Lists a user's favorite videos.</title>
- <programlisting role="php">
+ <example>
+ <title>Lists a user's favorite videos.</title>
+ <programlisting role="php">
<![CDATA[require_once 'Services/YouTube.php';
$dev_id = "YOUR_DEV_ID";
@@ -93,7 +93,10 @@
</example>
<example>
- <title>Lists the most recent 25 videos that have been featured on the front page of the
YouTube site.</title>
+ <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';
@@ -147,5 +150,4 @@
vim600: syn=webservices fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
-
+-->
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/webservices/services-youtube/intro.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/webservices/services-youtube/intro.xml
diff -u peardoc/en/package/webservices/services-youtube/intro.xml:1.1
peardoc/en/package/webservices/services-youtube/intro.xml:1.2
--- peardoc/en/package/webservices/services-youtube/intro.xml:1.1 Thu Sep 28 16:57:48 2006
+++ peardoc/en/package/webservices/services-youtube/intro.xml Tue Jan 9 10:42:42 2007
@@ -1,24 +1,29 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.webservices.services-youtube.intro">
- <refnamediv>
- <refname>Introduction</refname>
- <refpurpose>Introduction to Services_YouTube</refpurpose>
- </refnamediv>
- <refsect1 id="package.webservices.services-youtube.intro.refsect1">
- <title>Introduction to Services_YouTube</title>
- <para>
- Services_YouTube is an abstraction for the webservice of YouTube APIs.
- Using YouTube APIs, you can easily integrate online videos from YouTube's
- rapidly growing repository of videos into your application. To use YouTube
- API and this package, create a YouTube account and create a YouTube
- developer profile.
- </para>
- <para>
- YouTube APIs currently allow read-only access to key parts of the YouTube
- video respository and user community. Services_YouTube provides functions
- for YouTube APIs using O-O abstraction access.
- </para>
- </refsect1>
+ <refnamediv>
+ <refname>Introduction</refname>
+ <refpurpose>Introduction to Services_YouTube</refpurpose>
+ </refnamediv>
+ <refsect1 id="package.webservices.services-youtube.intro.refsect1">
+ <title>Introduction to Services_YouTube</title>
+ <para>
+ Services_YouTube is an abstraction for the webservice of YouTube APIs.
+
+ Using YouTube APIs,
+ you can easily integrate online videos from YouTube's
+ rapidly growing repository of videos into your application.
+
+ To use YouTube API and this package,
+ create a YouTube account and create a YouTube developer profile.
+ </para>
+ <para>
+ YouTube APIs currently allow read-only access to key parts
+ of the YouTube video respository and user community.
+
+ Services_YouTube provides functions
+ for YouTube APIs using O-O abstraction access.
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables: