aboutsummaryrefslogtreecommitdiff
path: root/node_modules/htmlparser2/test/Feeds/03-rdf.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/htmlparser2/test/Feeds/03-rdf.js')
-rw-r--r--node_modules/htmlparser2/test/Feeds/03-rdf.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/htmlparser2/test/Feeds/03-rdf.js b/node_modules/htmlparser2/test/Feeds/03-rdf.js
new file mode 100644
index 000000000..0f1cbc41c
--- /dev/null
+++ b/node_modules/htmlparser2/test/Feeds/03-rdf.js
@@ -0,0 +1,20 @@
+exports.name = "RDF test";
+exports.file = "/RDF_Example.xml";
+exports.expected = {
+ "type": "rdf",
+ "id": "",
+ "title": "craigslist | all community in SF bay area",
+ "link": "http://sfbay.craigslist.org/ccc/",
+ "items": [
+ {
+ "title": "Music Equipment Repair and Consignment",
+ "link": "http://sfbay.craigslist.org/sby/muc/2681301534.html",
+ "description": "San Jose Rock Shop offers musical instrument repair and consignment! (408) 215-2065<br> <br> We are pleased to announce our NEW LOCATION: 1199 N 5th st. San Jose, ca 95112. Please call ahead, by appointment only.<br> <br> Recently featured by Metro Newspaper in their 2011 Best of the Silicon Valley edition see it online here:<br> <a href=\"http://www.metroactive.com/best-of-silicon-valley/2011/music-nightlife/editor-picks.html\" rel=\"nofollow\">http://www.metroactive.com/best-of-silicon-valley/2011/music-nightlife/editor-picks.html</a><br> <br> Guitar Set up (acoustic and electronic) $40!<!-- END CLTAGS -->"
+ },
+ {
+ "title": "Ride Offered - Oakland/BART to LA/SFV - TODAY 3PM 11/04 (oakland north / temescal)",
+ "link": "http://sfbay.craigslist.org/eby/rid/2685010755.html",
+ "description": "Im offering a lift for up to two people from Oakland (or near any BART station in the East Bay/580/880 Corridor, or San Jose/Morgan Hill, Gilroy) to the San Fernando Valley / Los Angeles area. Specifically, Im leaving from Oakland between 2:30 and 3:00pm (this is flexible, but if I leave too late my girlfriend will kill me), and heading to Woodland Hills via the 580, I-5, 405, and 101.<!-- END CLTAGS -->"
+ }
+ ]
+}; \ No newline at end of file