Zend Framework

The id conflict in Zend_Gdata_YouTube.xml

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Major 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>

Activity

Hide
Thomas Weidner added a comment -

Fixed somewhere in the past.
Example tags were removed.

Show
Thomas Weidner added a comment - Fixed somewhere in the past. Example tags were removed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: