30 August 2005
RAA - html-parser-2
The html-parser package is a variant language implementation of the Python's SGML parser (sgmllib.py), HTML parser (htmllib.py) and Formatter (formatter.py).
RAA - htmlsanitize
HTML::Sanitize - HTML sanitizing library
========================================
USAGE
-----
require 'html/sanitize'
require 'cgi'
cgi=CGI.new
msg = cgi['msg']
msg = HTML::Sanitize::sanitize(msg)
cgi.out('text/html') {
msg
}
RAA - htree
htree provides a tree data structre which represent HTML and XML data.
* Permissive unified HTML/XML parser
* byte-to-byte roundtripping unparser
* XML namespace support
* Dedicated class for escaped string. This ease sanitization.
* XHTML/XML generator
* template engine
* recursive template expansion
* converter to REXML document
16 August 2005
PEAR :: Package :: XML_HTMLSax3
http://sourceforge.net/projects/phpshelve
1
(4 marks)