Re: Zend_Gdata create entry - how to include "Search Description" field?
Taufik Nurrohman <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Maybe because it is currently not available?
https://groups.google.com/d/msg/bloggerdev/35zbB5KtiDM/T5CsM7F92kAJ
Pada Senin, 06 Januari 2014 17:38:50 UTC+7, George Garchagudashvili menulis:
>
> Hello all
>
> When I add post from directly blogger I can specify "Search Description"
> field for my post, this is very important for my blog.
>
>
>
> But when I add post from Zend_Gdata I have not option to include that
> field.
>
>
> I use this code:
>
> function createPublishedPost($title='Hello, world!', $content='I am blogging on the internet.')
>> {
>> $uri = 'http://www.blogger.com/feeds/' . $blogID . '/posts/default';
>> $entry = $gdClient->newEntry();
>> $entry->title = $gdClient->newTitle($title);
>> $entry->content = $gdClient->newContent($content);
>> $entry->content->setType('text');
>>
>> $createdPost = $gdClient->insertEntry($entry, $uri);
>> $idText = split('-', $createdPost->id->text);
>> $newPostID = $idText[2];
>>
>> return $newPostID;
>> }
>>
>>
>
> Any known issues or solutions?
>
> Thanks. Please help.
>
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.