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

From: Date: Thu, 28 Sep 2006 17:18:50 +0000
Subject: Re: cvs: peardoc /en/package/webservices/services-youtube example.xml intro.xml
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8541@lists.php.net to get a copy of this message
On Thu Sep 28, 2006 at 04:5748PM -0000, Shin OHNO wrote: > <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)); > $user = $youtube->getProfile($user_id); > $profile = $user->user_profile; > print "{$profile->first_name} {$profile->last_name} > :({$profile->video_watch_count} Wathced.)\n"; > ]]> > </programlisting> It is better to remove the leading whitespace inside the <programlisting> tags because this whitespace will be kept when transforming DocBook to HTML and thus things will look odd in the manual. - Martin

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