mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-11-11 23:07:54 +03:00
rebuilt tests using tape, prova.
This commit is contained in:
1 parent
95de8eb395
commit
d0935730b8
17 files changed
+597
-495
No files matched your search
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<generator>RSS for Node</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<author><![CDATA[Dylan Greene]]></author>
|
||||
<pubDate>Sun, 20 May 2012 04:00:00 GMT</pubDate>
|
||||
<language><![CDATA[en]]></language>
|
||||
<ttl>60</ttl>
|
||||
<itunes:subtitle>A show about everything</itunes:subtitle>
|
||||
<itunes:author>John Doe</itunes:author>
|
||||
<itunes:summary>All About Everything is a show about everything. Each week we dive into any subject known to man and talk about it as much as we can. Look for our podcast in the Podcasts app or in the iTunes Store</itunes:summary>
|
||||
<itunes:owner>
|
||||
<itunes:name>John Doe</itunes:name>
|
||||
<itunes:email>john.doe@example.com</itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything.jpg"/>
|
||||
<itunes:category text="Technology">
|
||||
<itunes:category text="Gadgets"/>
|
||||
</itunes:category>
|
||||
<item>
|
||||
<title><![CDATA[item 1]]></title>
|
||||
<description><![CDATA[description 1]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
<itunes:author>John Doe</itunes:author>
|
||||
<itunes:subtitle>A short primer on table spices</itunes:subtitle>
|
||||
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything/Episode1.jpg"/>
|
||||
<itunes:duration>7:04</itunes:duration>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<generator>RSS for Node</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<author><![CDATA[Dylan Greene]]></author>
|
||||
<pubDate>Sun, 20 May 2012 04:00:00 GMT</pubDate>
|
||||
<language><![CDATA[en]]></language>
|
||||
<ttl>60</ttl>
|
||||
<itunes:subtitle>A show about everything</itunes:subtitle>
|
||||
<itunes:author>John Doe</itunes:author>
|
||||
<itunes:summary>All About Everything is a show about everything. Each week we dive into any subject known to man and talk about it as much as we can. Look for our podcast in the Podcasts app or in the iTunes Store</itunes:summary>
|
||||
<itunes:owner>
|
||||
<itunes:name>John Doe</itunes:name>
|
||||
<itunes:email>john.doe@example.com</itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything.jpg"/>
|
||||
<itunes:category text="Technology">
|
||||
<itunes:category text="Gadgets"/>
|
||||
</itunes:category>
|
||||
<item>
|
||||
<title><![CDATA[item 1]]></title>
|
||||
<description><![CDATA[description 1]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
<itunes:author>John Doe</itunes:author>
|
||||
<itunes:subtitle>A short primer on table spices</itunes:subtitle>
|
||||
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything/Episode1.jpg"/>
|
||||
<itunes:duration>7:04</itunes:duration>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Untitled RSS Feed]]></title><description><![CDATA[Untitled RSS Feed]]></description><link>http://github.com/dylang/node-rss</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate></channel></rss>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Untitled RSS Feed]]></title><description><![CDATA[Untitled RSS Feed]]></description><link>http://github.com/dylang/node-rss</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate><item><title><![CDATA[No title]]></title><guid isPermaLink="false">No title</guid></item></channel></rss>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<generator>RSS for Node</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<author><![CDATA[Dylan Greene]]></author>
|
||||
<item>
|
||||
<title><![CDATA[item 1]]></title>
|
||||
<description><![CDATA[description 1]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 2]]></title>
|
||||
<description><![CDATA[description 2]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
<enclosure url="/media/some-file.flv" length="0" type="video/x-flv"/>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 3]]></title>
|
||||
<description><![CDATA[description 3]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
<enclosure url="/media/image.png" length="16650" type="image/png"/>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<generator>RSS for Node</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<author><![CDATA[Dylan Greene]]></author>
|
||||
<item>
|
||||
<title><![CDATA[item 1]]></title>
|
||||
<description><![CDATA[description 1]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
<geo:lat>12232</geo:lat>
|
||||
<geo:long>13333.23323</geo:long>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 2]]></title>
|
||||
<description><![CDATA[description 2]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<generator>RSS for Node</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="http://example.com/hub" rel="hub"/>
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[title]]></title><description><![CDATA[description]]></description><link>http://example.com</link><image><url>http://example.com/icon.png</url><title>title</title><link>http://example.com</link></image><generator>Example Generator</generator><lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate><atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/><author><![CDATA[Dylan Greene]]></author><pubDate>Sun, 20 May 2012 04:00:00 GMT</pubDate><copyright><![CDATA[2013 Dylan Green]]></copyright><language><![CDATA[en]]></language><managingEditor><![CDATA[Dylan Green]]></managingEditor><webMaster><![CDATA[Dylan Green]]></webMaster><docs>http://example.com/rss/docs.html</docs><ttl>60</ttl><category><![CDATA[Category 1]]></category><category><![CDATA[Category 2]]></category><category><![CDATA[Category 3]]></category><item><title><![CDATA[item 1]]></title><description><![CDATA[description 1]]></description><link>http://example.com/article1</link><guid isPermaLink="true">http://example.com/article1</guid><dc:creator><![CDATA[Dylan Greene]]></dc:creator><pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate></item><item><title><![CDATA[item 2]]></title><description><![CDATA[description 2]]></description><link>http://example.com/article2</link><guid isPermaLink="true">http://example.com/article2</guid><dc:creator><![CDATA[Dylan Greene]]></dc:creator><pubDate>Fri, 25 May 2012 04:00:00 GMT</pubDate></item><item><title><![CDATA[item 3]]></title><description><![CDATA[description 3]]></description><link>http://example.com/article3</link><guid isPermaLink="false">item3</guid><dc:creator><![CDATA[Dylan Greene]]></dc:creator><pubDate>Sat, 26 May 2012 04:00:00 GMT</pubDate></item><item><title><![CDATA[item 4 & html test with <strong>]]></title><description><![CDATA[description 4 uses some <strong>html</strong>]]></description><link>http://example.com/article4?this&that</link><guid isPermaLink="true">http://example.com/article4?this&that</guid><dc:creator><![CDATA[Guest Author]]></dc:creator><pubDate>Sun, 27 May 2012 04:00:00 GMT</pubDate></item><item><title><![CDATA[item 5 & test for categories]]></title><description><![CDATA[description 5]]></description><link>http://example.com/article5</link><guid isPermaLink="true">http://example.com/article5</guid><category><![CDATA[Category 1]]></category><category><![CDATA[Category 2]]></category><category><![CDATA[Category 3]]></category><category><![CDATA[Category 4]]></category><dc:creator><![CDATA[Guest Author]]></dc:creator><pubDate>Mon, 28 May 2012 04:00:00 GMT</pubDate></item></channel></rss>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title><![CDATA[title]]></title>
|
||||
<description><![CDATA[description]]></description>
|
||||
<link>http://example.com</link>
|
||||
<image>
|
||||
<url>http://example.com/icon.png</url>
|
||||
<title>title</title>
|
||||
<link>http://example.com</link>
|
||||
</image>
|
||||
<generator>Example Generator</generator>
|
||||
<lastBuildDate>Wed, 10 Dec 2014 19:04:57 GMT</lastBuildDate>
|
||||
<atom:link href="http://example.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<author><![CDATA[Dylan Greene]]></author>
|
||||
<pubDate>Sun, 20 May 2012 04:00:00 GMT</pubDate>
|
||||
<copyright><![CDATA[2013 Dylan Green]]></copyright>
|
||||
<language><![CDATA[en]]></language>
|
||||
<managingEditor><![CDATA[Dylan Green]]></managingEditor>
|
||||
<webMaster><![CDATA[Dylan Green]]></webMaster>
|
||||
<docs>http://example.com/rss/docs.html</docs>
|
||||
<ttl>60</ttl>
|
||||
<category><![CDATA[Category 1]]></category>
|
||||
<category><![CDATA[Category 2]]></category>
|
||||
<category><![CDATA[Category 3]]></category>
|
||||
<item>
|
||||
<title><![CDATA[item 1]]></title>
|
||||
<description><![CDATA[description 1]]></description>
|
||||
<link>http://example.com/article1</link>
|
||||
<guid isPermaLink="true">http://example.com/article1</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Thu, 24 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 2]]></title>
|
||||
<description><![CDATA[description 2]]></description>
|
||||
<link>http://example.com/article2</link>
|
||||
<guid isPermaLink="true">http://example.com/article2</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Fri, 25 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 3]]></title>
|
||||
<description><![CDATA[description 3]]></description>
|
||||
<link>http://example.com/article3</link>
|
||||
<guid isPermaLink="false">item3</guid>
|
||||
<dc:creator><![CDATA[Dylan Greene]]></dc:creator>
|
||||
<pubDate>Sat, 26 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 4 & html test with <strong>]]></title>
|
||||
<description><![CDATA[description 4 uses some <strong>html</strong>]]></description>
|
||||
<link>http://example.com/article4?this&that</link>
|
||||
<guid isPermaLink="true">http://example.com/article4?this&that</guid>
|
||||
<dc:creator><![CDATA[Guest Author]]></dc:creator>
|
||||
<pubDate>Sun, 27 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title><![CDATA[item 5 & test for categories]]></title>
|
||||
<description><![CDATA[description 5]]></description>
|
||||
<link>http://example.com/article5</link>
|
||||
<guid isPermaLink="true">http://example.com/article5</guid>
|
||||
<category><![CDATA[Category 1]]></category>
|
||||
<category><![CDATA[Category 2]]></category>
|
||||
<category><![CDATA[Category 3]]></category>
|
||||
<category><![CDATA[Category 4]]></category>
|
||||
<dc:creator><![CDATA[Guest Author]]></dc:creator>
|
||||
<pubDate>Mon, 28 May 2012 04:00:00 GMT</pubDate>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in new issue
Block a user