Skip to content

chl/wraps-tagsoup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();
[a.@href 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.

About

A simple TagSoup wrapper for RingoJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •