rename entrie handler
This commit is contained in:
6
testenv/testfeeds/rss/example/example-config.json
Normal file
6
testenv/testfeeds/rss/example/example-config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"FeedType": "rss",
|
||||
"FeedName": "example",
|
||||
"FeedUrl": "testfeeds/rss/feed.xml",
|
||||
"LinkType": "application/x-bittorrent"
|
||||
}
|
||||
211
testenv/testfeeds/rss/example/example.json
Normal file
211
testenv/testfeeds/rss/example/example.json
Normal file
@@ -0,0 +1,211 @@
|
||||
{
|
||||
"encoding": "utf-8",
|
||||
"version": "rss20",
|
||||
"namespaces": {},
|
||||
"bozo": 0,
|
||||
"entries": [
|
||||
{
|
||||
"title": "Star City",
|
||||
"title_detail": {
|
||||
"value": "Star City",
|
||||
"base": "",
|
||||
"type": "text/plain",
|
||||
"language": null
|
||||
},
|
||||
"published": "Tue, 03 Jun 2003 09:39:21 GMT",
|
||||
"summary": "How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href=\"http://howe.iki.rssi.ru/GCTC/gctc_e.htm\">Star City</a>.",
|
||||
"links": [
|
||||
{
|
||||
"rel": "alternate",
|
||||
"href": "http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp",
|
||||
"type": "text/html"
|
||||
}
|
||||
],
|
||||
"summary_detail": {
|
||||
"value": "How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href=\"http://howe.iki.rssi.ru/GCTC/gctc_e.htm\">Star City</a>.",
|
||||
"base": "",
|
||||
"type": "text/html",
|
||||
"language": null
|
||||
},
|
||||
"id": "http://liftoff.msfc.nasa.gov/2003/06/03.html#item573",
|
||||
"link": "http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp",
|
||||
"published_parsed": [
|
||||
2003,
|
||||
6,
|
||||
3,
|
||||
9,
|
||||
39,
|
||||
21,
|
||||
1,
|
||||
154,
|
||||
0
|
||||
],
|
||||
"guidislink": false
|
||||
},
|
||||
{
|
||||
"guidislink": true,
|
||||
"published": "Fri, 30 May 2003 11:06:42 GMT",
|
||||
"published_parsed": [
|
||||
2003,
|
||||
5,
|
||||
30,
|
||||
11,
|
||||
6,
|
||||
42,
|
||||
4,
|
||||
150,
|
||||
0
|
||||
],
|
||||
"summary": "Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a <a href=\"http://science.nasa.gov/headlines/y2003/30may_solareclipse.htm\">partial eclipse of the Sun</a> on Saturday, May 31st.",
|
||||
"summary_detail": {
|
||||
"value": "Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a <a href=\"http://science.nasa.gov/headlines/y2003/30may_solareclipse.htm\">partial eclipse of the Sun</a> on Saturday, May 31st.",
|
||||
"base": "",
|
||||
"type": "text/html",
|
||||
"language": null
|
||||
},
|
||||
"id": "http://liftoff.msfc.nasa.gov/2003/05/30.html#item572",
|
||||
"link": "http://liftoff.msfc.nasa.gov/2003/05/30.html#item572"
|
||||
},
|
||||
{
|
||||
"title": "The Engine That Does More",
|
||||
"title_detail": {
|
||||
"value": "The Engine That Does More",
|
||||
"base": "",
|
||||
"type": "text/plain",
|
||||
"language": null
|
||||
},
|
||||
"published": "Tue, 27 May 2003 08:37:32 GMT",
|
||||
"summary": "Before man travels to Mars, NASA hopes to design new engines that will let us fly through the Solar System more quickly. The proposed VASIMR engine would do that.",
|
||||
"links": [
|
||||
{
|
||||
"rel": "alternate",
|
||||
"href": "http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp",
|
||||
"type": "text/html"
|
||||
}
|
||||
],
|
||||
"summary_detail": {
|
||||
"value": "Before man travels to Mars, NASA hopes to design new engines that will let us fly through the Solar System more quickly. The proposed VASIMR engine would do that.",
|
||||
"base": "",
|
||||
"type": "text/html",
|
||||
"language": null
|
||||
},
|
||||
"id": "http://liftoff.msfc.nasa.gov/2003/05/27.html#item571",
|
||||
"link": "http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp",
|
||||
"published_parsed": [
|
||||
2003,
|
||||
5,
|
||||
27,
|
||||
8,
|
||||
37,
|
||||
32,
|
||||
1,
|
||||
147,
|
||||
0
|
||||
],
|
||||
"guidislink": false
|
||||
},
|
||||
{
|
||||
"title": "Astronauts' Dirty Laundry",
|
||||
"title_detail": {
|
||||
"value": "Astronauts' Dirty Laundry",
|
||||
"base": "",
|
||||
"type": "text/plain",
|
||||
"language": null
|
||||
},
|
||||
"published": "Tue, 20 May 2003 08:56:02 GMT",
|
||||
"summary": "Compared to earlier spacecraft, the International Space Station has many luxuries, but laundry facilities are not one of them. Instead, astronauts have other options.",
|
||||
"links": [
|
||||
{
|
||||
"rel": "alternate",
|
||||
"href": "http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp",
|
||||
"type": "text/html"
|
||||
}
|
||||
],
|
||||
"summary_detail": {
|
||||
"value": "Compared to earlier spacecraft, the International Space Station has many luxuries, but laundry facilities are not one of them. Instead, astronauts have other options.",
|
||||
"base": "",
|
||||
"type": "text/html",
|
||||
"language": null
|
||||
},
|
||||
"id": "http://liftoff.msfc.nasa.gov/2003/05/20.html#item570",
|
||||
"link": "http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp",
|
||||
"published_parsed": [
|
||||
2003,
|
||||
5,
|
||||
20,
|
||||
8,
|
||||
56,
|
||||
2,
|
||||
1,
|
||||
140,
|
||||
0
|
||||
],
|
||||
"guidislink": false
|
||||
}
|
||||
],
|
||||
"feed": {
|
||||
"title": "Liftoff News",
|
||||
"authors": [
|
||||
{}
|
||||
],
|
||||
"title_detail": {
|
||||
"value": "Liftoff News",
|
||||
"base": "",
|
||||
"type": "text/plain",
|
||||
"language": null
|
||||
},
|
||||
"published": "Tue, 10 Jun 2003 04:00:00 GMT",
|
||||
"generator_detail": {
|
||||
"name": "Weblog Editor 2.0"
|
||||
},
|
||||
"subtitle_detail": {
|
||||
"value": "Liftoff to Space Exploration.",
|
||||
"base": "",
|
||||
"type": "text/html",
|
||||
"language": null
|
||||
},
|
||||
"link": "http://liftoff.msfc.nasa.gov/",
|
||||
"language": "en-us",
|
||||
"publisher_detail": {
|
||||
"email": "webmaster@example.com"
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"rel": "alternate",
|
||||
"href": "http://liftoff.msfc.nasa.gov/",
|
||||
"type": "text/html"
|
||||
}
|
||||
],
|
||||
"docs": "http://blogs.law.harvard.edu/tech/rss",
|
||||
"subtitle": "Liftoff to Space Exploration.",
|
||||
"author_detail": {
|
||||
"email": "editor@example.com"
|
||||
},
|
||||
"publisher": "webmaster@example.com",
|
||||
"updated_parsed": [
|
||||
2003,
|
||||
6,
|
||||
10,
|
||||
9,
|
||||
41,
|
||||
1,
|
||||
1,
|
||||
161,
|
||||
0
|
||||
],
|
||||
"published_parsed": [
|
||||
2003,
|
||||
6,
|
||||
10,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
161,
|
||||
0
|
||||
],
|
||||
"updated": "Tue, 10 Jun 2003 09:41:01 GMT",
|
||||
"author": "editor@example.com",
|
||||
"generator": "Weblog Editor 2.0"
|
||||
}
|
||||
}
|
||||
41
testenv/testfeeds/rss/example/feed.xml
Normal file
41
testenv/testfeeds/rss/example/feed.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>Liftoff News</title>
|
||||
<link>http://liftoff.msfc.nasa.gov/</link>
|
||||
<description>Liftoff to Space Exploration.</description>
|
||||
<language>en-us</language>
|
||||
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
|
||||
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
|
||||
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
||||
<generator>Weblog Editor 2.0</generator>
|
||||
<managingEditor>editor@example.com</managingEditor>
|
||||
<webMaster>webmaster@example.com</webMaster>
|
||||
<item>
|
||||
<title>Star City</title>
|
||||
<link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link>
|
||||
<description>How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href="http://howe.iki.rssi.ru/GCTC/gctc_e.htm">Star City</a>.</description>
|
||||
<pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
|
||||
<guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid>
|
||||
</item>
|
||||
<item>
|
||||
<description>Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a <a href="http://science.nasa.gov/headlines/y2003/30may_solareclipse.htm">partial eclipse of the Sun</a> on Saturday, May 31st.</description>
|
||||
<pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
|
||||
<guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>The Engine That Does More</title>
|
||||
<link>http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp</link>
|
||||
<description>Before man travels to Mars, NASA hopes to design new engines that will let us fly through the Solar System more quickly. The proposed VASIMR engine would do that.</description>
|
||||
<pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
|
||||
<guid>http://liftoff.msfc.nasa.gov/2003/05/27.html#item571</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>Astronauts' Dirty Laundry</title>
|
||||
<link>http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp</link>
|
||||
<description>Compared to earlier spacecraft, the International Space Station has many luxuries, but laundry facilities are not one of them. Instead, astronauts have other options.</description>
|
||||
<pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
|
||||
<guid>http://liftoff.msfc.nasa.gov/2003/05/20.html#item570</guid>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user