如何使用zend ZendGdata 1.11.11
在博客中发布带有类别的文章答案 0 :(得分:0)
$labels = $entry->getCategory();
$newLabel = $gdClient->newCategory('testlabel2', 'http://www.blogger.com/atom/ns#');
$labels[] = $newLabel; // Append the new label to the list of labels.
$entry->setCategory($labels);