diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-03 15:35:00 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-03 15:35:00 +0200 |
commit | de98e0b232509d5f40c135d540a70e415272ff85 (patch) | |
tree | a79222a5b58484ab3b80d18efcaaa7ccc4769b33 /node_modules/htmlparser2/test/Documents | |
parent | e0c9d480a73fa629c1e4a47d3e721f1d2d345406 (diff) |
node_modules
Diffstat (limited to 'node_modules/htmlparser2/test/Documents')
5 files changed, 153 insertions, 0 deletions
diff --git a/node_modules/htmlparser2/test/Documents/Atom_Example.xml b/node_modules/htmlparser2/test/Documents/Atom_Example.xml new file mode 100644 index 000000000..734974539 --- /dev/null +++ b/node_modules/htmlparser2/test/Documents/Atom_Example.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- http://en.wikipedia.org/wiki/Atom_%28standard%29 --> +<feed xmlns="http://www.w3.org/2005/Atom"> + <title>Example Feed</title> + <subtitle>A subtitle.</subtitle> + <link href="http://example.org/feed/" rel="self" /> + <link href="http://example.org/" /> + <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id> + <updated>2003-12-13T18:30:02Z</updated> + <author> + <name>John Doe</name> + <email>johndoe@example.com</email> + </author> + + <entry> + <title>Atom-Powered Robots Run Amok</title> + <link href="http://example.org/2003/12/13/atom03" /> + <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html"/> + <link rel="edit" href="http://example.org/2003/12/13/atom03/edit"/> + <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> + <updated>2003-12-13T18:30:02Z</updated> + <summary>Some text.</summary> + </entry> + +</feed>
\ No newline at end of file diff --git a/node_modules/htmlparser2/test/Documents/Attributes.html b/node_modules/htmlparser2/test/Documents/Attributes.html new file mode 100644 index 000000000..f3bfa09c1 --- /dev/null +++ b/node_modules/htmlparser2/test/Documents/Attributes.html @@ -0,0 +1,16 @@ +<!doctype html> +<html> +<head> + <title>Attributes test</title> +</head> +<body> + <!-- Normal attributes --> + <button id="test0" class="value0" title="value1">class="value0" title="value1"</button> + + <!-- Attributes with no quotes or value --> + <button id="test1" class=value2 disabled>class=value2 disabled</button> + + <!-- Attributes with no space between them. No valid, but accepted by the browser --> + <button id="test2" class="value4"title="value5">class="value4"title="value5"</button> +</body> +</html>
\ No newline at end of file diff --git a/node_modules/htmlparser2/test/Documents/Basic.html b/node_modules/htmlparser2/test/Documents/Basic.html new file mode 100644 index 000000000..65957a2f1 --- /dev/null +++ b/node_modules/htmlparser2/test/Documents/Basic.html @@ -0,0 +1 @@ +<!DOCTYPE html><html><title>The Title</title><body>Hello world</body></html>
\ No newline at end of file diff --git a/node_modules/htmlparser2/test/Documents/RDF_Example.xml b/node_modules/htmlparser2/test/Documents/RDF_Example.xml new file mode 100644 index 000000000..068da173c --- /dev/null +++ b/node_modules/htmlparser2/test/Documents/RDF_Example.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/"> + <channel rdf:about="http://sfbay.craigslist.org/ccc/"> + <title>craigslist | all community in SF bay area</title> + <link>http://sfbay.craigslist.org/ccc/</link> + <description/> + <dc:language>en-us</dc:language> + <dc:rights>Copyright 2011 craigslist, inc.</dc:rights> + <dc:publisher>webmaster@craigslist.org</dc:publisher> + <dc:creator>webmaster@craigslist.org</dc:creator> + <dc:source>http://sfbay.craigslist.org/ccc//</dc:source> + <dc:title>craigslist | all community in SF bay area</dc:title> + <dc:type>Collection</dc:type> + <syn:updateBase>2011-11-04T09:39:10-07:00</syn:updateBase> + <syn:updateFrequency>4</syn:updateFrequency> + <syn:updatePeriod>hourly</syn:updatePeriod> + <items> + <rdf:Seq> + <rdf:li rdf:resource="http://sfbay.craigslist.org/sby/muc/2681301534.html"/> + </rdf:Seq> + </items> + </channel> + <item rdf:about="http://sfbay.craigslist.org/sby/muc/2681301534.html"> + <title><![CDATA[ Music Equipment Repair and Consignment ]]></title> + <link> +http://sfbay.craigslist.org/sby/muc/2681301534.html +</link> + <description><![CDATA[ +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 --> +]]></description> + <dc:date>2011-11-04T09:35:17-07:00</dc:date> + <dc:language>en-us</dc:language> + <dc:rights>Copyright 2011 craigslist, inc.</dc:rights> + <dc:source> +http://sfbay.craigslist.org/sby/muc/2681301534.html +</dc:source> + <dc:title><![CDATA[ Music Equipment Repair and Consignment ]]></dc:title> + <dc:type>text</dc:type> + <dcterms:issued>2011-11-04T09:35:17-07:00</dcterms:issued> + </item> + <item rdf:about="http://sfbay.craigslist.org/eby/rid/2685010755.html"> + <title><![CDATA[ +Ride Offered - Oakland/BART to LA/SFV - TODAY 3PM 11/04 (oakland north / temescal) +]]></title> + <link> +http://sfbay.craigslist.org/eby/rid/2685010755.html +</link> + <description><![CDATA[ +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 --> +]]></description> + <dc:date>2011-11-04T09:34:54-07:00</dc:date> + <dc:language>en-us</dc:language> + <dc:rights>Copyright 2011 craigslist, inc.</dc:rights> + <dc:source> +http://sfbay.craigslist.org/eby/rid/2685010755.html +</dc:source> + <dc:title><![CDATA[ +Ride Offered - Oakland/BART to LA/SFV - TODAY 3PM 11/04 (oakland north / temescal) +]]></dc:title> + <dc:type>text</dc:type> + <dcterms:issued>2011-11-04T09:34:54-07:00</dcterms:issued> + </item> +</rdf:RDF>
\ No newline at end of file diff --git a/node_modules/htmlparser2/test/Documents/RSS_Example.xml b/node_modules/htmlparser2/test/Documents/RSS_Example.xml new file mode 100644 index 000000000..0d1fde875 --- /dev/null +++ b/node_modules/htmlparser2/test/Documents/RSS_Example.xml @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<!-- http://cyber.law.harvard.edu/rss/examples/rss2sample.xml --> +<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>
\ No newline at end of file |