Blame view

node_modules/htmlparser2/test/Feeds/03-rdf.js 1.59 KB
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 -->"
      }
    ]
  };