2017 © Pedro Peláez
 

library purity5

Purity5 is a HTML5 parser, with a similar interface to jQuery

image

skylarkelty/purity5

Purity5 is a HTML5 parser, with a similar interface to jQuery

  • Monday, August 12, 2013
  • by SkylarKelty
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Purity5 Build Status

Purity5 is a HTML5 query library, with a similar interface to jQuery., (*1)

To use, simply include Purity5 and use like so:, (*2)

$html = Purity5::parse($markup);
$title = $html("title");
$table_headings = $html("body table tr th");
$first_table_headings = $html("body table tr th:first-child");
$active_links = $html("body a[class=active]");
$active_current_links = $html("body a[class=active+current]");

Supported Selectors

  • a > b
  • a + b
  • *
  • .a
  • #a
  • a.b
  • a#b
  • .a.b
  • a:first-child
  • a:last-child
  • a:nth-child(num|even|odd)
  • a[attr='val']

The Versions

12/08 2013

dev-master

9999999-dev https://github.com/SkylarKelty/Purity5

Purity5 is a HTML5 parser, with a similar interface to jQuery

  Sources   Download

Apache License v2.0

The Requires

  • php >=5.3

 

The Development Requires

by Skylar Tristan Kelty

parser html5

12/08 2013

1.1.0

1.1.0.0 https://github.com/SkylarKelty/Purity5

Purity5 is a HTML5 parser, with a similar interface to jQuery

  Sources   Download

Apache License v2.0

The Requires

  • php >=5.3

 

The Development Requires

by Skylar Tristan Kelty

parser html5

11/08 2013

1.0.0

1.0.0.0 https://github.com/SkylarKelty/Purity5

Purity5 is a HTML5 parser, with a similar interface to jQuery

  Sources   Download

Apache License v2.0

The Requires

  • php >=5.3

 

The Development Requires

by Skylar Tristan Kelty

parser html5