Yes, you can add labels to posts you create with the Blogger API v3. You do
it using the "labels" element in the post insert method.
There is another element in the post insert method which will help you with
the JSON meta-data - customMetaData. You can persist a JSON blob in this
method, and it will round trip through both the APIs, and is also visible
in the page rendering. I really should document how to use it properly =)
Look at the top couple of posts on this blog to see the custom metadata,
and the labels:
On Thu, Jul 19, 2012 at 8:39 PM, dind <dklong...@gmail.com> wrote:
> Hi Brett
> Will it be possibe (or is it possible now) to add labels to new posts
> inserted using the Blogger API.
> What would be really really cool as well as labels would be the ability to
> insert/edit some json style metadata for storage with the post.
> Dave L
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/bloggerdev/-/v5v-AjuOLUAJ.
> 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.
Did you make any changes to blogger-ckeditor-sample.appspot.com?
I clicked the Create Post button several times thinking nothing was happening. When I checked my test blog the post was there several times over. Great stuff.
Is it possible to insert posts in draft? It appears to have been possible in earlier versions of the API.
My use case is to enable group blogging with posts being submitted as drafts to be published by blog Owner/Editor.
Am I right in thinking as long as the post to blogger API contains the API key my post writers would not need to actually log in to blogger as long as the blog Id is provided in the code.
On Friday, 20 July 2012 02:12:51 UTC+1, Brett Morgan wrote:
> Hi Dave,
> Yes, you can add labels to posts you create with the Blogger API v3. You > do it using the "labels" element in the post insert method.
> There is another element in the post insert method which will help you > with the JSON meta-data - customMetaData. You can persist a JSON blob in > this method, and it will round trip through both the APIs, and is also > visible in the page rendering. I really should document how to use it > properly =)
> Look at the top couple of posts on this blog to see the custom metadata, > and the labels:
>> Will it be possibe (or is it possible now) to add labels to new posts >> inserted using the Blogger API.
>> What would be really really cool as well as labels would be the ability >> to insert/edit some json style metadata for storage with the post.
>> Dave L
>> -- >> You received this message because you are subscribed to the Google Groups >> "Blogger Developer Group" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/bloggerdev/-/v5v-AjuOLUAJ. >> 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.
On Sat, Jul 21, 2012 at 9:37 AM, dind <dklong...@gmail.com> wrote:
> Hi Brett
> Did you make any changes to blogger-ckeditor-sample.appspot.com?
Yup, turns out I was encoding something as a string that the JS client
library wanted as a native map. Took a bit of digging to find that one out.
=)
> I clicked the Create Post button several times thinking nothing was
> happening.
> When I checked my test blog the post was there several times over. Great
> stuff.
> Is it possible to insert posts in draft? It appears to have been possible
> in earlier
> versions of the API.
Currently posts are created live. I have tickets in to make it possible to
create them in draft.
> My use case is to enable group blogging with posts being submitted as
> drafts to be published by blog
> Owner/Editor.
> Am I right in thinking as long as the post to blogger API contains the API
> key my post writers
> would not need to actually log in to blogger as long as the blog Id is
> provided in the code.
Post creation needs an authorized user. Given your use case I would suggest
you do the workflow in your own app and then as the last step, pubish it
live to Blogger.
> On Friday, 20 July 2012 02:12:51 UTC+1, Brett Morgan wrote:
>> Hi Dave,
>> Yes, you can add labels to posts you create with the Blogger API v3. You
>> do it using the "labels" element in the post insert method.
>> There is another element in the post insert method which will help you
>> with the JSON meta-data - customMetaData. You can persist a JSON blob in
>> this method, and it will round trip through both the APIs, and is also
>> visible in the page rendering. I really should document how to use it
>> properly =)
>> Look at the top couple of posts on this blog to see the custom metadata,
>> and the labels:
>>> Will it be possibe (or is it possible now) to add labels to new posts
>>> inserted using the Blogger API.
>>> What would be really really cool as well as labels would be the ability
>>> to insert/edit some json style metadata for storage with the post.
>>> Dave L
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Blogger Developer Group" group.
>>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/bloggerdev/-/v5v-AjuOLUAJ<https://groups.google.com/d/msg/bloggerdev/-/v5v-AjuOLUAJ>
>>> .
>>> To post to this group, send email to bloggerdev@googlegroups.com.
>>> To unsubscribe from this group, send email to bloggerdev+unsubscribe@**
>>> googlegroups.com <bloggerdev%2Bunsubscribe@googlegroups.com>.
>>> For more options, visit this group at http://groups.google.com/** >>> group/bloggerdev?hl=en <http://groups.google.com/group/bloggerdev?hl=en>
>>> .
> 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.
I have been otherwise distracted from blogger development for too long.
A question about customMetaData.
Is it possible to access the customMetaData from the blogger template Data Tags something like data:post.customeMetaData. Dropping the json into a javascript variable for processing in the page by script or is the only way to get it to use the api or from blog posts feed.
On Friday, 20 July 2012 02:12:51 UTC+1, Brett Morgan wrote:
> Hi Dave,
> Yes, you can add labels to posts you create with the Blogger API v3. You > do it using the "labels" element in the post insert method.
> There is another element in the post insert method which will help you > with the JSON meta-data - customMetaData. You can persist a JSON blob in > this method, and it will round trip through both the APIs, and is also > visible in the page rendering. I really should document how to use it > properly =)
> Look at the top couple of posts on this blog to see the custom metadata, > and the labels:
> On Thu, Jul 19, 2012 at 8:39 PM, dind <dklo...@gmail.com <javascript:>>wrote:
>> Hi Brett
>> Will it be possibe (or is it possible now) to add labels to new posts >> inserted using the Blogger API.
>> What would be really really cool as well as labels would be the ability >> to insert/edit some json style metadata for storage with the post.
>> Dave L
>> -- >> You received this message because you are subscribed to the Google Groups >> "Blogger Developer Group" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/bloggerdev/-/v5v-AjuOLUAJ. >> To post to this group, send email to blogg...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> bloggerdev+...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/bloggerdev?hl=en.