Re: Add "Meta Description" using Blogger API v3

Vicky <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Well, no one can help me? Brett, even you? :)
Please note that programming language don’t matter and any help would be 
appreciated.


On Thursday, July 3, 2014 1:44:35 AM UTC+3, Vicky wrote:
>
> Hi,
> I’m trying to publish posts into my blog using Blogger API v3 and all is 
> working fine, except the “Meta Description” (also known as “Search 
> Description”). Using default Blogger editor I can add the meta description 
> to every post or page, but I cannot do this using the Blogger API v3. 
> Please note that I already have been enabled this option in:
> *Settings » Search preferences » Meta tags » Description*
>
> At this moment, my JavaScript code looks like this:
> var article = {
>
> title : 'Hello World',
> url : 'hello-world',
> content : 'This is a "Hello World" article',
> labels : ['Hello', 'World']
>
> };
>
> gapi.client.blogger.posts.insert({
>
> blogId : '0123456789',
> resource : article
>
> }).execute(function (response) {
>
> console.log(response);
>
> });
>
> The code above publishes the specified article into my blog but without 
> meta description. Also I tried to use article.metaDescription and 
> article.customMetaData — but without any success. Also, I noticed that 
> method gapi.client.blogger.posts.get don’t return the meta description for 
> specified post.
>
> Can anyone help me or tell me what I’m doing wrong?
> Thank you!
>

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.