the newer, AtomPub compliant GData 2.0.
In my old code, I'm able to parse for the list of all known categories
(labels) in the service document results for the user. In the new
code, I'm trying to use the AtomPub specification that service
documents should contain an app:categories element, but the result
from Google doesn't contain any such element.
I'm using the ?alt=atom-service option on the normal /posts/default
URL, to get a service-document formatted result:
http://www.blogger.com/feeds/7979301850482338262/posts/default?alt=atom-service
This returns a valid response with legitimate workspace and collection
contents:
<?xml version='1.0' encoding='UTF-8'?><app:service xmlns:app='http://
www.w3.org/2007/app'><app:workspace><atom:title xmlns:atom='http://
www.w3.org/2005/Atom'>Blogger CLB Enabled</atom:title><app:collection
href='http://www.blogger.com/feeds/7979301850482338262/posts/
default'><atom:title xmlns:atom='http://www.w3.org/2005/Atom'>Blogger
CLB Enabled</atom:title><app:accept>application/atom+xml;type=entry</
app:accept></app:collection></app:workspace></app:service>
But there is no app:categories element.
If it's a bug that the categories are omitted from the service
document, is this something you might be able to fix soon? If it's not
a bug, what is the preferred method of getting a list of all
previously used labels for a particular Blogger blog?
Thanks!
Daniel
--
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