Adding Categories using Google's PHP API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to use the Google's PHP API (ZendGdata) to add Categories
(labels/tags) to the posts for a blog.

I know how to define Category, but I am at a loss when it comes to
adding that Category to a entry (post). Any ideas how this can be
done? Any examples will be highly appreciated.


$category = new Zend_Gdata_App_Extension_Category();
$category->setScheme(".....");
$category->setTerm("mylabel");

Thanks
saqib

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux