anorgatarrak-wordpress-theme/node_modules/htmlparser2/test/Stream/04-RDF.json

1399 lines
21 KiB
JSON

{
"name": "RDF feed",
"options": {"xmlMode": true},
"file": "RDF_Example.xml",
"expected": [
{
"event": "processinginstruction",
"data": [
"?xml",
"?xml version=\"1.0\" encoding=\"UTF-8\"?"
]
},
{
"event": "text",
"data": [
"\n"
]
},
{
"event": "opentagname",
"data": [
"rdf:RDF"
]
},
{
"event": "attribute",
"data": [
"xmlns:rdf",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
]
},
{
"event": "attribute",
"data": [
"xmlns",
"http://purl.org/rss/1.0/"
]
},
{
"event": "attribute",
"data": [
"xmlns:ev",
"http://purl.org/rss/1.0/modules/event/"
]
},
{
"event": "attribute",
"data": [
"xmlns:content",
"http://purl.org/rss/1.0/modules/content/"
]
},
{
"event": "attribute",
"data": [
"xmlns:taxo",
"http://purl.org/rss/1.0/modules/taxonomy/"
]
},
{
"event": "attribute",
"data": [
"xmlns:dc",
"http://purl.org/dc/elements/1.1/"
]
},
{
"event": "attribute",
"data": [
"xmlns:syn",
"http://purl.org/rss/1.0/modules/syndication/"
]
},
{
"event": "attribute",
"data": [
"xmlns:dcterms",
"http://purl.org/dc/terms/"
]
},
{
"event": "attribute",
"data": [
"xmlns:admin",
"http://webns.net/mvcb/"
]
},
{
"event": "opentag",
"data": [
"rdf:RDF",
{
"xmlns:rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"xmlns": "http://purl.org/rss/1.0/",
"xmlns:ev": "http://purl.org/rss/1.0/modules/event/",
"xmlns:content": "http://purl.org/rss/1.0/modules/content/",
"xmlns:taxo": "http://purl.org/rss/1.0/modules/taxonomy/",
"xmlns:dc": "http://purl.org/dc/elements/1.1/",
"xmlns:syn": "http://purl.org/rss/1.0/modules/syndication/",
"xmlns:dcterms": "http://purl.org/dc/terms/",
"xmlns:admin": "http://webns.net/mvcb/"
}
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "opentagname",
"data": [
"channel"
]
},
{
"event": "attribute",
"data": [
"rdf:about",
"http://sfbay.craigslist.org/ccc/"
]
},
{
"event": "opentag",
"data": [
"channel",
{
"rdf:about": "http://sfbay.craigslist.org/ccc/"
}
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"title"
]
},
{
"event": "opentag",
"data": [
"title",
{}
]
},
{
"event": "text",
"data": [
"craigslist | all community in SF bay area"
]
},
{
"event": "closetag",
"data": [
"title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"link"
]
},
{
"event": "opentag",
"data": [
"link",
{}
]
},
{
"event": "text",
"data": [
"http://sfbay.craigslist.org/ccc/"
]
},
{
"event": "closetag",
"data": [
"link"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"description"
]
},
{
"event": "opentag",
"data": [
"description",
{}
]
},
{
"event": "closetag",
"data": [
"description"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:language"
]
},
{
"event": "opentag",
"data": [
"dc:language",
{}
]
},
{
"event": "text",
"data": [
"en-us"
]
},
{
"event": "closetag",
"data": [
"dc:language"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:rights"
]
},
{
"event": "opentag",
"data": [
"dc:rights",
{}
]
},
{
"event": "text",
"data": [
"Copyright 2011 craigslist, inc."
]
},
{
"event": "closetag",
"data": [
"dc:rights"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:publisher"
]
},
{
"event": "opentag",
"data": [
"dc:publisher",
{}
]
},
{
"event": "text",
"data": [
"webmaster@craigslist.org"
]
},
{
"event": "closetag",
"data": [
"dc:publisher"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:creator"
]
},
{
"event": "opentag",
"data": [
"dc:creator",
{}
]
},
{
"event": "text",
"data": [
"webmaster@craigslist.org"
]
},
{
"event": "closetag",
"data": [
"dc:creator"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:source"
]
},
{
"event": "opentag",
"data": [
"dc:source",
{}
]
},
{
"event": "text",
"data": [
"http://sfbay.craigslist.org/ccc//"
]
},
{
"event": "closetag",
"data": [
"dc:source"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:title"
]
},
{
"event": "opentag",
"data": [
"dc:title",
{}
]
},
{
"event": "text",
"data": [
"craigslist | all community in SF bay area"
]
},
{
"event": "closetag",
"data": [
"dc:title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:type"
]
},
{
"event": "opentag",
"data": [
"dc:type",
{}
]
},
{
"event": "text",
"data": [
"Collection"
]
},
{
"event": "closetag",
"data": [
"dc:type"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"syn:updateBase"
]
},
{
"event": "opentag",
"data": [
"syn:updateBase",
{}
]
},
{
"event": "text",
"data": [
"2011-11-04T09:39:10-07:00"
]
},
{
"event": "closetag",
"data": [
"syn:updateBase"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"syn:updateFrequency"
]
},
{
"event": "opentag",
"data": [
"syn:updateFrequency",
{}
]
},
{
"event": "text",
"data": [
"4"
]
},
{
"event": "closetag",
"data": [
"syn:updateFrequency"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"syn:updatePeriod"
]
},
{
"event": "opentag",
"data": [
"syn:updatePeriod",
{}
]
},
{
"event": "text",
"data": [
"hourly"
]
},
{
"event": "closetag",
"data": [
"syn:updatePeriod"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"items"
]
},
{
"event": "opentag",
"data": [
"items",
{}
]
},
{
"event": "text",
"data": [
"\n\t\t\t"
]
},
{
"event": "opentagname",
"data": [
"rdf:Seq"
]
},
{
"event": "opentag",
"data": [
"rdf:Seq",
{}
]
},
{
"event": "text",
"data": [
"\n\t\t\t\t"
]
},
{
"event": "opentagname",
"data": [
"rdf:li"
]
},
{
"event": "attribute",
"data": [
"rdf:resource",
"http://sfbay.craigslist.org/sby/muc/2681301534.html"
]
},
{
"event": "opentag",
"data": [
"rdf:li",
{
"rdf:resource": "http://sfbay.craigslist.org/sby/muc/2681301534.html"
}
]
},
{
"event": "closetag",
"data": [
"rdf:li"
]
},
{
"event": "text",
"data": [
"\n\t\t\t"
]
},
{
"event": "closetag",
"data": [
"rdf:Seq"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "closetag",
"data": [
"items"
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "closetag",
"data": [
"channel"
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "opentagname",
"data": [
"item"
]
},
{
"event": "attribute",
"data": [
"rdf:about",
"http://sfbay.craigslist.org/sby/muc/2681301534.html"
]
},
{
"event": "opentag",
"data": [
"item",
{
"rdf:about": "http://sfbay.craigslist.org/sby/muc/2681301534.html"
}
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"title"
]
},
{
"event": "opentag",
"data": [
"title",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
" Music Equipment Repair and Consignment "
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"link"
]
},
{
"event": "opentag",
"data": [
"link",
{}
]
},
{
"event": "text",
"data": [
"\nhttp://sfbay.craigslist.org/sby/muc/2681301534.html\n"
]
},
{
"event": "closetag",
"data": [
"link"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"description"
]
},
{
"event": "opentag",
"data": [
"description",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
"\nSan 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 -->\n"
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"description"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:date"
]
},
{
"event": "opentag",
"data": [
"dc:date",
{}
]
},
{
"event": "text",
"data": [
"2011-11-04T09:35:17-07:00"
]
},
{
"event": "closetag",
"data": [
"dc:date"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:language"
]
},
{
"event": "opentag",
"data": [
"dc:language",
{}
]
},
{
"event": "text",
"data": [
"en-us"
]
},
{
"event": "closetag",
"data": [
"dc:language"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:rights"
]
},
{
"event": "opentag",
"data": [
"dc:rights",
{}
]
},
{
"event": "text",
"data": [
"Copyright 2011 craigslist, inc."
]
},
{
"event": "closetag",
"data": [
"dc:rights"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:source"
]
},
{
"event": "opentag",
"data": [
"dc:source",
{}
]
},
{
"event": "text",
"data": [
"\nhttp://sfbay.craigslist.org/sby/muc/2681301534.html\n"
]
},
{
"event": "closetag",
"data": [
"dc:source"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:title"
]
},
{
"event": "opentag",
"data": [
"dc:title",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
" Music Equipment Repair and Consignment "
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"dc:title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:type"
]
},
{
"event": "opentag",
"data": [
"dc:type",
{}
]
},
{
"event": "text",
"data": [
"text"
]
},
{
"event": "closetag",
"data": [
"dc:type"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dcterms:issued"
]
},
{
"event": "opentag",
"data": [
"dcterms:issued",
{}
]
},
{
"event": "text",
"data": [
"2011-11-04T09:35:17-07:00"
]
},
{
"event": "closetag",
"data": [
"dcterms:issued"
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "closetag",
"data": [
"item"
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "opentagname",
"data": [
"item"
]
},
{
"event": "attribute",
"data": [
"rdf:about",
"http://sfbay.craigslist.org/eby/rid/2685010755.html"
]
},
{
"event": "opentag",
"data": [
"item",
{
"rdf:about": "http://sfbay.craigslist.org/eby/rid/2685010755.html"
}
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"title"
]
},
{
"event": "opentag",
"data": [
"title",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
"\nRide Offered - Oakland/BART to LA/SFV - TODAY 3PM 11/04 (oakland north / temescal)\n"
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"link"
]
},
{
"event": "opentag",
"data": [
"link",
{}
]
},
{
"event": "text",
"data": [
"\nhttp://sfbay.craigslist.org/eby/rid/2685010755.html\n"
]
},
{
"event": "closetag",
"data": [
"link"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"description"
]
},
{
"event": "opentag",
"data": [
"description",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
"\nIm 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 -->\n"
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"description"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:date"
]
},
{
"event": "opentag",
"data": [
"dc:date",
{}
]
},
{
"event": "text",
"data": [
"2011-11-04T09:34:54-07:00"
]
},
{
"event": "closetag",
"data": [
"dc:date"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:language"
]
},
{
"event": "opentag",
"data": [
"dc:language",
{}
]
},
{
"event": "text",
"data": [
"en-us"
]
},
{
"event": "closetag",
"data": [
"dc:language"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:rights"
]
},
{
"event": "opentag",
"data": [
"dc:rights",
{}
]
},
{
"event": "text",
"data": [
"Copyright 2011 craigslist, inc."
]
},
{
"event": "closetag",
"data": [
"dc:rights"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:source"
]
},
{
"event": "opentag",
"data": [
"dc:source",
{}
]
},
{
"event": "text",
"data": [
"\nhttp://sfbay.craigslist.org/eby/rid/2685010755.html\n"
]
},
{
"event": "closetag",
"data": [
"dc:source"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:title"
]
},
{
"event": "opentag",
"data": [
"dc:title",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
"\nRide Offered - Oakland/BART to LA/SFV - TODAY 3PM 11/04 (oakland north / temescal)\n"
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"dc:title"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dc:type"
]
},
{
"event": "opentag",
"data": [
"dc:type",
{}
]
},
{
"event": "text",
"data": [
"text"
]
},
{
"event": "closetag",
"data": [
"dc:type"
]
},
{
"event": "text",
"data": [
"\n\t\t"
]
},
{
"event": "opentagname",
"data": [
"dcterms:issued"
]
},
{
"event": "opentag",
"data": [
"dcterms:issued",
{}
]
},
{
"event": "text",
"data": [
"2011-11-04T09:34:54-07:00"
]
},
{
"event": "closetag",
"data": [
"dcterms:issued"
]
},
{
"event": "text",
"data": [
"\n\t"
]
},
{
"event": "closetag",
"data": [
"item"
]
},
{
"event": "text",
"data": [
"\n"
]
},
{
"event": "closetag",
"data": [
"rdf:RDF"
]
}
]
}