Hi, Try adding the namespace declaration for gCal in the entry element and it will look like this -
<entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:gCal='http://schemas.google.com/gCal/2005'> Hope it helps, Austin On Jan 28, 2008 3:13 PM, TRF <[EMAIL PROTECTED]> wrote: > > Hi - new to this group but I've been working with the API for some > time now. I'm creating a bit of a frankenstien. Filemaker to cURL via > applescript. Basically I'm using the terminal to send data from my > database to various calendars. Its been going well. I've had data > transfer going for a while - but I wanted to add a gadget or two to > provide more information from my database. I've successfully created > gadgets and moved them to the calendar - but not with a specific date. > As soon as I get into <gd: v.s. <gCal: I end up getting a "not found" > error when submitting data. I've cleaned out my applescript code and > posted what I'm sending via curl now. FYI - the basic curl > functionality has been working well for some time - its just when I > try to add the <atom:link tag. Any help would be much appreciated. > > echo '<entry xmlns="http://www.w3.org/2005/Atom" xmlns:gd="http:// > schemas.google.com/g/2005"> > <category scheme="http://schemas.google.com/g/2005#kind" term="http:// > schemas.google.com/g/2005#event"> > </category> > <title type="text">My Calendar Event</title> > <content type="text">Entering Notes here to clarify this event.</ > content> > <gd:transparency value="http://schemas.google.com/g/ > 2005#event.opaque"> > </gd:transparency> > <gd:eventStatus value="http://schemas.google.com/g/ > 2005#event.confirmed"> > </gd:eventStatus> > <gd:where valueString="my address"> > </gd:where> > <gd:when startTime="2008-01-29" endTime="2008-01-30"> > </gd:when> > <atom:link rel="http://schemas.google.com/gCal/2005/webContent" > title="Program Info" href="http://mysite/images/sinfo_24.gif" > type="text/html"> > <gCal:webContent url="http://mysite/programPrintout.php?-recid=22092" > width="800" height="800" /> > </gCal:webContent> > </atom:link> > </entry>' | curl -H "Authorization: GoogleLogin auth=AuthCodeGoesHere" > -H "Content-Type: application/atom+xml" -d @- > http://www.google.com/calendar/feeds/default/private/full" > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar 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-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
