asip / meteor

A lightweight HTML(5) & XML parser for Ruby

Home Page:http://d.hatena.ne.jp/asipruby/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meteor

A lightweight HTML & XML Parser

  gem install meteor #gem installation
  # archive installation
  gem build meteor.gemspec
  gem install meteor-*.gem

Explanation

This libarary is lightweight HTML parser. This can use as XML parser. This may be false parser.

This libarary doesn't support all of HTML & XML spec. This supports a range of HTML & XML spec thought to be the need routinely.

軽量(簡易?)HTMLパーサです。 XMLパーサとしても使用可能です。 パーサもどきかもしれません。

HTML、XMLの仕様の全てをサポートしてはいません、 日常的に必要と思われる範囲をサポートしています。

This doesn't convert the whole into objects but converts only elements for the operation into objects. (This library uses regular expression internally but user don't need to concern yourself with internal logic.)

DOMのように全体をオブジェクトのツリー構造に変換するのではなく、 操作対象の要素のみをオブジェクトに変換します。 (内部では正規表現を使っていますが、ユーザがそれを意識する 必要は全くありません。)

API

http://rubydoc.info/github/asip/meteor/frames

Gem

https://rubygems.org/gems/meteor

Examples

https://github.com/asip/meteor/tree/master/demo

License

Licensed under the LGPL V2.1.

Author

Yasumasa Ashida (ys.ashida@gmail.com)

Copyright

(c) 2008-2023 Yasumasa Ashida

About

A lightweight HTML(5) & XML parser for Ruby

http://d.hatena.ne.jp/asipruby/


Languages

Language:Ruby 100.0%