I'm about half finished with a set of perl modules for the GData
protocol.  I'm wondering if I have the basics understood correctly.
First, here are the (simplified) steps I'm thinking the code would
need to handle:

Attempt to GET, POST, PUT or DELETE a request (I'm assuming the module
for the specific service will handle the formatting of the content).

Handle the response code appropriately.  Except for a response code of
403, just return success or fail to the calling routine.  In the case
of a 403 code, attempt to authorize.  If that's successful attempt the
request again and return appropriately.

Fairly simple up to this point.  What I'm not sure of is how to handle
the response.  It seems to me that if I put the XML::Atom libraries in
the GData module then the service libraries wouldn't have to worry
about it--making for less chances of errors.  However, I'm not sure
that just returning a XML::Atom::[Feed|Entry] object would be at all
helpful or even a good idea.

Any input?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to