Hi cameluo,

Sorry for the late reply.

On Nov 24, 9:54 pm, cameluo <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I need code to upload a html file (containing x number of images) into
> google document using API.  I checked the old discussion thread but
> couldn't find anything relating directly(using my search keywords), so
> asking the thread some possibly newbie questions:
> 1.  how can I upload it if the image is embedded in the html (ie,
> copied over to google server)?   should I upload it as a zipped folder
> of .html and its associated images?  or is there another way?

If the images reside somewhere on the internet, reference the img
src's
as absolute URLs and Docs will pull them in correctly.

If the images are local, I would create a .doc file and embed the
images
in that document.

> 2.   is there a mandated limit of the size per document for API
> transactions?   is there a practical size limit?

I believe ~1MB is the limit for API requests.  So you can probably
upload a  document that's 1MB that uses images hosted elsewhere.
As long as the body of the request is < 1MB, you're good.

> 3.   if google doc list api doesn't provide this functionality,  does
> google spreadsheet api provide this functionality?
>
> thanks a bunch.  Cheers,
> Y Luo
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to