Browse files

Updated docs

  • Loading branch information...
1 parent 76e9856 commit 17b9274286325736971bbf27ccc002d2cb3567af @tautologistics committed Dec 6, 2010
Showing with 5 additions and 2 deletions.
  1. +3 −0 CHANGELOG
  2. +2 −2 README.md
View
3 CHANGELOG
@@ -1,4 +1,7 @@
+v1.7.3
+ * Renamed node-htmlparser.* to htmlparser.* and created shims for people still expecting node-htmlparser.*
+
v1.7.2
* Document position feature fixed to work correctly with chunked parsing
View
4 README.md
@@ -14,7 +14,7 @@ A forgiving HTML/XML/RSS parser written in JS for both the browser and NodeJS (y
View runtests.html in any browser
##Usage In Node
- var htmlparser = require("node-htmlparser");
+ var htmlparser = require("htmlparser");
var rawHtml = "Xyz <script language= javascript>var foo = '<<bar>>';< / script><!--<!-- Waah! -- -->";
var handler = new htmlparser.DefaultHandler(function (error, dom) {
if (error)
@@ -182,5 +182,5 @@ becomes:
Looking for CSS selectors to search the DOM? Try Node-SoupSelect, a port of SoupSelect to NodeJS: http://github.com/harryf/node-soupselect
-There's also a port of hpricot to NodeJS that uses node-HtmlParser for HTML parsing: http://github.com/silentrob/Apricot
+There's also a port of hpricot to NodeJS that uses HtmlParser for HTML parsing: http://github.com/silentrob/Apricot

0 comments on commit 17b9274

Please sign in to comment.