Eric,
Thanks for the reply.  I don't think your suggestion will work for
me.  I'm iterating over a result set and generating a GoogleBaseEntry
for every result set row.  I add these entries to a feed and I would
like to be able to see how big the feed is so I don't exceed the 1mb
limit.  So I guess you could say I need a dynamic check of the size of
my feed.

My alternative is to keep the feeds small based on a rough estimate of
the size of a single entry and send a lot more often to avoid any
problems.

Can you suggest an alternative?

Thanks,
-=beeky

On Sep 25, 5:18 pm, "Eric (Google)" <[EMAIL PROTECTED]> wrote:
> 1MB refers to the size of the data you're sending
> the batch request.  An easy check would be to save
> your constructed feed as an XML file to determine how
> big it is.
>
> Eric
>
> On Sep 25, 10:58 am, beeky <[EMAIL PROTECTED]> wrote:
>
> > The batch processing API document states that the number of bytes in
> > the XML may not exceed 1mb.
>
> > How do you determine this 'size' when it refers to a feed full of
> > GoogleBaseEntry objects?  I have looked through the entire class
> > hierarchy of  GoogleBaseEntry for a method to do this and I don't see
> > a likely suspect.
>
> > Thanks for any help or guidance,
> > -=beeky
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" 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-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to