/gdata/test_data.py
Python | 1334 lines | 1312 code | 7 blank | 15 comment | 0 complexity | 6aca0f40a2d6ccb308864c005c1e33a1 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
1#!/usr/bin/python 2# 3# Copyright (C) 2006 Google Inc. 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17 18 19XML_ENTRY_1 = """<?xml version='1.0'?> 20<entry xmlns='http://www.w3.org/2005/Atom' 21 xmlns:g='http://base.google.com/ns/1.0'> 22 <category scheme="http://base.google.com/categories/itemtypes" 23 term="products"/> 24 <id> http://www.google.com/test/id/url </id> 25 <title type='text'>Testing 2000 series laptop</title> 26 <content type='xhtml'> 27 <div xmlns='http://www.w3.org/1999/xhtml'>A Testing Laptop</div> 28 </content> 29 <link rel='alternate' type='text/html' 30 href='http://www.provider-host.com/123456789'/> 31 <link rel='license' 32 href='http://creativecommons.org/licenses/by-nc/2.5/rdf'/> 33 <g:label>Computer</g:label> 34 <g:label>Laptop</g:label> 35 <g:label>testing laptop</g:label> 36 <g:item_type>products</g:item_type> 37</entry>""" 38 39 40TEST_BASE_ENTRY = """<?xml version='1.0'?> 41<entry xmlns='http://www.w3.org/2005/Atom' 42 xmlns:g='http://base.google.com/ns/1.0'> 43 <category scheme="http://base.google.com/categories/itemtypes" 44 term="products"/> 45 <title type='text'>Testing 2000 series laptop</title> 46 <content type='xhtml'> 47 <div xmlns='http://www.w3.org/1999/xhtml'>A Testing Laptop</div> 48 </content> 49 <app:control xmlns:app='http://purl.org/atom/app#'> 50 <app:draft>yes</app:draft> 51 <gm:disapproved xmlns:gm='http://base.google.com/ns-metadata/1.0'/> 52 </app:control> 53 <link rel='alternate' type='text/html' 54 href='http://www.provider-host.com/123456789'/> 55 <g:label>Computer</g:label> 56 <g:label>Laptop</g:label> 57 <g:label>testing laptop</g:label> 58 <g:item_type>products</g:item_type> 59</entry>""" 60 61 62BIG_FEED = """<?xml version="1.0" encoding="utf-8"?> 63 <feed xmlns="http://www.w3.org/2005/Atom"> 64 <title type="text">dive into mark</title> 65 <subtitle type="html"> 66 A <em>lot</em> of effort 67 went into making this effortless 68 </subtitle> 69 <updated>2005-07-31T12:29:29Z</updated> 70 <id>tag:example.org,2003:3</id> 71 <link rel="alternate" type="text/html" 72 hreflang="en" href="http://example.org/"/> 73 <link rel="self" type="application/atom+xml" 74 href="http://example.org/feed.atom"/> 75 <rights>Copyright (c) 2003, Mark Pilgrim</rights> 76 <generator uri="http://www.example.com/" version="1.0"> 77 Example Toolkit 78 </generator> 79 <entry> 80 <title>Atom draft-07 snapshot</title> 81 <link rel="alternate" type="text/html" 82 href="http://example.org/2005/04/02/atom"/> 83 <link rel="enclosure" type="audio/mpeg" length="1337" 84 href="http://example.org/audio/ph34r_my_podcast.mp3"/> 85 <id>tag:example.org,2003:3.2397</id> 86 <updated>2005-07-31T12:29:29Z</updated> 87 <published>2003-12-13T08:29:29-04:00</published> 88 <author> 89 <name>Mark Pilgrim</name> 90 <uri>http://example.org/</uri> 91 <email>f8dy@example.com</email> 92 </author> 93 <contributor> 94 <name>Sam Ruby</name> 95 </contributor> 96 <contributor> 97 <name>Joe Gregorio</name> 98 </contributor> 99 <content type="xhtml" xml:lang="en" 100 xml:base="http://diveintomark.org/"> 101 <div xmlns="http://www.w3.org/1999/xhtml"> 102 <p><i>[Update: The Atom draft is finished.]</i></p> 103 </div> 104 </content> 105 </entry> 106 </feed> 107""" 108 109SMALL_FEED = """<?xml version="1.0" encoding="utf-8"?> 110 <feed xmlns="http://www.w3.org/2005/Atom"> 111 <title>Example Feed</title> 112 <link href="http://example.org/"/> 113 <updated>2003-12-13T18:30:02Z</updated> 114 <author> 115 <name>John Doe</name> 116 </author> 117 <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> 118 <entry> 119 <title>Atom-Powered Robots Run Amok</title> 120 <link href="http://example.org/2003/12/13/atom03"/> 121 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> 122 <updated>2003-12-13T18:30:02Z</updated> 123 <summary>Some text.</summary> 124 </entry> 125 </feed> 126""" 127 128GBASE_FEED = """<?xml version='1.0' encoding='UTF-8'?> 129<feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:g='http://base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/batch'> 130<id>http://www.google.com/base/feeds/snippets</id> 131<updated>2007-02-08T23:18:21.935Z</updated> 132<title type='text'>Items matching query: digital camera</title> 133<link rel='alternate' type='text/html' href='http://base.google.com'> 134</link> 135<link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets'> 136</link> 137<link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets?start-index=1&max-results=25&bq=digital+camera'> 138</link> 139<link rel='next' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets?start-index=26&max-results=25&bq=digital+camera'> 140</link> 141<generator version='1.0' uri='http://base.google.com'>GoogleBase </generator> 142<openSearch:totalResults>2171885</openSearch:totalResults> 143<openSearch:startIndex>1</openSearch:startIndex> 144<openSearch:itemsPerPage>25</openSearch:itemsPerPage> 145<entry> 146<id>http://www.google.com/base/feeds/snippets/13246453826751927533</id> 147<published>2007-02-08T13:23:27.000Z</published> 148<updated>2007-02-08T16:40:57.000Z</updated> 149<category scheme='http://base.google.com/categories/itemtypes' term='Products'> 150</category> 151<title type='text'>Digital Camera Battery Notebook Computer 12v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables</title> 152<content type='html'>Notebook Computer 12v DC Power Cable - 5.5mm x 2.1mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power portable computers that operate with 12v power and have a 2.1mm power connector (center +) Digital ...</content> 153<link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305668&is=REG&kw=DIDCB5092&BI=583'> 154</link> 155<link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/13246453826751927533'> 156</link> 157<author> 158<name>B&H Photo-Video</name> 159<email>anon-szot0wdsq0at@base.google.com</email> 160</author> 161<g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes> 162<g:condition type='text'>new</g:condition> 163<g:location type='location'>420 9th Ave. 10001</g:location> 164<g:id type='text'>305668-REG</g:id> 165<g:item_type type='text'>Products</g:item_type> 166<g:brand type='text'>Digital Camera Battery</g:brand> 167<g:expiration_date type='dateTime'>2007-03-10T13:23:27.000Z</g:expiration_date> 168<g:customer_id type='int'>1172711</g:customer_id> 169<g:price type='floatUnit'>34.95 usd</g:price> 170<g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type> 171<g:item_language type='text'>EN</g:item_language> 172<g:manufacturer_id type='text'>DCB5092</g:manufacturer_id> 173<g:target_country type='text'>US</g:target_country> 174<g:weight type='float'>1.0</g:weight> 175<g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305668.jpg&dhm=ffffffff84c9a95e&size=6</g:image_link> 176</entry> 177<entry> 178<id>http://www.google.com/base/feeds/snippets/10145771037331858608</id> 179<published>2007-02-08T13:23:27.000Z</published> 180<updated>2007-02-08T16:40:57.000Z</updated> 181<category scheme='http://base.google.com/categories/itemtypes' term='Products'> 182</category> 183<title type='text'>Digital Camera Battery Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables</title> 184<content type='html'>Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power any electronic device that operates with 5v power and has a 2.5mm power connector (center +) Digital ...</content> 185<link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305656&is=REG&kw=DIDCB5108&BI=583'> 186</link> 187<link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/10145771037331858608'> 188</link> 189<author> 190<name>B&H Photo-Video</name> 191<email>anon-szot0wdsq0at@base.google.com</email> 192</author> 193<g:location type='location'>420 9th Ave. 10001</g:location> 194<g:condition type='text'>new</g:condition> 195<g:weight type='float'>0.18</g:weight> 196<g:target_country type='text'>US</g:target_country> 197<g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type> 198<g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes> 199<g:id type='text'>305656-REG</g:id> 200<g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305656.jpg&dhm=7315bdc8&size=6</g:image_link> 201<g:manufacturer_id type='text'>DCB5108</g:manufacturer_id> 202<g:upc type='text'>838098005108</g:upc> 203<g:price type='floatUnit'>34.95 usd</g:price> 204<g:item_language type='text'>EN</g:item_language> 205<g:brand type='text'>Digital Camera Battery</g:brand> 206<g:customer_id type='int'>1172711</g:customer_id> 207<g:item_type type='text'>Products</g:item_type> 208<g:expiration_date type='dateTime'>2007-03-10T13:23:27.000Z</g:expiration_date> 209</entry> 210<entry> 211<id>http://www.google.com/base/feeds/snippets/3128608193804768644</id> 212<published>2007-02-08T02:21:27.000Z</published> 213<updated>2007-02-08T15:40:13.000Z</updated> 214<category scheme='http://base.google.com/categories/itemtypes' term='Products'> 215</category> 216<title type='text'>Digital Camera Battery Power Cable for Kodak 645 Pro-Back ProBack & DCS-300 Series Camera Connecting Cables</title> 217<content type='html'>Camera Connection Cable - to Power Kodak 645 Pro-Back DCS-300 Series Digital Cameras This connection cable will allow any Digital Pursuits battery pack to power the following digital cameras: Kodak DCS Pro Back 645 DCS-300 series Digital Photography ...</content> 218<link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305685&is=REG&kw=DIDCB6006&BI=583'> 219</link> 220<link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/3128608193804768644'> 221</link> 222<author> 223<name>B&H Photo-Video</name> 224<email>anon-szot0wdsq0at@base.google.com</email> 225</author> 226<g:weight type='float'>0.3</g:weight> 227<g:manufacturer_id type='text'>DCB6006</g:manufacturer_id> 228<g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305685.jpg&dhm=72f0ca0a&size=6</g:image_link> 229<g:location type='location'>420 9th Ave. 10001</g:location> 230<g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes> 231<g:item_type type='text'>Products</g:item_type> 232<g:target_country type='text'>US</g:target_country> 233<g:accessory_for type='text'>digital kodak camera</g:accessory_for> 234<g:brand type='text'>Digital Camera Battery</g:brand> 235<g:expiration_date type='dateTime'>2007-03-10T02:21:27.000Z</g:expiration_date> 236<g:item_language type='text'>EN</g:item_language> 237<g:condition type='text'>new</g:condition> 238<g:price type='floatUnit'>34.95 usd</g:price> 239<g:customer_id type='int'>1172711</g:customer_id> 240<g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type> 241<g:id type='text'>305685-REG</g:id> 242</entry> 243</feed>""" 244 245EXTENSION_TREE = """<?xml version="1.0" encoding="utf-8"?> 246 <feed xmlns="http://www.w3.org/2005/Atom"> 247 <g:author xmlns:g="http://www.google.com"> 248 <g:name>John Doe 249 <g:foo yes="no" up="down">Bar</g:foo> 250 </g:name> 251 </g:author> 252 </feed> 253""" 254 255TEST_AUTHOR = """<?xml version="1.0" encoding="utf-8"?> 256 <author xmlns="http://www.w3.org/2005/Atom"> 257 <name xmlns="http://www.w3.org/2005/Atom">John Doe</name> 258 <email xmlns="http://www.w3.org/2005/Atom">johndoes@someemailadress.com</email> 259 <uri xmlns="http://www.w3.org/2005/Atom">http://www.google.com</uri> 260 </author> 261""" 262 263TEST_LINK = """<?xml version="1.0" encoding="utf-8"?> 264 <link xmlns="http://www.w3.org/2005/Atom" href="http://www.google.com" 265 rel="test rel" foo1="bar" foo2="rab"/> 266""" 267 268TEST_GBASE_ATTRIBUTE = """<?xml version="1.0" encoding="utf-8"?> 269 <g:brand type='text' xmlns:g="http://base.google.com/ns/1.0">Digital Camera Battery</g:brand> 270""" 271 272 273CALENDAR_FEED = """<?xml version='1.0' encoding='utf-8'?> 274<feed xmlns='http://www.w3.org/2005/Atom' 275xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' 276xmlns:gd='http://schemas.google.com/g/2005' 277xmlns:gCal='http://schemas.google.com/gCal/2005'> 278 <id>http://www.google.com/calendar/feeds/default</id> 279 <updated>2007-03-20T22:48:57.833Z</updated> 280 <title type='text'>GData Ops Demo's Calendar List</title> 281 <link rel='http://schemas.google.com/g/2005#feed' 282 type='application/atom+xml' 283 href='http://www.google.com/calendar/feeds/default'></link> 284 <link rel='http://schemas.google.com/g/2005#post' 285 type='application/atom+xml' 286 href='http://www.google.com/calendar/feeds/default'></link> 287 <link rel='self' type='application/atom+xml' 288 href='http://www.google.com/calendar/feeds/default'></link> 289 <author> 290 <name>GData Ops Demo</name> 291 <email>gdata.ops.demo@gmail.com</email> 292 </author> 293 <generator version='1.0' uri='http://www.google.com/calendar'> 294 Google Calendar</generator> 295 <openSearch:startIndex>1</openSearch:startIndex> 296 <entry> 297 <id> 298 http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com</id> 299 <published>2007-03-20T22:48:57.837Z</published> 300 <updated>2007-03-20T22:48:52.000Z</updated> 301 <title type='text'>GData Ops Demo</title> 302 <link rel='alternate' type='application/atom+xml' 303 href='http://www.google.com/calendar/feeds/gdata.ops.demo%40gmail.com/private/full'> 304 </link> 305 <link rel='self' type='application/atom+xml' 306 href='http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com'> 307 </link> 308 <author> 309 <name>GData Ops Demo</name> 310 <email>gdata.ops.demo@gmail.com</email> 311 </author> 312 <gCal:color value='#2952A3'></gCal:color> 313 <gCal:accesslevel value='owner'></gCal:accesslevel> 314 <gCal:hidden value='false'></gCal:hidden> 315 <gCal:timezone value='America/Los_Angeles'></gCal:timezone> 316 </entry> 317 <entry> 318 <id> 319 http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com</id> 320 <published>2007-03-20T22:48:57.837Z</published> 321 <updated>2007-03-20T22:48:53.000Z</updated> 322 <title type='text'>GData Ops Demo Secondary Calendar</title> 323 <summary type='text'></summary> 324 <link rel='alternate' type='application/atom+xml' 325 href='http://www.google.com/calendar/feeds/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com/private/full'> 326 </link> 327 <link rel='self' type='application/atom+xml' 328 href='http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com'> 329 </link> 330 <author> 331 <name>GData Ops Demo Secondary Calendar</name> 332 </author> 333 <gCal:color value='#528800'></gCal:color> 334 <gCal:accesslevel value='owner'></gCal:accesslevel> 335 <gCal:hidden value='false'></gCal:hidden> 336 <gCal:timezone value='America/Los_Angeles'></gCal:timezone> 337 <gd:where valueString=''></gd:where> 338 </entry> 339</feed> 340""" 341 342CALENDAR_FULL_EVENT_FEED = """<?xml version='1.0' encoding='utf-8'?> 343<feed xmlns='http://www.w3.org/2005/Atom' 344xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' 345xmlns:gd='http://schemas.google.com/g/2005' 346xmlns:gCal='http://schemas.google.com/gCal/2005'> 347 <id> 348 http://www.google.com/calendar/feeds/default/private/full</id> 349 <updated>2007-03-20T21:29:57.000Z</updated> 350 <category scheme='http://schemas.google.com/g/2005#kind' 351 term='http://schemas.google.com/g/2005#event'></category> 352 <title type='text'>GData Ops Demo</title> 353 <subtitle type='text'>GData Ops Demo</subtitle> 354 <link rel='http://schemas.google.com/g/2005#feed' 355 type='application/atom+xml' 356 href='http://www.google.com/calendar/feeds/default/private/full'> 357 </link> 358 <link rel='http://schemas.google.com/g/2005#post' 359 type='application/atom+xml' 360 href='http://www.google.com/calendar/feeds/default/private/full'> 361 </link> 362 <link rel='self' type='application/atom+xml' 363 href='http://www.google.com/calendar/feeds/default/private/full?updated-min=2001-01-01&max-results=25'> 364 </link> 365 <author> 366 <name>GData Ops Demo</name> 367 <email>gdata.ops.demo@gmail.com</email> 368 </author> 369 <generator version='1.0' uri='http://www.google.com/calendar'> 370 Google Calendar</generator> 371 <openSearch:totalResults>10</openSearch:totalResults> 372 <openSearch:startIndex>1</openSearch:startIndex> 373 <openSearch:itemsPerPage>25</openSearch:itemsPerPage> 374 <gCal:timezone value='America/Los_Angeles'></gCal:timezone> 375 <entry> 376 <id> 377 http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100</id> 378 <published>2007-03-20T21:29:52.000Z</published> 379 <updated>2007-03-20T21:29:57.000Z</updated> 380 <category scheme='http://schemas.google.com/g/2005#kind' 381 term='http://schemas.google.com/g/2005#event'></category> 382 <title type='text'>test deleted</title> 383 <content type='text'></content> 384 <link rel='alternate' type='text/html' 385 href='http://www.google.com/calendar/event?eid=bzk5ZmxtZ21rZmtmcnI4dTc0NWdocjMxMDAgZ2RhdGEub3BzLmRlbW9AbQ' 386 title='alternate'></link> 387 <link rel='self' type='application/atom+xml' 388 href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100'> 389 </link> 390 <link rel='edit' type='application/atom+xml' 391 href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100/63310109397'> 392 </link> 393 <author> 394 <name>GData Ops Demo</name> 395 <email>gdata.ops.demo@gmail.com</email> 396 </author> 397 <gCal:sendEventNotifications value='false'> 398 </gCal:sendEventNotifications> 399 <gd:eventStatus value='http://schemas.google.com/g/2005#event.canceled'> 400 </gd:eventStatus> 401 <gd:comments> 402 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100/comments'> 403 </gd:feedLink> 404 </gd:comments> 405 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 406 </gd:visibility> 407 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 408 </gd:transparency> 409 <gd:when startTime='2007-03-23T12:00:00.000-07:00' 410 endTime='2007-03-23T13:00:00.000-07:00'> 411 <gd:reminder minutes='10'></gd:reminder> 412 </gd:when> 413 <gd:where></gd:where> 414 </entry> 415 <entry> 416 <id> 417 http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0</id> 418 <published>2007-03-20T21:26:04.000Z</published> 419 <updated>2007-03-20T21:28:46.000Z</updated> 420 <category scheme='http://schemas.google.com/g/2005#kind' 421 term='http://schemas.google.com/g/2005#event'></category> 422 <title type='text'>Afternoon at Dolores Park with Kim</title> 423 <content type='text'></content> 424 <link rel='alternate' type='text/html' 425 href='http://www.google.com/calendar/event?eid=MnF0M2FvNWhiYXE3bTlpZ3I1YWs5ZXNqbzAgZ2RhdGEub3BzLmRlbW9AbQ' 426 title='alternate'></link> 427 <link rel='self' type='application/atom+xml' 428 href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0'> 429 </link> 430 <link rel='edit' type='application/atom+xml' 431 href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0/63310109326'> 432 </link> 433 <author> 434 <name>GData Ops Demo</name> 435 <email>gdata.ops.demo@gmail.com</email> 436 </author> 437 <gCal:sendEventNotifications value='false'> 438 </gCal:sendEventNotifications> 439 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 440 </gd:eventStatus> 441 <gd:comments> 442 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0/comments'> 443 </gd:feedLink> 444 </gd:comments> 445 <gd:visibility value='http://schemas.google.com/g/2005#event.private'> 446 </gd:visibility> 447 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 448 </gd:transparency> 449 <gd:who rel='http://schemas.google.com/g/2005#event.organizer' 450 valueString='GData Ops Demo' email='gdata.ops.demo@gmail.com'> 451 <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.accepted'> 452 </gd:attendeeStatus> 453 </gd:who> 454 <gd:who rel='http://schemas.google.com/g/2005#event.attendee' 455 valueString='Ryan Boyd (API)' email='api.rboyd@gmail.com'> 456 <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.invited'> 457 </gd:attendeeStatus> 458 </gd:who> 459 <gd:when startTime='2007-03-24T12:00:00.000-07:00' 460 endTime='2007-03-24T15:00:00.000-07:00'> 461 <gd:reminder minutes='20'></gd:reminder> 462 </gd:when> 463 <gd:where valueString='Dolores Park with Kim'></gd:where> 464 </entry> 465 <entry> 466 <id> 467 http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos</id> 468 <published>2007-03-20T21:28:37.000Z</published> 469 <updated>2007-03-20T21:28:37.000Z</updated> 470 <category scheme='http://schemas.google.com/g/2005#kind' 471 term='http://schemas.google.com/g/2005#event'></category> 472 <title type='text'>Team meeting</title> 473 <content type='text'></content> 474 <link rel='alternate' type='text/html' 475 href='http://www.google.com/calendar/event?eid=dXZzcWhnN2tsbmFlNDB2NTB2aWhyMXB2b3NfMjAwNzAzMjNUMTYwMDAwWiBnZGF0YS5vcHMuZGVtb0Bt' 476 title='alternate'></link> 477 <link rel='self' type='application/atom+xml' 478 href='http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos'> 479 </link> 480 <link rel='edit' type='application/atom+xml' 481 href='http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos/63310109317'> 482 </link> 483 <author> 484 <name>GData Ops Demo</name> 485 <email>gdata.ops.demo@gmail.com</email> 486 </author> 487 <gd:recurrence>DTSTART;TZID=America/Los_Angeles:20070323T090000 488 DTEND;TZID=America/Los_Angeles:20070323T100000 489 RRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20070817T160000Z;WKST=SU 490 BEGIN:VTIMEZONE TZID:America/Los_Angeles 491 X-LIC-LOCATION:America/Los_Angeles BEGIN:STANDARD 492 TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST 493 DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU 494 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700 495 TZNAME:PDT DTSTART:19700405T020000 496 RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT 497 END:VTIMEZONE</gd:recurrence> 498 <gCal:sendEventNotifications value='true'> 499 </gCal:sendEventNotifications> 500 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 501 </gd:eventStatus> 502 <gd:visibility value='http://schemas.google.com/g/2005#event.public'> 503 </gd:visibility> 504 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 505 </gd:transparency> 506 <gd:reminder minutes='10'></gd:reminder> 507 <gd:where valueString=''></gd:where> 508 </entry> 509 <entry> 510 <id> 511 http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo</id> 512 <published>2007-03-20T21:25:46.000Z</published> 513 <updated>2007-03-20T21:25:46.000Z</updated> 514 <category scheme='http://schemas.google.com/g/2005#kind' 515 term='http://schemas.google.com/g/2005#event'></category> 516 <title type='text'>Movie with Kim and danah</title> 517 <content type='text'></content> 518 <link rel='alternate' type='text/html' 519 href='http://www.google.com/calendar/event?eid=c3Q0dms5a2lmZnM2cmFzcmwzMmU0YTdhbG8gZ2RhdGEub3BzLmRlbW9AbQ' 520 title='alternate'></link> 521 <link rel='self' type='application/atom+xml' 522 href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo'> 523 </link> 524 <link rel='edit' type='application/atom+xml' 525 href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo/63310109146'> 526 </link> 527 <author> 528 <name>GData Ops Demo</name> 529 <email>gdata.ops.demo@gmail.com</email> 530 </author> 531 <gCal:sendEventNotifications value='false'> 532 </gCal:sendEventNotifications> 533 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 534 </gd:eventStatus> 535 <gd:comments> 536 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo/comments'> 537 </gd:feedLink> 538 </gd:comments> 539 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 540 </gd:visibility> 541 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 542 </gd:transparency> 543 <gd:when startTime='2007-03-24T20:00:00.000-07:00' 544 endTime='2007-03-24T21:00:00.000-07:00'> 545 <gd:reminder minutes='10'></gd:reminder> 546 </gd:when> 547 <gd:where></gd:where> 548 </entry> 549 <entry> 550 <id> 551 http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo</id> 552 <published>2007-03-20T21:24:43.000Z</published> 553 <updated>2007-03-20T21:25:08.000Z</updated> 554 <category scheme='http://schemas.google.com/g/2005#kind' 555 term='http://schemas.google.com/g/2005#event'></category> 556 <title type='text'>Dinner with Kim and Sarah</title> 557 <content type='text'></content> 558 <link rel='alternate' type='text/html' 559 href='http://www.google.com/calendar/event?eid=b2ZsMWU0NXVidHNvaDZndHUxMjdjbHMyb28gZ2RhdGEub3BzLmRlbW9AbQ' 560 title='alternate'></link> 561 <link rel='self' type='application/atom+xml' 562 href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo'> 563 </link> 564 <link rel='edit' type='application/atom+xml' 565 href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo/63310109108'> 566 </link> 567 <author> 568 <name>GData Ops Demo</name> 569 <email>gdata.ops.demo@gmail.com</email> 570 </author> 571 <gCal:sendEventNotifications value='false'> 572 </gCal:sendEventNotifications> 573 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 574 </gd:eventStatus> 575 <gd:comments> 576 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo/comments'> 577 </gd:feedLink> 578 </gd:comments> 579 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 580 </gd:visibility> 581 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 582 </gd:transparency> 583 <gd:when startTime='2007-03-20T19:00:00.000-07:00' 584 endTime='2007-03-20T21:30:00.000-07:00'> 585 <gd:reminder minutes='10'></gd:reminder> 586 </gd:when> 587 <gd:where></gd:where> 588 </entry> 589 <entry> 590 <id> 591 http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g</id> 592 <published>2007-03-20T21:24:19.000Z</published> 593 <updated>2007-03-20T21:25:05.000Z</updated> 594 <category scheme='http://schemas.google.com/g/2005#kind' 595 term='http://schemas.google.com/g/2005#event'></category> 596 <title type='text'>Dinner with Jane and John</title> 597 <content type='text'></content> 598 <link rel='alternate' type='text/html' 599 href='http://www.google.com/calendar/event?eid=YjY5czJhdmZpMmpvaWdzY2xlY3ZqbGM5MWcgZ2RhdGEub3BzLmRlbW9AbQ' 600 title='alternate'></link> 601 <link rel='self' type='application/atom+xml' 602 href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g'> 603 </link> 604 <link rel='edit' type='application/atom+xml' 605 href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g/63310109105'> 606 </link> 607 <author> 608 <name>GData Ops Demo</name> 609 <email>gdata.ops.demo@gmail.com</email> 610 </author> 611 <gCal:sendEventNotifications value='false'> 612 </gCal:sendEventNotifications> 613 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 614 </gd:eventStatus> 615 <gd:comments> 616 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g/comments'> 617 </gd:feedLink> 618 </gd:comments> 619 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 620 </gd:visibility> 621 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 622 </gd:transparency> 623 <gd:when startTime='2007-03-22T17:00:00.000-07:00' 624 endTime='2007-03-22T19:30:00.000-07:00'> 625 <gd:reminder minutes='10'></gd:reminder> 626 </gd:when> 627 <gd:where></gd:where> 628 </entry> 629 <entry> 630 <id> 631 http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc</id> 632 <published>2007-03-20T21:24:33.000Z</published> 633 <updated>2007-03-20T21:24:33.000Z</updated> 634 <category scheme='http://schemas.google.com/g/2005#kind' 635 term='http://schemas.google.com/g/2005#event'></category> 636 <title type='text'>Tennis with Elizabeth</title> 637 <content type='text'></content> 638 <link rel='alternate' type='text/html' 639 href='http://www.google.com/calendar/event?eid=dTlwNjZra2lvdG44YnFoOWs3ajRyY25qamMgZ2RhdGEub3BzLmRlbW9AbQ' 640 title='alternate'></link> 641 <link rel='self' type='application/atom+xml' 642 href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc'> 643 </link> 644 <link rel='edit' type='application/atom+xml' 645 href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc/63310109073'> 646 </link> 647 <author> 648 <name>GData Ops Demo</name> 649 <email>gdata.ops.demo@gmail.com</email> 650 </author> 651 <gCal:sendEventNotifications value='false'> 652 </gCal:sendEventNotifications> 653 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 654 </gd:eventStatus> 655 <gd:comments> 656 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc/comments'> 657 </gd:feedLink> 658 </gd:comments> 659 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 660 </gd:visibility> 661 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 662 </gd:transparency> 663 <gd:when startTime='2007-03-24T10:00:00.000-07:00' 664 endTime='2007-03-24T11:00:00.000-07:00'> 665 <gd:reminder minutes='10'></gd:reminder> 666 </gd:when> 667 <gd:where></gd:where> 668 </entry> 669 <entry> 670 <id> 671 http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c</id> 672 <published>2007-03-20T21:24:00.000Z</published> 673 <updated>2007-03-20T21:24:00.000Z</updated> 674 <category scheme='http://schemas.google.com/g/2005#kind' 675 term='http://schemas.google.com/g/2005#event'></category> 676 <title type='text'>Lunch with Jenn</title> 677 <content type='text'></content> 678 <link rel='alternate' type='text/html' 679 href='http://www.google.com/calendar/event?eid=NzZvajJrY2VpZG9iM3M3MDh0dmZudWFxM2MgZ2RhdGEub3BzLmRlbW9AbQ' 680 title='alternate'></link> 681 <link rel='self' type='application/atom+xml' 682 href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c'> 683 </link> 684 <link rel='edit' type='application/atom+xml' 685 href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c/63310109040'> 686 </link> 687 <author> 688 <name>GData Ops Demo</name> 689 <email>gdata.ops.demo@gmail.com</email> 690 </author> 691 <gCal:sendEventNotifications value='false'> 692 </gCal:sendEventNotifications> 693 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 694 </gd:eventStatus> 695 <gd:comments> 696 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c/comments'> 697 </gd:feedLink> 698 </gd:comments> 699 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 700 </gd:visibility> 701 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 702 </gd:transparency> 703 <gd:when startTime='2007-03-20T11:30:00.000-07:00' 704 endTime='2007-03-20T12:30:00.000-07:00'> 705 <gd:reminder minutes='10'></gd:reminder> 706 </gd:when> 707 <gd:where></gd:where> 708 </entry> 709 <entry> 710 <id> 711 http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco</id> 712 <published>2007-03-20T07:50:02.000Z</published> 713 <updated>2007-03-20T20:39:26.000Z</updated> 714 <category scheme='http://schemas.google.com/g/2005#kind' 715 term='http://schemas.google.com/g/2005#event'></category> 716 <title type='text'>test entry</title> 717 <content type='text'>test desc</content> 718 <link rel='alternate' type='text/html' 719 href='http://www.google.com/calendar/event?eid=NW5wOWVjOG03dW9hdWsxdmVkaDVtaG9kY28gZ2RhdGEub3BzLmRlbW9AbQ' 720 title='alternate'></link> 721 <link rel='self' type='application/atom+xml' 722 href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco'> 723 </link> 724 <link rel='edit' type='application/atom+xml' 725 href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco/63310106366'> 726 </link> 727 <author> 728 <name>GData Ops Demo</name> 729 <email>gdata.ops.demo@gmail.com</email> 730 </author> 731 <gCal:sendEventNotifications value='false'> 732 </gCal:sendEventNotifications> 733 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 734 </gd:eventStatus> 735 <gd:comments> 736 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco/comments'> 737 </gd:feedLink> 738 </gd:comments> 739 <gd:visibility value='http://schemas.google.com/g/2005#event.private'> 740 </gd:visibility> 741 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 742 </gd:transparency> 743 <gd:who rel='http://schemas.google.com/g/2005#event.attendee' 744 valueString='Vivian Li' email='vli@google.com'> 745 <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.declined'> 746 </gd:attendeeStatus> 747 </gd:who> 748 <gd:who rel='http://schemas.google.com/g/2005#event.organizer' 749 valueString='GData Ops Demo' email='gdata.ops.demo@gmail.com'> 750 <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.accepted'> 751 </gd:attendeeStatus> 752 </gd:who> 753 <gd:when startTime='2007-03-21T08:00:00.000-07:00' 754 endTime='2007-03-21T09:00:00.000-07:00'> 755 <gd:reminder minutes='10'></gd:reminder> 756 </gd:when> 757 <gd:where valueString='anywhere'></gd:where> 758 </entry> 759 <entry> 760 <id> 761 http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg</id> 762 <published>2007-02-14T23:23:37.000Z</published> 763 <updated>2007-02-14T23:25:30.000Z</updated> 764 <category scheme='http://schemas.google.com/g/2005#kind' 765 term='http://schemas.google.com/g/2005#event'></category> 766 <title type='text'>test</title> 767 <content type='text'></content> 768 <link rel='alternate' type='text/html' 769 href='http://www.google.com/calendar/event?eid=ZnU2c2wwcnFha2YzbzBhMTNvbzFpMWExbWcgZ2RhdGEub3BzLmRlbW9AbQ' 770 title='alternate'></link> 771 <link rel='self' type='application/atom+xml' 772 href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg'> 773 </link> 774 <link rel='edit' type='application/atom+xml' 775 href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg/63307178730'> 776 </link> 777 <link rel="http://schemas.google.com/gCal/2005/webContent" title="World Cup" href="http://www.google.com/calendar/images/google-holiday.gif" type="image/gif"> 778 <gCal:webContent width="276" height="120" url="http://www.google.com/logos/worldcup06.gif" /> 779 </link> 780 <author> 781 <name>GData Ops Demo</name> 782 <email>gdata.ops.demo@gmail.com</email> 783 </author> 784 <gCal:sendEventNotifications value='false'> 785 </gCal:sendEventNotifications> 786 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'> 787 </gd:eventStatus> 788 <gd:comments> 789 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg/comments'> 790 </gd:feedLink> 791 </gd:comments> 792 <gd:visibility value='http://schemas.google.com/g/2005#event.default'> 793 </gd:visibility> 794 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'> 795 </gd:transparency> 796 <gd:when startTime='2007-02-15T08:30:00.000-08:00' 797 endTime='2007-02-15T09:30:00.000-08:00'> 798 <gd:reminder minutes='10'></gd:reminder> 799 </gd:when> 800 <gd:where></gd:where> 801 </entry> 802 <entry> 803 <id> 804 http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc</id> 805 <published>2007-07-16T22:13:28.000Z</published> 806 <updated>2007-07-16T22:13:29.000Z</updated> 807 <category scheme='http://schemas.google.com/g/2005#kind' 808 term='http://schemas.google.com/g/2005#event' /> 809 <title type='text'></title> 810 <content type='text' /> 811 <link rel='alternate' type='text/html' 812 href='http://www.google.com/calendar/event?eid=aDdhMGhhYTRkYThzaWwzcnIxOWlhNmx1dmMgZ2RhdGEub3BzLmRlbW9AbQ' 813 title='alternate' /> 814 <link rel='http://schemas.google.com/gCal/2005/webContent' 815 type='application/x-google-gadgets+xml' 816 href='http://gdata.ops.demo.googlepages.com/birthdayicon.gif' 817 title='Date and Time Gadget'> 818 <gCal:webContent width='300' height='136' 819 url='http://google.com/ig/modules/datetime.xml'> 820 <gCal:webContentGadgetPref name='color' value='green' /> 821 </gCal:webContent> 822 </link> 823 <link rel='self' type='application/atom+xml' 824 href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc' /> 825 <link rel='edit' type='application/atom+xml' 826 href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc/63320307209' /> 827 <author> 828 <name>GData Ops Demo</name> 829 <email>gdata.ops.demo@gmail.com</email> 830 </author> 831 <gd:comments> 832 <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc/comments' /> 833 </gd:comments> 834 <gCal:sendEventNotifications value='false'> 835 </gCal:sendEventNotifications> 836 <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed' /> 837 <gd:visibility value='http://schemas.google.com/g/2005#event.default' /> 838 <gd:transparency value='http://schemas.google.com/g/2005#event.opaque' /> 839 <gd:when startTime='2007-03-14' endTime='2007-03-15' /> 840 <gd:where /> 841 </entry> 842</feed> 843""" 844 845CALENDAR_BATCH_REQUEST = """<?xml version='1.0' encoding='utf-8'?> 846<feed xmlns='http://www.w3.org/2005/Atom' 847 xmlns:batch='http://schemas.google.com/gdata/batch' 848 xmlns:gCal='http://schemas.google.com/gCal/2005'> 849 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 850 <entry> 851 <batch:id>1</batch:id> 852 <batch:operation type='insert' /> 853 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 854 <title type='text'>Event inserted via batch</title> 855 </entry> 856 <entry> 857 <batch:id>2</batch:id> 858 <batch:operation type='query' /> 859 <id>http://www.google.com/calendar/feeds/default/private/full/glcs0kv2qqa0gf52qi1jo018gc</id> 860 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 861 <title type='text'>Event queried via batch</title> 862 </entry> 863 <entry> 864 <batch:id>3</batch:id> 865 <batch:operation type='update' /> 866 <id>http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs</id> 867 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 868 <title type='text'>Event updated via batch</title> 869 <link rel='alternate' type='text/html' 870 href='http://www.google.com/calendar/event?eid=dWptMGdvNWR0bmdka3I2dTkxZGNxdmowcXMgaGFyaXNodi50ZXN0QG0' title='alternate' /> 871 <link rel='self' type='application/atom+xml' 872 href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs' /> 873 <link rel='edit' type='application/atom+xml' 874 href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs/63326098791' /> 875 </entry> 876 <entry> 877 <batch:id>4</batch:id> 878 <batch:operation type='delete' /> 879 <id>http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc</id> 880 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 881 <title type='text'>Event deleted via batch</title> 882 <link rel='alternate' type='text/html' 883 href='http://www.google.com/calendar/event?eid=ZDhxYmc5ZWdrMW42bGhzZ3Exc2picWZmcWMgaGFyaXNodi50ZXN0QG0' title='alternate' /> 884 <link rel='self' type='application/atom+xml' 885 href='http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc' /> 886 <link rel='edit' type='application/atom+xml' 887 href='http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc/63326018324' /> 888 </entry> 889</feed> 890""" 891 892CALENDAR_BATCH_RESPONSE = """<?xml version='1.0' encoding='UTF-8'?> 893<feed xmlns='http://www.w3.org/2005/Atom' 894 xmlns:batch='http://schemas.google.com/gdata/batch' 895 xmlns:gCal='http://schemas.google.com/gCal/2005'> 896 <id>http://www.google.com/calendar/feeds/default/private/full</id> 897 <updated>2007-09-21T23:01:00.380Z</updated> 898 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category> 899 <title type='text'>Batch Feed</title> 900 <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 901 href='http://www.google.com/calendar/feeds/default/private/full' /> 902 <link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 903 href='http://www.google.com/calendar/feeds/default/private/full' /> 904 <link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' 905 href='http://www.google.com/calendar/feeds/default/private/full/batch' /> 906 <entry> 907 <batch:id>1</batch:id> 908 <batch:status code='201' reason='Created' /> 909 <batch:operation type='insert' /> 910 <id>http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek</id> 911 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 912 <title type='text'>Event inserted via batch</title> 913 <link rel='alternate' type='text/html' 914 href='http://www.google.com/calendar/event?eid=bjl1Zzc4Z2Q5dHY1M3BwbjRoZGp2azY4ZWsgaGFyaXNodi50ZXN0QG0' title='alternate' /> 915 <link rel='self' type='application/atom+xml' 916 href='http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek' /> 917 <link rel='edit' type='application/atom+xml' 918 href='http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek/63326098860' /> 919 </entry> 920 <entry> 921 <batch:id>2</batch:id> 922 <batch:status code='200' reason='Success' /> 923 <batch:operation type='query' /> 924 <id>http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc</id> 925 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 926 <title type='text'>Event queried via batch</title> 927 <link rel='alternate' type='text/html' 928 href='http://www.google.com/calendar/event?eid=Z2xzYzBrdjJhcWEwZmY1MnFpMWpvMDE4Z2MgaGFyaXNodi50ZXN0QG0' title='alternate' /> 929 <link rel='self' type='application/atom+xml' 930 href='http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc' /> 931 <link rel='edit' type='application/atom+xml' 932 href='http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc/63326098791' /> 933 </entry> 934 <entry xmlns:gCal='http://schemas.google.com/gCal/2005'> 935 <batch:id>3</batch:id> 936 <batch:status code='200' reason='Success' /> 937 <batch:operation type='update' /> 938 <id>http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs</id> 939 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 940 <title type='text'>Event updated via batch</title> 941 <link rel='alternate' type='text/html' 942 href='http://www.google.com/calendar/event?eid=dWptMGdvNWR0bmdka3I2dTkxZGNxdmowcXMgaGFyaXNodi50ZXN0QG0' title='alternate' /> 943 <link rel='self' type='application/atom+xml' 944 href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs' /> 945 <link rel='edit' type='application/atom+xml' 946 href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs/63326098860' /> 947 <batch:id>3</batch:id> 948 <batch:status code='200' reason='Success' /> 949 <batch:operation type='update' /> 950 </entry> 951 <entry> 952 <batch:id>4</batch:id> 953 <batch:status code='200' reason='Success' /> 954 <batch:operation type='delete' /> 955 <id>http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc</id> 956 <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' /> 957 <title type='text'>Event deleted via batch</title> 958 <content type='text'>Deleted</content> 959 </entry> 960</feed> 961""" 962 963GBASE_ATTRIBUTE_FEED = """<?xml version='1.0' encoding='UTF-8'?> 964 <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0'> 965 <id>http://www.google.com/base/feeds/attributes</id> 966 <updated>2006-11-01T20:35:59.578Z</updated> 967 <category scheme='http://base.google.com/categories/itemtypes' term='online jobs'></category> 968 <category scheme='http://base.google.com/categories/itemtypes' term='jobs'></category> 969 <title type='text'>Attribute histogram for query: [item type:jobs]</title> 970 <link rel='alternate' type='text/html' href='http://base.google.com'></link> 971 <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/base/feeds 972/attributes'></link> 973 <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/-/jobs'></link> 974 <generator version='1.0' uri='http://base.google.com'>GoogleBase</generator> 975 <openSearch:totalResults>16</openSearch:totalResults> 976 <openSearch:startIndex>1</openSearch:startIndex> 977 <openSearch:itemsPerPage>16</openSearch:itemsPerPage> 978 <entry> 979 <id>http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D</id> 980 <updated>2006-11-01T20:36:00.100Z</updated> 981 <title type='text'>job industry(text)</title> 982 <content type='text'>Attribute"job industry" of type text. 983 </content> 984 <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/job+industry%28text 985%29N%5Bitem+type%3Ajobs%5D'></link> 986 <gm:attribute name='job industry' type='text' count='4416629'> 987 <gm:value count='380772'>it internet</gm:value> 988 <gm:value count='261565'>healthcare</gm:value> 989 <gm:value count='142018'>information technology</gm:value> 990 <gm:value count='124622'>accounting</gm:value> 991 <gm:value count='111311'>clerical and administrative</gm:value> 992 <gm:value count='82928'>other</gm:value> 993 <gm:value count='77620'>sales and sales management</gm:value> 994 <gm:value count='68764'>information systems</gm:value> 995 <gm:value count='65859'>engineering and architecture</gm:value> 996 <gm:value count='64757'>sales</gm:value> 997 </gm:attribute> 998 </entry> 999 </feed> 1000""" 1001 1002 1003GBASE_ATTRIBUTE_ENTRY = """<?xml version='1.0' encoding='UTF-8'?> 1004 <entry xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0'> 1005 <id>http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D</id> 1006 <updated>2006-11-01T20:36:00.100Z</updated> 1007 <title type='text'>job industry(text)</title> 1008 <content type='text'>Attribute"job industry" of type text. 1009 </content> 1010 <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D'></link> 1011 <gm:attribute name='job industry' type='text' count='4416629'> 1012 <gm:value count='380772'>it internet</gm:value> 1013 <gm:value count='261565'>healthcare</gm:value> 1014 <gm:value count='142018'>information technology</gm:value> 1015 <gm:value count='124622'>accounting</gm:value> 1016 <gm:value count='111311'>clerical and administrative</gm:value> 1017 <gm:value count='82928'>other</gm:value> 1018 <gm:value count='77620'>sales and sales management</gm:value> 1019 <gm:value count='68764'>information systems</gm:value> 1020 <gm:value count='65859'>engineering and architecture</gm:value> 1021 <gm:value count='64757'>sales</gm:value> 1022 </gm:attribute> 1023 </entry> 1024""" 1025 1026GBASE_LOCALES_FEED = """<?xml version='1.0' encoding='UTF-8'?> 1027<feed…
Large files files are truncated, but you can click here to view the full file