01-rss.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. exports.name = "RSS (2.0)";
  2. exports.file = "/RSS_Example.xml";
  3. exports.expected = {
  4. type: "rss",
  5. id: "",
  6. title: "Liftoff News",
  7. link: "http://liftoff.msfc.nasa.gov/",
  8. description: "Liftoff to Space Exploration.",
  9. updated: new Date("Tue, 10 Jun 2003 09:41:01 GMT"),
  10. author: "editor@example.com",
  11. items: [{
  12. id: "http://liftoff.msfc.nasa.gov/2003/06/03.html#item573",
  13. title: "Star City",
  14. link: "http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp",
  15. 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>.",
  16. pubDate: new Date("Tue, 03 Jun 2003 09:39:21 GMT")
  17. }, {
  18. id: "http://liftoff.msfc.nasa.gov/2003/05/30.html#item572",
  19. 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.",
  20. pubDate: new Date("Fri, 30 May 2003 11:06:42 GMT")
  21. }, {
  22. id: "http://liftoff.msfc.nasa.gov/2003/05/27.html#item571",
  23. title: "The Engine That Does More",
  24. link: "http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp",
  25. 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.",
  26. pubDate: new Date("Tue, 27 May 2003 08:37:32 GMT")
  27. }, {
  28. id: "http://liftoff.msfc.nasa.gov/2003/05/20.html#item570",
  29. title: "Astronauts' Dirty Laundry",
  30. link: "http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp",
  31. 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.",
  32. pubDate: new Date("Tue, 20 May 2003 08:56:02 GMT")
  33. }]
  34. };