Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6.1
-
Component/s: Zend_Gdata
-
Labels:None
-
Language:English
Description
It just a notice, but should be fixed, I think.
line 106:
<example id="zend.gdata.youtube.videos.searchingcategories.example">
<programlisting role="php"><![CDATA[<?php
$yt = new Zend_Gdata_YouTube();
$query = $yt->newVideoQuery();
$query->category = 'Comedy/dog';
echo $query->queryUrl . "\n";
$videoFeed = $yt->getVideoFeed($query);
]]></programlisting>
</example>
line 327:
<example id="zend.gdata.youtube.videos.searchingcategories.example">
<programlisting role="php"><![CDATA[<?php
$yt = new Zend_Gdata_YouTube();
$userProfile = $yt->getUserProfile('liz');
echo "username: " . $userProfile->username->text . "\n";
echo "age: " . $userProfile->age->text . "\n";
echo "hometown: " . $userProfile->hometown->text . "\n";
]]></programlisting>
</example>
Fixed somewhere in the past.
Example tags were removed.