However, since this information is available internally, I've filed a
ticket to have this functionality added to the API:
http://code.google.com/p/gdata-issues/issues/detail?id=639
Unfortunately, you still do need to check rel and label, since either
one could contain data, but neither will be specified at the same
time. We use rel whenever possible since this is more precise, but
since custom category names aren't specified in our schema we're
forced to use label for everything else. This is also why some
categories are treated specially.
As for the changes in what's treated specially, there's inevitably
some tweaking in a new API as we fix bugs and get behavior right.
However, since our goal is to provide a stabile foundation to build
applications, we try to keep these changes to a minimum. If a change
breaks one of your applications, please file a ticket and let us know.
Hopefully this answered all of your questions. If I missed something,
let me know.
--
Trevor Johns
--
Trevor Johns
While I can't comment on specifics regarding potential future
releases, this is on our radar and something we're very interested in
seeing added to the framework.
--
Trevor Johns
Ah, that makes a lot more sense.
Not handling duplicate category names properly and the inability to
preserve groupings from the GMail UI doesn't seem right, and I've
filed a ticket to have this looked into.
http://code.google.com/p/gdata-issues/issues/detail?id=639
Having to check rel vs label won't be changing, however. The reason
this is done is so that common categories have a language-independent
way to perform comparisons. Label tags can be in any language, rel
tags will always be in english.
In order to help make sure that the rel tags do not fluctuate any
more, I've filed another ticket to have these explicitly documented:
http://code.google.com/p/gdata-issues/issues/detail?id=653
Let me know if I missed any of your questions/comments.
(Also, sorry for the delay in responding, I was discussing this with
some of the other engineers.)
--
Trevor Johns