1
我使用Zend Google API发布到我的博客(Blogspot)博客。我只能输入标题和内容,但我不知道如何添加类别(也称为“标签”)。 有没有办法使用Zend Api发布到类别的博客?使用Google API向Blogger添加类别?
谢谢!
我使用Zend Google API发布到我的博客(Blogspot)博客。我只能输入标题和内容,但我不知道如何添加类别(也称为“标签”)。 有没有办法使用Zend Api发布到类别的博客?使用Google API向Blogger添加类别?
谢谢!
$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);