diff options
Diffstat (limited to 'zend/tests/Zend/Gdata/App/_files')
9 files changed, 123 insertions, 0 deletions
diff --git a/zend/tests/Zend/Gdata/App/_files/AuthorElementSample1.xml b/zend/tests/Zend/Gdata/App/_files/AuthorElementSample1.xml new file mode 100644 index 0000000..772b6f5 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/AuthorElementSample1.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<author xmlns="http://www.w3.org/2005/Atom"> + <name xmlns="http://www.w3.org/2005/Atom">John Doe</name> + <email xmlns="http://www.w3.org/2005/Atom">johndoes@someemailadress.com</email> + <uri xmlns="http://www.w3.org/2005/Atom">http://www.google.com</uri> +</author> diff --git a/zend/tests/Zend/Gdata/App/_files/CategoryElementSample1.xml b/zend/tests/Zend/Gdata/App/_files/CategoryElementSample1.xml new file mode 100644 index 0000000..2a8b609 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/CategoryElementSample1.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<category scheme="http://schemas.google.com/g/2005#kind" + term="http://schemas.google.com/g/2005#event" + label="event kind"></category> diff --git a/zend/tests/Zend/Gdata/App/_files/ContentElementSample1.xml b/zend/tests/Zend/Gdata/App/_files/ContentElementSample1.xml new file mode 100644 index 0000000..91acb5b --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/ContentElementSample1.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<content type="image/png" + src="http://www.example.com/image.png"/> diff --git a/zend/tests/Zend/Gdata/App/_files/ContentElementSample2.xml b/zend/tests/Zend/Gdata/App/_files/ContentElementSample2.xml new file mode 100644 index 0000000..18cdfc1 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/ContentElementSample2.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8"?> +<content type="xhtml"><img src="http://www.example.com/image.jpg"/></content> diff --git a/zend/tests/Zend/Gdata/App/_files/ControlElementSample1.xml b/zend/tests/Zend/Gdata/App/_files/ControlElementSample1.xml new file mode 100644 index 0000000..5fbd7ef --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/ControlElementSample1.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<control xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://purl.org/atom/app#"> + <app:draft>yes</app:draft> +</control> diff --git a/zend/tests/Zend/Gdata/App/_files/EntrySample1.xml b/zend/tests/Zend/Gdata/App/_files/EntrySample1.xml new file mode 100644 index 0000000..27de402 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/EntrySample1.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<entry xmlns="http://www.w3.org/2005/Atom"> + <title>Atom draft-07 snapshot</title> + <link rel="alternate" type="text/html" + href="http://example.org/2005/04/02/atom"/> + <link rel="enclosure" type="audio/mpeg" length="1337" + href="http://example.org/audio/ph34r_my_podcast.mp3"/> + <id>tag:example.org,2003:3.2397</id> + <updated>2005-07-31T12:29:29Z</updated> + <published>2003-12-13T08:29:29-04:00</published> + <author> + <name>Mark Pilgrim</name> + <uri>http://example.org/</uri> + <email>f8dy@example.com</email> + </author> + <contributor> + <name>Sam Ruby</name> + </contributor> + <contributor> + <name>Joe Gregorio</name> + </contributor> + <content type="xhtml" xml:lang="en" + xml:base="http://diveintomark.org/"> + <div xmlns="http://www.w3.org/1999/xhtml"> + <p><i>[Update: The Atom draft is finished.]</i></p> + </div> + </content> +</entry> diff --git a/zend/tests/Zend/Gdata/App/_files/EntrySampleHttp1.txt b/zend/tests/Zend/Gdata/App/_files/EntrySampleHttp1.txt new file mode 100644 index 0000000..33bdd0b --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/EntrySampleHttp1.txt @@ -0,0 +1,29 @@ +HTTP/1.1 200 OK +Content-Type: application/atom+xml; charset=UTF-8 +Last-Modified: Sun, 07 Sep 2008 17:53:51 GMT +Cache-Control: max-age=0 private +ETag: W/"CkcHQH8_fCp7ImA9WxRTGEw." +Date: Sun, 07 Sep 2008 21:23:39 GMT +Content-Length: 1450 +Server: GFE/1.3 + +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="http://www.google.com/url?sa=D&q=http://www.blogger.com/styles/atom.css" type="text/css"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/"CkcHQH8_fCp7ImA9WxRTGEw.""> + <id>tag:blogger.com,1999:blog-8273578352962669317.post-6938730899689776686</id> + <published>2008-09-07T10:53:00.001-07:00</published> + <updated>2008-09-07T10:53:51.144-07:00</updated> + <app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-07T10:53:51.144-07:00</app:edited> + <title>Hello world</title> + <content type="html"><p>Hello world!</p></content> + <link rel="alternate" type="text/html" href="http://www.google.com/url?sa=D&q=http://example.blogspot.com/2008/09/hello-world.html" title="Hello world"/> + <link rel="replies" type="text/html" href="http://www.google.com/url?sa=D&q=http://www.blogger.com/comment.g%3FblogID%3D12345678901234567890%26amp%3BpostID%3D09876543210987654321" title="0 Comments"/> + <link rel="replies" type="application/atom+xml" href="http://www.google.com/url?sa=D&q=http://example.blogspot.com/feeds/12345678901234567890/comments/default" title="Post Comments"/> + <link rel="self" type="application/atom+xml" href="http://www.google.com/url?sa=D&q=http://example.blogspot.com/feeds/posts/default/12345678901234567890"/> + <link rel="edit" type="application/atom+xml" href="http://www.google.com/url?sa=D&q=http://www.blogger.com/feeds/12345678901234567890/posts/default/09876543210987654321%3Fv%3D2"/> + <author> + <name>John Doe</name> + <uri>http://www.blogger.com/profile/12345678901234567890</uri> + <email>jdoe@example.com</email> + </author> +</entry> diff --git a/zend/tests/Zend/Gdata/App/_files/FeedSample1.xml b/zend/tests/Zend/Gdata/App/_files/FeedSample1.xml new file mode 100644 index 0000000..b1a4b36 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/FeedSample1.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <title type="text">dive into mark</title> + <subtitle type="html"> + A <em>lot</em> of effort + went into making this effortless + </subtitle> + <updated>2005-07-31T12:29:29Z</updated> + <id>tag:example.org,2003:3</id> + <link rel="alternate" type="text/html" + hreflang="en" href="http://example.org/"/> + <link rel="self" type="application/atom+xml" + href="http://example.org/feed.atom"/> + <rights>Copyright (c) 2003, Mark Pilgrim</rights> + <generator uri="http://www.example.com/" version="1.0"> + Example Toolkit + </generator> + <entry> + <title>Atom draft-07 snapshot</title> + <link rel="alternate" type="text/html" + href="http://example.org/2005/04/02/atom"/> + <link rel="enclosure" type="audio/mpeg" length="1337" + href="http://example.org/audio/ph34r_my_podcast.mp3"/> + <id>tag:example.org,2003:3.2397</id> + <updated>2005-07-31T12:29:29Z</updated> + <published>2003-12-13T08:29:29-04:00</published> + <author> + <name>Mark Pilgrim</name> + <uri>http://example.org/</uri> + <email>f8dy@example.com</email> + </author> + <contributor> + <name>Sam Ruby</name> + </contributor> + <contributor> + <name>Joe Gregorio</name> + </contributor> + <content type="xhtml" xml:lang="en" + xml:base="http://diveintomark.org/"> + <div xmlns="http://www.w3.org/1999/xhtml"> + <p><i>[Update: The Atom draft is finished.]</i></p> + </div> + </content> + </entry> +</feed> diff --git a/zend/tests/Zend/Gdata/App/_files/GeneratorElementSample1.xml b/zend/tests/Zend/Gdata/App/_files/GeneratorElementSample1.xml new file mode 100644 index 0000000..00ae021 --- /dev/null +++ b/zend/tests/Zend/Gdata/App/_files/GeneratorElementSample1.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8"?> +<generator xmlns="http://www.w3.org/2005/Atom" uri="http://code.google.com/apis/gdata/" version="1.0">Google data APIs</generator> |
