Search This Site

Custom Search

Thursday, July 29, 2010

[bloggerDev] Zend_Gdata_Entry not setting summary

I'm trying to save a summary to an blog entry and it does not seem to
be working using the zend gdata php client.
I also don't see any mention of summary in the blogger api protocol.

$service = new Zend_Gdata($gauthNamespace->gauthClient);

$query = new Zend_Gdata_Query('http://www.blogger.com/feeds/blogis/
posts/default/postid'
);
$entry = $service->getEntry($query);

$summary = new Zend_Gdata_App_Extension_Summary();
$summary->setText('testing summary');

$entry->setSummary($summary);
$entry->save();

according to the zend api docs a Zend_Gdata_Entry inherits from
Zend_Gdata_App_Extension_Entry and that has a summary field. it looks
like the summay entry is ignored. Is there a way to set the summary
on a blog post?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

No comments:

Post a Comment