Great... in my repeat post I'll make sure to ask for help from someone who can use the same technologies too, so I can get some actual help...
Rich Sent from London, Eng, United Kingdom On Tue, Aug 11, 2009 at 08:57, Ray Baxter<[email protected]> wrote: > My code is in Ruby which won't be helpful to you, but the HTTP requests and > responses that I posted have everything that you need. They have all of the > requests, responses and http headers. If your code is sending the proper > requests to Google, they will look exactly like the output that I posted. > Comparing your output to my output will instantly locate your problem if the > problem is in creating the calendar. > Ray > > On Tue, Aug 11, 2009 at 12:14 AM, Phyrefly <[email protected]> wrote: >> >> OK, if we are going to play that game... allow me to rephrase. >> >> The 400 response is "ALL I get back from Google" - ON THAT ROUND of >> HTTP request/response. The rounds that work perfectly being somewhat >> outside the scope of the error and request for help. >> >> As for the string "400" being not mentioned before, this is true, the >> original mail gave the text description in the response rather than >> the code, I apologise if I thought this was somewhat more useful to >> people. >> >> Yes, you have posted the xml that I posted several times. Why, I'm >> not sure. Now you've sent me program output, as if trying to prove to >> me that you have some working code. What you haven't done is post the >> CODE THAT WORKS, so I can try to fix my code. >> >> I am really getting sick of this conversation with you, I don't know >> why you insist on continuing to post in this thread if you don't have >> an answer, or more infuriatingly, if you have one that you aren't >> willing to share. >> >> I am going to post my original query again later today, in the hopes >> someone else watching this group will pick it up and respond to it in >> a useful manner. PLEASE don't reply to that new post! >> >> Rich >> >> >> >> On Tue, Aug 11, 2009 at 07:59, Ray Baxter<[email protected]> wrote: >> > On the contrary, nothing in your original post, or any post until the >> > most >> > recent said that you received a 400 response. It is pretty easy to >> > search >> > this thread, where you will find the first occurrence of the string >> > "400" in >> > most recent post. >> > As to whether the com.sun.syndication.io.ParsingFeedException is "ALL I >> > get >> > back from Google," that statement is simply not true. I'm sorry that you >> > are >> > using tools that don't allow you to see the full interaction with >> > Google, >> > but there is at least one, if not several, rounds of HTTP request and >> > response that lead to that exception. >> > I posted a working sample of code, and the calendar that it produced. I >> > have >> > also taken your xml, POSTed it to the correct url and shown you the >> > calendar >> > that it produced. Over the past few days, I have created a half dozen >> > calendars with exactly the xml that you claim to be sending to Google. >> > The >> > odds of your problem being with this xml and it's validation by the >> > Google >> > Calendar API are nil. >> > Below is the HTTP traffic, with DEBUG statements which you can ignore, >> > of my >> > code's interactions with Google, in creating a calendar with your xml. >> > Lines >> > starting with "<-" are what my code sends to Google. Lines starting with >> > "->" are Google's responses. Lines starting with "D" are debug output >> > from >> > my code. Finally, lines that don't start with any of these have been >> > wrapped >> > by mail and belong to the previous line that starts with one of those >> > strings. Please note that you can see the appearance of exactly your xml >> > (search for "P-Budget") several times in this output, but nary >> > a ParsingFeedException to be seen. >> > >> > D, [2009-08-10T11:41:52.235129 #3006] DEBUG : Email = >> > [email protected], >> > Password = SECRET >> > D, [2009-08-10T11:41:52.235745 #3006] DEBUG : Redirects limit: 5 to uri >> > => >> > http://www.google.com:443/accounts/ClientLogin >> > D, [2009-08-10T11:41:52.236231 #3006] DEBUG : ca_file exists >> > D, [2009-08-10T11:41:52.236290 #3006] DEBUG : Headers: >> > opening connection to www.google.com... >> > opened >> > <- "POST /accounts/ClientLogin HTTP/1.1\r\nConnection: close\r\nAccept: >> > */*\r\nContent-Type: >> > application/x-www-form-urlencoded\r\nContent-Length: >> > 86\r\nHost: www.google.com:443\r\n\r\n" >> > <- >> > >> > "accountType=HOSTED_OR_GOOGLE&[email protected]&Passwd=SECRET&service=cl" >> > -> "HTTP/1.1 200 OK\r\n" >> > -> "Content-Type: text/plain\r\n" >> > -> "Cache-control: no-cache, no-store\r\n" >> > -> "Pragma: no-cache\r\n" >> > -> "Expires: Mon, 01-Jan-1990 00:00:00 GMT\r\n" >> > -> "Date: Mon, 10 Aug 2009 18:41:52 GMT\r\n" >> > -> "X-Content-Type-Options: nosniff\r\n" >> > -> "Content-Length: 563\r\n" >> > -> "Connection: close\r\n" >> > -> "Server: GFE/2.0\r\n" >> > -> "\r\n" >> > reading 563 bytes... >> > -> "" >> > -> >> > >> > "SID=DQAAAHUAAAC_82JYJPWXU1NyYfImsdgzPJhgVyZRnwA9lyumil5EKSu3Pza3z_49yu1xAkjZcHOWgDF4Ff6DP3d_pHCoo-rDFcPL_yeN3eZKatLMmPdUC5hWFUl1qILk5rTZwDZlAaByI-z0FUm8wkoZzMZ_BqoKCTY5EbzUB5aTuaLbeTFOTw\nLSID=DQAAAHkAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41SY5-nMkGq18aAMwhiG0YOjH1TL9ga37PCWNPhoYIZ6a1mweQPvCVXCWBuJTniC9QXQX7DU2GXnf0jwG7x5LZ-e0gBLMSI6W-b78JhDz5DB6Hw\nAuth=DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQ\n" >> > read 563 bytes >> > Conn close >> > D, [2009-08-10T11:41:52.360240 #3006] DEBUG : Auth >> > >> > DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQ >> > D, [2009-08-10T11:41:52.360407 #3006] DEBUG : Redirects limit: 5 to uri >> > => >> > https://www.google.com/calendar/feeds/default/owncalendars/full >> > D, [2009-08-10T11:41:52.360742 #3006] DEBUG : Headers: >> > AuthorizationGoogleLogin >> > >> > auth=DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQSource67central.com--get-feed-0.0.1GData-Version2Content-Typeapplication/atom+xmlAcceptapplication/atom+xml >> > opening connection to www.google.com... >> > opened >> > <- "POST /calendar/feeds/default/owncalendars/full >> > HTTP/1.1\r\nConnection: >> > close\r\nAccept: application/atom+xml\r\nContent-Type: >> > application/atom+xml\r\nGdata-Version: 2\r\nAuthorization: GoogleLogin >> > >> > auth=DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQ\r\nContent-Length: >> > 436\r\nHost: www.google.com:443\r\nSource: >> > 67central.com--get-feed-0.0.1\r\n\r\n" >> > <- "<entry xmlns='http://www.w3.org/2005/Atom' >> > xmlns:gd='http://schemas.google.com/g/2005' >> > xmlns:gCal='http://schemas.google.com/gCal/2005'> <title >> > type='text'>P-Budget</title> <summary type='text'>This calendar was >> > created >> > for the Cal-Budget iGoogle gadget.</summary> <gCal:hidden >> > value='false'></gCal:hidden> <gCal:color value='#2952A3'></gCal:color> >> > <gd:where rel='' label='' valueString='London, Eng, United >> > Kingdom'></gd:where></entry>" >> > -> "HTTP/1.1 302 Moved Temporarily\r\n" >> > -> "Expires: Mon, 10 Aug 2009 18:41:53 GMT\r\n" >> > -> "Date: Mon, 10 Aug 2009 18:41:53 GMT\r\n" >> > -> "Set-Cookie: S=calendar=VZk6XZsLlEiKDGbcmTNPSw;Expires=Tue, >> > 10-Aug-2010 >> > 18:41:53 GMT;Secure\r\n" >> > -> "Location: >> > >> > https://www.google.com:443/calendar/feeds/default/owncalendars/full?gsessionid=VZk6XZsLlEiKDGbcmTNPSw\r\n" >> > -> "Content-Type: text/html; charset=UTF-8\r\n" >> > -> "Content-Length: 283\r\n" >> > -> "Cache-Control: private, max-age=0\r\n" >> > -> "X-Content-Type-Options: nosniff\r\n" >> > -> "Connection: close\r\n" >> > -> "Server: GFE/2.0\r\n" >> > -> "\r\n" >> > reading 283 bytes... >> > -> "" >> > -> "<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY >> > BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Moved Temporarily</H1>\nThe >> > document has moved <A >> > >> > HREF=\"https://www.google.com:443/calendar/feeds/default/owncalendars/full?gsessionid=VZk6XZsLlEiKDGbcmTNPSw\">here</A>.\n</BODY>\n</HTML>\n" >> > read 283 bytes >> > Conn close >> > D, [2009-08-10T11:41:52.497991 #3006] DEBUG : Redirects limit: 4 to uri >> > => >> > >> > https://www.google.com:443/calendar/feeds/default/owncalendars/full?gsessionid=VZk6XZsLlEiKDGbcmTNPSw >> > D, [2009-08-10T11:41:52.578245 #3006] DEBUG : Headers: >> > AuthorizationGoogleLogin >> > >> > auth=DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQSource67central.com--get-feed-0.0.1GData-Version2Content-Typeapplication/atom+xmlAcceptapplication/atom+xml >> > opening connection to www.google.com... >> > opened >> > <- "POST >> > >> > /calendar/feeds/default/owncalendars/full?gsessionid=VZk6XZsLlEiKDGbcmTNPSw >> > HTTP/1.1\r\nConnection: close\r\nAccept: >> > application/atom+xml\r\nContent-Type: >> > application/atom+xml\r\nGdata-Version: >> > 2\r\nAuthorization: GoogleLogin >> > >> > auth=DQAAAHgAAAAoDxjR1J-ntexq2MsUutBUR97bpQy5ZdpA8Q6kHdy2XWDrgbhU4lAjoTk-gys41Sa9dMOkRIZATGzyAe8RYtPNZBlxYONoxmJQ-6SyatF18cS_BXzGqFp0GqRiciHNPaWM-kZcksBJBGMd_287qssW07IVi6H2EkejxDYDDKTifQ\r\nContent-Length: >> > 436\r\nHost: www.google.com:443\r\nSource: >> > 67central.com--get-feed-0.0.1\r\n\r\n" >> > <- "<entry xmlns='http://www.w3.org/2005/Atom' >> > xmlns:gd='http://schemas.google.com/g/2005' >> > xmlns:gCal='http://schemas.google.com/gCal/2005'> <title >> > type='text'>P-Budget</title> <summary type='text'>This calendar was >> > created >> > for the Cal-Budget iGoogle gadget.</summary> <gCal:hidden >> > value='false'></gCal:hidden> <gCal:color value='#2952A3'></gCal:color> >> > <gd:where rel='' label='' valueString='London, Eng, United >> > Kingdom'></gd:where></entry>" >> > -> "HTTP/1.1 201 Created\r\n" >> > -> "Expires: Mon, 10 Aug 2009 18:41:53 GMT\r\n" >> > -> "Date: Mon, 10 Aug 2009 18:41:53 GMT\r\n" >> > -> "Set-Cookie: S=calendar=vGmbbhWKaEjeVTNFKwUUHg;Expires=Tue, >> > 10-Aug-2010 >> > 18:41:53 GMT;Secure\r\n" >> > -> "Content-Type: application/atom+xml; charset=UTF-8; type=entry\r\n" >> > -> "Cache-Control: private, max-age=0, must-revalidate, >> > no-transform\r\n" >> > -> "Vary: Accept, X-GData-Authorization, GData-Version\r\n" >> > -> "GData-Version: 2.1\r\n" >> > -> "ETag: W/\"A0AFQn47eCp7I2A9WxJaGU8.\"\r\n" >> > -> "Location: >> > >> > http://www.google.com/calendar/feeds/default/owncalendars/full/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com\r\n" >> > -> "Content-Location: >> > >> > http://www.google.com/calendar/feeds/default/owncalendars/full/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com\r\n" >> > -> "Transfer-Encoding: chunked\r\n" >> > -> "X-Content-Type-Options: nosniff\r\n" >> > -> "Connection: close\r\n" >> > -> "Server: GFE/2.0\r\n" >> > -> "\r\n" >> > -> "81D\r\n" >> > reading 2077 bytes... >> > -> "" >> > -> "<?xml version='1.0' encoding='UTF-8'?><entry >> > xmlns='http://www.w3.org/2005/Atom' >> > xmlns:gCal='http://schemas.google.com/gCal/2005' >> > xmlns:gd='http://schemas.google.com/g/2005' >> > >> > gd:etag='W/"A0AFQn47eCp7I2A9WxJaGU8."'><id>http://www.google.com/calendar/feeds/default/calendars/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com</id><published>2009-08-10T18:41:53.903Z</published><updated>2009-08-10T18:41:53.000Z</updated><app:edited >> > >> > xmlns:app='http://www.w3.org/2007/app'>2009-08-10T18:41:53.000Z</app:edited><category >> > scheme='http://schemas.google.com/g/2005#kind' >> > >> > term='http://schemas.google.com/gCal/2005#calendarmeta'/><title>P-Budget</title><summary>This >> > calendar was created for the Cal-Budget iGoogle >> > gadget.</summary><content >> > type='application/atom+xml;type=feed' >> > >> > src='http://www.google.com/calendar/feeds/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com/private/full'/><link >> > rel='alternate' type='application/atom+xml' >> > >> > href='http://www.google.com/calendar/feeds/i0f8hgse5nprg45c19av3u0ktc%40group.ca" >> > -> "lendar.google.com/private/full'/><link >> > rel='http://schemas.google.com/gCal/2005#eventFeed' >> > type='application/atom+xml' >> > >> > href='http://www.google.com/calendar/feeds/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com/private/full'/><link >> > rel='http://schemas.google.com/acl/2007#accessControlList' >> > type='application/atom+xml' >> > >> > href='http://www.google.com/calendar/feeds/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com/acl/full'/><link >> > rel='self' type='application/atom+xml' >> > >> > href='http://www.google.com/calendar/feeds/default/owncalendars/full/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com'/><link >> > rel='edit' type='application/atom+xml' >> > >> > href='http://www.google.com/calendar/feeds/default/owncalendars/full/i0f8hgse5nprg45c19av3u0ktc%40group.calendar.google.com'/><author><name>P-Budget</name></author><gCal:timezone >> > value='UTC'/><gCal:timesCleaned value='0'/><gCal:hidden >> > value='false'/><gCal:color value='#2952A3'/><gCal:selected >> > value='false'/><gCal:accesslevel value='owner'/><gd:where >> > valueString='London, E" >> > -> "ng, United Kingdom'/></entry>" >> > read 2077 bytes >> > reading 2 bytes... >> > -> "\r\n" >> > read 2 bytes >> > -> "0\r\n" >> > -> "\r\n" >> > Conn close >> > >> > Hope that helps. You can get a similar trace from your code by using a >> > tool >> > such as Live HTTP Headers in Firefox. >> > Ray >> > On Sun, Aug 9, 2009 at 11:56 PM, Phyrefly <[email protected]> >> > wrote: >> >> >> >> Just to avoid anyone else getting confused by Ray's continuous >> >> suggestions of things that are covered by the original post, let me >> >> restate. >> >> >> >> The response I am getting when I submit that URL is a 400 >> >> com.sun.syndication.io.ParsingFeedException. The error is not thrown >> >> by my code, it is IN THE RESPONSE FROM GOOGLE. In fact, it is ALL I >> >> get back from Google. >> >> >> >> At this point, my code doesn't DO anything with the response besides >> >> display it, so there's nowhere for me to "barf" on the response. The >> >> error string was obtained by debugging my gadget in Visual Studio, and >> >> examining the contents of the response object I get returned. >> >> >> >> It seems _likely_ that an xml validation error is caused by malformed >> >> xml, but no, I am not "clear" about this, which is why I asked >> >> questions about multiple things that could be wrong with my code in my >> >> last post, only one of which was malformed xml. >> >> >> >> Ray - if you have got a working piece of code, how about posting it, >> >> as that is more likely to contain the answer than your guessing at >> >> things that couldn't possibly be the problem if you'd just read the >> >> thread properly! >> >> >> >> Rich >> >> >> >> >> >> >> >> On Sun, Aug 9, 2009 at 22:34, Ray Baxter<[email protected]> wrote: >> >> > You seem fairly clear that the problem is the validation of this xml. >> >> > Have >> >> > you checked that? It seems unlikely because I can create a calendar >> >> > with >> >> > your xml. Here it >> >> > >> >> > >> >> > is: http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/public/basic >> >> > The code that you have shown us isn't doing any feed parsing of this >> >> > xml, so >> >> > it is unlikely to be throwing >> >> > a com.sun.syndication.io.ParsingFeedException >> >> > based on it. Finally, I wouldn't say it is totally impossible, but I >> >> > am >> >> > not >> >> > able to get Google to return a Java exception by passing it >> >> > mal-formed >> >> > url. >> >> > Are you certain that the error you are getting isn't in parsing the >> >> > xml >> >> > that >> >> > Google returns to you? What exact does the http traffic between your >> >> > code >> >> > and Google look like? >> >> > Here's what I get back from Google after creating the calendar above: >> >> > <?xml version='1.0' encoding='utf-8'?> >> >> > <entry xmlns='http://www.w3.org/2005/Atom' >> >> > xmlns:gCal='http://schemas.google.com/gCal/2005' >> >> > xmlns:gd='http://schemas.google.com/g/2005' >> >> > gd:etag='W/"CEAFRH47eCp7I2A9WxJaGEg."'> >> >> > <id> >> >> > >> >> > >> >> > http://www.google.com/calendar/feeds/default/calendars/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com</id> >> >> > <published>2009-08-09T21:18:35.970Z</published> >> >> > <updated>2009-08-09T21:18:35.000Z</updated> >> >> > <app:edited xmlns:app='http://www.w3.org/2007/app'> >> >> > 2009-08-09T21:18:35.000Z</app:edited> >> >> > <category scheme='http://schemas.google.com/g/2005#kind' >> >> > term='http://schemas.google.com/gCal/2005#calendarmeta' /> >> >> > <title>P-Budget</title> >> >> > <summary>This calendar was created for the Cal-Budget iGoogle >> >> > gadget.</summary> >> >> > <content type='application/atom+xml;type=feed' >> >> > >> >> > >> >> > src='http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' >> >> > /> >> >> > <link rel='alternate' type='application/atom+xml' >> >> > >> >> > >> >> > href='http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' >> >> > /> >> >> > <link rel='http://schemas.google.com/gCal/2005#eventFeed' >> >> > type='application/atom+xml' >> >> > >> >> > >> >> > href='http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' >> >> > /> >> >> > <link rel='http://schemas.google.com/acl/2007#accessControlList' >> >> > type='application/atom+xml' >> >> > >> >> > >> >> > href='http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/acl/full' >> >> > /> >> >> > <link rel='self' type='application/atom+xml' >> >> > >> >> > >> >> > href='http://www.google.com/calendar/feeds/default/owncalendars/full/suegisamt05kbu1gfohikpth8g%40group.calendar.googl >> >> > e.com' /> >> >> > <link rel='edit' type='application/atom+xml' >> >> > >> >> > >> >> > href='http://www.google.com/calendar/feeds/default/owncalendars/full/suegisamt05kbu1gfohikpth8g%40group.calendar.googl >> >> > e.com' /> >> >> > <author> >> >> > <name>P-Budget</name> >> >> > </author> >> >> > <gCal:timezone value='UTC' /> >> >> > <gCal:timesCleaned value='0' /> >> >> > <gCal:hidden value='false' /> >> >> > <gCal:color value='#2952A3' /> >> >> > <gCal:selected value='false' /> >> >> > <gCal:accesslevel value='owner' /> >> >> > <gd:where valueString='London, Eng, United Kingdom' /> >> >> > </entry> >> >> > On Fri, Aug 7, 2009 at 12:46 PM, Phyrefly <[email protected]> >> >> > wrote: >> >> >> >> >> >> var newCal = ''; >> >> >> // newCal = newCal + '<?xml version="1.0" encoding="UTF-8"?>'; >> >> >> // newCal = newCal + '<feed xmlns="http://www.w3.org/2005/Atom"'; >> >> >> // newCal = newCal + >> >> >> 'xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"'; >> >> >> // newCal = newCal + >> >> >> 'xmlns:gCal="http://schemas.google.com/gCal/2005"'; >> >> >> // newCal = newCal + 'xmlns:gd="http://schemas.google.com/g/2005">'; >> >> >> // newCal = newCal + '<updated>2009-08-06T12:25:03.873Z</updated>'; >> >> >> // newCal = newCal + '<category >> >> >> scheme="http://schemas.google.com/g/2005#kind"'; >> >> >> // newCal = newCal + >> >> >> 'term="http://schemas.google.com/gCal/2005#calendarmeta"/>'; >> >> >> newCal = newCal + '<entry xmlns=\'http://www.w3.org/2005/Atom\''; >> >> >> newCal = newCal + ' xmlns:gd=\'http://schemas.google.com/g/2005\''; >> >> >> newCal = newCal + ' >> >> >> xmlns:gCal=\'http://schemas.google.com/gCal/2005\'>'; >> >> >> newCal = newCal + ' <title type=\'text\'>P-Budget</title>'; >> >> >> newCal = newCal + ' <summary type=\'text\'>This calendar was created >> >> >> for the Cal-Budget iGoogle gadget.</summary>'; >> >> >> // newCal = newCal + ' <gCal:timezone >> >> >> value=\'Europe/London\'></gCal:timezone>'; >> >> >> newCal = newCal + ' <gCal:hidden value=\'false\'></gCal:hidden>'; >> >> >> newCal = newCal + ' <gCal:color value=\'#2952A3\'></gCal:color>'; >> >> >> //newCal = newCal + ' <gCal:settingsProperty name=\'dateFieldOrder\' >> >> >> value=\'YMD\'/>'; >> >> >> //newCal = newCal + ' <gCal:settingsProperty >> >> >> name=\'format24HourTime\' >> >> >> value=\'true\'/>'; >> >> >> //newCal = newCal + ' <gCal:dateFieldOrder >> >> >> value=\'YMD\'></gCal:dateFieldOrder>'; >> >> >> //newCal = newCal + ' <gCal:format24HourTime >> >> >> value=\'true\'></gCal:format24HourTime>'; >> >> >> newCal = newCal + ' <gd:where rel=\'\' label=\'\' >> >> >> valueString=\'London, Eng, United Kingdom\'></gd:where>'; >> >> >> newCal = newCal + '</entry>'; >> >> >> // newCal = newCal + '</feed>'; >> >> > >> >> > Could your tool chain be barfing on something in that xml? >> >> > Ray >> >> > > >> >> > >> >> >> >> >> > >> > >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
