Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tautologistics committed Dec 6, 2010
1 parent 76e9856 commit 17b9274
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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)
Expand Down Expand Up @@ -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.