diff options
Diffstat (limited to 'zend/tests/Zend/Gdata/Photos/_files')
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestAlbumEntry.xml | 40 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestAlbumFeed.xml | 139 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestCommentEntry.xml | 21 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestPhotoEntry.xml | 51 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestPhotoFeed.xml | 87 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestTagEntry.xml | 14 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestUserEntry.xml | 19 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/TestUserFeed.xml | 132 | ||||
| -rwxr-xr-x | zend/tests/Zend/Gdata/Photos/_files/test.jpg | bin | 0 -> 14249 bytes |
9 files changed, 503 insertions, 0 deletions
diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestAlbumEntry.xml b/zend/tests/Zend/Gdata/Photos/_files/TestAlbumEntry.xml new file mode 100755 index 0000000..70bef7a --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestAlbumEntry.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1</id> + <published>2007-09-05T07:00:00.000Z</published> + <updated>2007-09-05T20:49:24.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#album"/> + <title type="text">Test</title> + <summary type="text"/> + <rights type="text">public</rights> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + <gphoto:id>1</gphoto:id> + <gphoto:name>Test</gphoto:name> + <gphoto:location/> + <gphoto:access>public</gphoto:access> + <gphoto:timestamp>1188975600000</gphoto:timestamp> + <gphoto:numphotos>2</gphoto:numphotos> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">Test</media:title> + <media:description type="plain"/> + <media:keywords/> + <media:content url="http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/Test.jpg" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpg" height="160" width="160"/> + <media:credit>sample</media:credit> + </media:group> + <georss:where> + <gml:Point> + <gml:pos>42.87194 13.56738</gml:pos> + </gml:Point> + </georss:where> +</entry> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestAlbumFeed.xml b/zend/tests/Zend/Gdata/Photos/_files/TestAlbumFeed.xml new file mode 100755 index 0000000..b8758a3 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestAlbumFeed.xml @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1</id> + <updated>2007-09-21T18:23:05.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#album"/> + <title type="text">Test</title> + <subtitle type="text"/> + <rights type="text">public</rights> + <icon>http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpg</icon> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test"/> + <link rel="http://schemas.google.com/photos/2007#slideshow" type="application/x-shockwave-flash" href="http://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fsample.user%2Falbumid%2F1%3Falt%3Drss"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?start-index=1&max-results=500&kind=photo%2Ctag"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + <generator version="1.00" uri="http://picasaweb.google.com/">Picasaweb</generator> + <openSearch:totalResults>4</openSearch:totalResults> + <openSearch:startIndex>1</openSearch:startIndex> + <openSearch:itemsPerPage>500</openSearch:itemsPerPage> + <gphoto:id>1</gphoto:id> + <gphoto:name>Test</gphoto:name> + <gphoto:location/> + <gphoto:access>public</gphoto:access> + <gphoto:timestamp>1188975600000</gphoto:timestamp> + <gphoto:numphotos>2</gphoto:numphotos> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/2</id> + <published>2007-09-05T20:49:23.000Z</published> + <updated>2007-09-21T18:23:05.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">Aqua Blue.jpg</title> + <summary type="text">Blue</summary> + <content type="image/jpeg" src="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/2"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#2"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/2"/> + <gphoto:id>2</gphoto:id> + <gphoto:version>1190398985145172</gphoto:version> + <gphoto:position>0.0</gphoto:position> + <gphoto:albumid>1</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>883405</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025362000</gphoto:timestamp> + <exif:tags> + <exif:flash>true</exif:flash> + <exif:imageUniqueID>c041ce17aaa637eb656c81d9cf526c24</exif:imageUniqueID> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>1</gphoto:commentCount> + <media:group> + <media:title type="plain">Aqua Blue.jpg</media:title> + <media:description type="plain">Blue</media:description> + <media:keywords>tag, test</media:keywords> + <media:content url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s72/Aqua%20Blue.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s144/Aqua%20Blue.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s288/Aqua%20Blue.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + <georss:where> + <gml:Point> + <gml:pos>41.87194 12.56738</gml:pos> + </gml:Point> + </georss:where> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/3</id> + <published>2007-09-05T20:49:24.000Z</published> + <updated>2007-09-21T18:19:38.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">Aqua Graphite.jpg</title> + <summary type="text">Gray</summary> + <content type="image/jpeg" src="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/3"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#3"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/3"/> + <gphoto:id>3</gphoto:id> + <gphoto:version>1190398778006402</gphoto:version> + <gphoto:position>1.0</gphoto:position> + <gphoto:albumid>1</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>798334</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025363000</gphoto:timestamp> + <exif:tags> + <exif:flash>true</exif:flash> + <exif:imageUniqueID>a5ce2e36b9df7d3cb081511c72e73926</exif:imageUniqueID> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">Aqua Graphite.jpg</media:title> + <media:description type="plain">Gray</media:description> + <media:keywords/> + <media:content url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s72/Aqua%20Graphite.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s144/Aqua%20Graphite.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s288/Aqua%20Graphite.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag</id> + <updated>2007-09-05T20:49:24.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/> + <title type="text">tag</title> + <summary type="text">tag</summary> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=tag&psc=G&uname=sample.user&filter=0"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test</id> + <updated>2007-09-05T20:49:24.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/> + <title type="text">test</title> + <summary type="text">test</summary> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=test&psc=G&uname=sample.user&filter=0"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + </entry> +</feed> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestCommentEntry.xml b/zend/tests/Zend/Gdata/Photos/_files/TestCommentEntry.xml new file mode 100755 index 0000000..5b3d423 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestCommentEntry.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/commentid/5</id> + <published>2007-09-21T18:22:53.000Z</published> + <updated>2007-09-21T18:22:53.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#comment"/> + <title type="text">sample</title> + <summary type="text">test comment</summary> + <content type="text">test comment</content> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#100"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/commentid/5"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:thumbnail>http://lh5.google.com/sample.user/AAAAuZnob5E/AAAAAAAAAAA/EtCbNCdLGxM/s48-c/sample.user</gphoto:thumbnail> + </author> + <gphoto:id>5</gphoto:id> + <gphoto:photoid>100</gphoto:photoid> +</entry> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestPhotoEntry.xml b/zend/tests/Zend/Gdata/Photos/_files/TestPhotoEntry.xml new file mode 100755 index 0000000..2f6e4b5 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestPhotoEntry.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100</id> + <published>2007-09-05T20:49:24.000Z</published> + <updated>2007-09-21T18:19:38.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">Aqua Graphite.jpg</title> + <summary type="text">Gray</summary> + <content type="image/jpeg" src="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/100"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#100"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100"/> + <gphoto:id>100</gphoto:id> + <gphoto:version>1190398778006402</gphoto:version> + <gphoto:albumid>1</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>798334</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025363000</gphoto:timestamp> + <exif:tags> + <exif:fstop>11.0</exif:fstop> + <exif:exposure>0.0040</exif:exposure> + <exif:flash>true</exif:flash> + <exif:focallength>22.0</exif:focallength> + <exif:iso>200</exif:iso> + <exif:time>1180950900000</exif:time> + <exif:imageUniqueID>a5ce2e36b9df7d3cb081511c72e73926</exif:imageUniqueID> + <exif:distance>0.0</exif:distance> + <exif:make>Fictitious Camera Company</exif:make> + <exif:model>AMAZING-100D</exif:model> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">Aqua Graphite.jpg</media:title> + <media:description type="plain">Gray</media:description> + <media:keywords/> + <media:content url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s72/Aqua%20Graphite.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s144/Aqua%20Graphite.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s288/Aqua%20Graphite.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + <georss:where> + <gml:Point> + <gml:pos>41.87194 12.56738</gml:pos> + </gml:Point> + </georss:where> +</entry> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestPhotoFeed.xml b/zend/tests/Zend/Gdata/Photos/_files/TestPhotoFeed.xml new file mode 100755 index 0000000..ea3fb8f --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestPhotoFeed.xml @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/100</id> + <updated>2007-09-21T18:23:05.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">Aqua Blue.jpg</title> + <subtitle type="text">Blue</subtitle> + <icon>http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s288/Aqua%20Blue.jpg</icon> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/100"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#100"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/100?start-index=1&max-results=500&kind=tag%2Ccomment"/> + <generator version="1.00" uri="http://picasaweb.google.com/">Picasaweb</generator> + <openSearch:totalResults>3</openSearch:totalResults> + <openSearch:startIndex>1</openSearch:startIndex> + <openSearch:itemsPerPage>500</openSearch:itemsPerPage> + <gphoto:id>100</gphoto:id> + <gphoto:version>1190398985145172</gphoto:version> + <gphoto:albumid>1</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>883405</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025362000</gphoto:timestamp> + <exif:tags> + <exif:flash>true</exif:flash> + <exif:imageUniqueID>c041ce17aaa637eb656c81d9cf526c24</exif:imageUniqueID> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>1</gphoto:commentCount> + <media:group> + <media:title type="plain">Aqua Blue.jpg</media:title> + <media:description type="plain">Blue</media:description> + <media:keywords>tag, test</media:keywords> + <media:content url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s72/Aqua%20Blue.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s144/Aqua%20Blue.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s288/Aqua%20Blue.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/tag/tag</id> + <updated>2007-09-21T18:23:05.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/> + <title type="text">tag</title> + <summary type="text">tag</summary> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=tag&psc=G&uname=sample.user&filter=0"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/tag/tag"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/tag/test</id> + <updated>2007-09-21T18:23:05.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/> + <title type="text">test</title> + <summary type="text">test</summary> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=test&psc=G&uname=sample.user&filter=0"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/tag/test"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/commentid/5</id> + <published>2007-09-21T18:22:53.000Z</published> + <updated>2007-09-21T18:22:53.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#comment"/> + <title type="text">sample</title> + <summary type="text">test comment</summary> + <content type="text">test comment</content> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#100"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/100/commentid/5"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:thumbnail>http://lh5.google.com/sample.user/AAAAuZnob5E/AAAAAAAAAAA/EtCbNCdLGxM/s48-c/sample.user</gphoto:thumbnail> + </author> + <gphoto:id>5</gphoto:id> + <gphoto:photoid>100</gphoto:photoid> + </entry> +</feed> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestTagEntry.xml b/zend/tests/Zend/Gdata/Photos/_files/TestTagEntry.xml new file mode 100755 index 0000000..6e00dd5 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestTagEntry.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/tag/tag</id> + <updated>1970-01-01T00:01:01.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/> + <title type="text">tag</title> + <summary type="text">tag</summary> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=tag&psc=G&uname=sample.user&filter=0"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/tag/tag"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> +</entry> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestUserEntry.xml b/zend/tests/Zend/Gdata/Photos/_files/TestUserEntry.xml new file mode 100755 index 0000000..759818c --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestUserEntry.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user</id> + <published>2007-09-24T23:45:49.059Z</published> + <updated>2007-09-24T23:45:49.059Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#user"/> + <title type="text">sample.user</title> + <summary type="text"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:thumbnail>http://lh5.google.com/sample.user/AAAAuZnob5E/AAAAAAAAAAA/EtCbNCdLGxM/s64-c/sample.user</gphoto:thumbnail> +</entry> diff --git a/zend/tests/Zend/Gdata/Photos/_files/TestUserFeed.xml b/zend/tests/Zend/Gdata/Photos/_files/TestUserFeed.xml new file mode 100755 index 0000000..58dd6b4 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/TestUserFeed.xml @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gphoto="http://schemas.google.com/photos/2007"> + <id>http://picasaweb.google.com/data/feed/api/user/sample.user</id> + <updated>2007-09-20T21:09:39.111Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#user"/> + <title type="text">sample.user</title> + <subtitle type="text"/> + <icon>http://lh5.google.com/sample.user/AAAAuZnob5E/AAAAAAAAAAA/EtCbNCdLGxM/s64-c/sample.user</icon> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user"/> + <link rel="http://schemas.google.com/photos/2007#slideshow" type="application/x-shockwave-flash" href="http://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fsample.user%3Falt%3Drss"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user?start-index=1&max-results=100&kind=album%2Cphoto%2Ctag"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + <generator version="1.00" uri="http://picasaweb.google.com/">Picasaweb</generator> + <openSearch:totalResults>4</openSearch:totalResults> + <openSearch:startIndex>1</openSearch:startIndex> + <openSearch:itemsPerPage>100</openSearch:itemsPerPage> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:thumbnail>http://lh5.google.com/sample.user/AAAAuZnob5E/AAAAAAAAAAA/EtCbNCdLGxM/s64-c/sample.user</gphoto:thumbnail> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100</id> + <published>2007-09-05T07:00:00.000Z</published> + <updated>2007-09-05T20:49:24.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#album"/> + <title type="text">Test</title> + <summary type="text"/> + <rights type="text">public</rights> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/100"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100"/> + <author> + <name>sample</name> + <uri>http://picasaweb.google.com/sample.user</uri> + </author> + <gphoto:id>100</gphoto:id> + <gphoto:name>Test</gphoto:name> + <gphoto:location/> + <gphoto:access>public</gphoto:access> + <gphoto:timestamp>1188975600000</gphoto:timestamp> + <gphoto:numphotos>2</gphoto:numphotos> + <gphoto:user>sample.user</gphoto:user> + <gphoto:nickname>sample</gphoto:nickname> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">Test</media:title> + <media:description type="plain"/> + <media:keywords/> + <media:content url="http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/Test.jpg" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpg" height="160" width="160"/> + <media:credit>sample</media:credit> + </media:group> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100/photoid/2</id> + <published>2007-09-05T20:49:24.000Z</published> + <updated>2007-09-05T20:49:23.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">Second.jpg</title> + <summary type="text"/> + <content type="image/jpeg" src="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/100/photoid/2"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#2"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100/photoid/2"/> + <gphoto:id>2</gphoto:id> + <gphoto:version>1189025363424891</gphoto:version> + <gphoto:albumid>100</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>798334</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025363000</gphoto:timestamp> + <exif:tags xmlns:exif="http://schemas.google.com/photos/exif/2007"> + <exif:flash>true</exif:flash> + <exif:imageUniqueID>a5ce2e36b9df7d3cb081511c72e73926</exif:imageUniqueID> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">Second.jpg</media:title> + <media:description type="plain"/> + <media:keywords/> + <media:content url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s72/Aqua%20Graphite.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s144/Aqua%20Graphite.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s288/Aqua%20Graphite.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + </entry> + <entry> + <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100/photoid/1</id> + <published>2007-09-05T20:49:23.000Z</published> + <updated>2007-09-05T20:49:22.000Z</updated> + <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/> + <title type="text">First.jpg</title> + <summary type="text"/> + <content type="image/jpeg" src="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg"/> + <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/100/photoid/1"/> + <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#1"/> + <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/100/photoid/1"/> + <gphoto:id>1</gphoto:id> + <gphoto:version>1189025362423722</gphoto:version> + <gphoto:albumid>100</gphoto:albumid> + <gphoto:width>2560</gphoto:width> + <gphoto:height>1600</gphoto:height> + <gphoto:size>883405</gphoto:size> + <gphoto:client/> + <gphoto:checksum/> + <gphoto:timestamp>1189025362000</gphoto:timestamp> + <exif:tags xmlns:exif="http://schemas.google.com/photos/exif/2007"> + <exif:flash>true</exif:flash> + <exif:imageUniqueID>c041ce17aaa637eb656c81d9cf526c24</exif:imageUniqueID> + </exif:tags> + <gphoto:commentingEnabled>true</gphoto:commentingEnabled> + <gphoto:commentCount>0</gphoto:commentCount> + <media:group> + <media:title type="plain">First.jpg</media:title> + <media:description type="plain"/> + <media:keywords/> + <media:content url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s72/Aqua%20Blue.jpg" height="45" width="72"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s144/Aqua%20Blue.jpg" height="90" width="144"/> + <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s288/Aqua%20Blue.jpg" height="180" width="288"/> + <media:credit>sample</media:credit> + </media:group> + </entry> +</feed> diff --git a/zend/tests/Zend/Gdata/Photos/_files/test.jpg b/zend/tests/Zend/Gdata/Photos/_files/test.jpg Binary files differnew file mode 100755 index 0000000..d4a5a10 --- /dev/null +++ b/zend/tests/Zend/Gdata/Photos/_files/test.jpg |
