Hey, I just wanted to point out that the section "Change the content
of multiple cells using a batch request" of the protocol documentation
for the Spreadsheets API at 
http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_protocol.html
has some major typos in the example feed.

First of all, entries in the XML demonstration are like:

  <entry>
    <batch:id">A1</batch:id">
    <batch:operation type="update"/>
    <id>http://spreadsheets.google.com/feeds/cells/key/worksheetId/
private/full/cellId</id>
    <link rel="edit" type="application/atom+xml"
      href="http://spreadsheets/google.com/feeds/cells/key/worksheetId/
private/full/R2C4/version"/>
    <gs:cell row="2" col="4" inputValue="newData"/>
  </entry>

The <batch:id"> tags have those extra quotes.  The <id> tag data says
"cellId" at the end, which is inconsistent with the rest of the entry
which puts an actual cell Id ("R2C4") everywhere else.  Most
importantly, the "href" attribute of the <link> tag isn't even a valid
URL.  It should be 
http://spreadsheets.google.com/feeds/cells/key/worksheetId/private/full/cellId/version.

The PHP API lacks proper batch processing and you have to construct
the XML yourself (as with any other language without an API at all),
this is really anyone has to go on so it has to be correct.

-Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to