Skip to content
This repository
Browse code

Updated docs

  • Loading branch information...
commit 17b9274286325736971bbf27ccc002d2cb3567af 1 parent 76e9856
Chris Winberry authored

Showing 2 changed files with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 3  CHANGELOG
  2. 4  README.md
3  CHANGELOG
... ...
@@ -1,4 +1,7 @@
1 1
 
  2
+v1.7.3
  3
+	* Renamed node-htmlparser.* to htmlparser.* and created shims for people still expecting node-htmlparser.*
  4
+
2 5
 v1.7.2
3 6
 	* Document position feature fixed to work correctly with chunked parsing
4 7
 
4  README.md
Source Rendered
@@ -14,7 +14,7 @@ A forgiving HTML/XML/RSS parser written in JS for both the browser and NodeJS (y
14 14
 View runtests.html in any browser
15 15
 
16 16
 ##Usage In Node
17  
-	var htmlparser = require("node-htmlparser");
  17
+	var htmlparser = require("htmlparser");
18 18
 	var rawHtml = "Xyz <script language= javascript>var foo = '<<bar>>';< /  script><!--<!-- Waah! -- -->";
19 19
 	var handler = new htmlparser.DefaultHandler(function (error, dom) {
20 20
 		if (error)
@@ -182,5 +182,5 @@ becomes:
182 182
 
183 183
 Looking for CSS selectors to search the DOM? Try Node-SoupSelect, a port of SoupSelect to NodeJS: http://github.com/harryf/node-soupselect
184 184
 
185  
-There's also a port of hpricot to NodeJS that uses node-HtmlParser for HTML parsing: http://github.com/silentrob/Apricot
  185
+There's also a port of hpricot to NodeJS that uses HtmlParser for HTML parsing: http://github.com/silentrob/Apricot
186 186
 

0 notes on commit 17b9274

Please sign in to comment.
Something went wrong with that request. Please try again.