Gyorgy-
Thanks for the detailed information. Is point #3 needed though?
> 3. On modification explicitly clear the flavor the application doesn't
> need. In this case mutation will trigger heuristics to generate the missing
> flavor.
The current behavior seems to be that if I insert new structured data,
Google will create the formatted version for me without my needing to
clear the formatted field.
Also, I'm skeptical that your parsing algorithm can ever be "right".
Names are ambiguous. If a contact has the formatted name "Kramer", is
a first or last name? It's impossible to know. The only "right"
solution IMHO would be to expose only structured fields in the Gmail
Contact Manager. I hope that happens!
Thanks again,
Charlie
Spanning Sync
On Aug 5, 9:53 am, Gyorgy Abonyi <
g...@google.com> wrote:
> In version 3 we introduced structured names and addresses along with the
> formatted versions, however at the moment we do not provide conversion from
> formatted to structured at our side. Moreover the behavior of Contact
> Manager in GMail is suboptimal, only the formatted version can be edited,
> and upon edit of the name or address field the structure is destroyed. We
> are working hard to improve the current behavior.
>
> We are intend to introduce heuristic name and address parsing in the API,
> and to help developers to adjust to incoming improvements we recommend to
> follow a few simple rules while developing structured and/or formatted data
> aware clients:
>
> 1. Read the flavor (structured / formatted) the client is interested
> about.
> 2. If the data type (structured / formatted) your client is interested in
> is not available, then format or parse the other available data type for the
> application needs.
> 3. On modification explicitly clear the flavor the application doesn't
> need. In this case mutation will trigger heuristics to generate the missing
> flavor.
> 4. If the application provides both structured and formatted parts no