wraps-tagsoup

A simple TagSoup wrapper for RingoJS.

wraps-tagsoup

A simple TagSoup wrapper for RingoJS.

It exports a single function, parse, which accepts either a URL or an HTML document as string and returns an E4X XML object.

var page = require("wraps-tagsoup").parse("http://news.ycombinator.com/");
default xml namespace = page.namespace();
[[email protected] for each (a in page..a) if (String(a.text()).match(/\d+ comments?/))]

License

wraps-tagsoup is available under the same license as RingoJS.

The TagSoup library bundled with this package is licensed under the Apache License 2.0.

Related Repositories

wraps-tagsoup

wraps-tagsoup

A simple TagSoup wrapper for RingoJS. ...


Top Contributors

chl robi42