🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

parsehtml

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parsehtml

bundlerRubygems
Version
1.12.2
Version published
Maintainers
1
Created
Source

= ParseHTML

http://parsehtml.rubyforge.org

== DESCRIPTION:

ParseHTML is an HTML parser which works with Ruby 1.8 and above. ParseHTML will even try to handle invalid HTML to some degree.

== REQUIREMENTS:

Ruby 1.8

== INSTALL:

sudo gem install parsehtml

== USAGE:

require 'parsehtml'

html = %Q(

This is my HTML code

Pass this directly into the parser

)

parser = ParseHTML.new(html) # Create a new parser object parser.next_node # traverse through the HTML nodes parser.node # gives the current node (

FAQs

Package last updated on 25 Jul 2009

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts