Explorar el Código

Added RSS test files for Pubsubhubbub getHubs() method at feel level

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18515 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic hace 16 años
padre
commit
5929425126

+ 10 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss090.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:atom="http://www.w3.org/2005/Atom"
+    xmlns="http://my.netscape.com/rdf/simple/0.9/">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rdf:RDF>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss091.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.91"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rss>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss092.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.92"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rss>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss093.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.93"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rss>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss094.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.94"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rss>

+ 10 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss10.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:atom="http://www.w3.org/2005/Atom"
+    xmlns="http://purl.org/rss/1.0/">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rdf:RDF>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/atom10/rss20.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="2.0"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+        <atom:link rel="hub" href="http://www.example.com/hub1"/>
+        <atom:link rel="hub" href="http://www.example.com/hub2"/>
+    </channel>
+</rss>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss090.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:atom="http://www.w3.org/2005/Atom"
+    xmlns="http://my.netscape.com/rdf/simple/0.9/">
+    <channel>
+    </channel>
+</rdf:RDF>

+ 6 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss091.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.91"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+    </channel>
+</rss>

+ 6 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss092.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.92"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+    </channel>
+</rss>

+ 6 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss093.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.93"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+    </channel>
+</rss>

+ 6 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss094.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="0.94"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+    </channel>
+</rss>

+ 8 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss10.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:atom="http://www.w3.org/2005/Atom"
+    xmlns="http://purl.org/rss/1.0/">
+    <channel>
+    </channel>
+</rdf:RDF>

+ 6 - 0
tests/Zend/Feed/Reader/Feed/_files/Rss/hubs/plain/none/rss20.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="2.0"
+xmlns:atom="http://www.w3.org/2005/Atom">
+    <channel>
+    </channel>
+</rss>