31 projects tagged "HTML/XHTML"
seltz_analyzer is a PHP class that tries to find the most important words inside a well-formed XHTML trunk. Every word takes a score based on the role in the XHTML structure. For example, a word between strong tags will take 5 points. In addition, it will look at some simple syntax rules. For example a word with the first character uppercase will take 4 points. The score is cumulative, so the more a word is used, the more meaning it will have.
Dwoo is a template engine for PHP5 where you write less and do more. It is mostly compatible with Smarty templates, but it's a full rewrite that builds upon Smarty's syntax to offer more flexibility, both in templates and in PHP extensibility. It also comes with a few adapters for the major PHP development frameworks.
htmLawed is a PHP script that makes input text more secure, HTML standards-compliant, and suitable in general from the viewpoint of a Web-page administrator, for use in the body of HTML 4 or XHTML 1 or 1.1 documents. It is a customizable HTML/XHTML filter, processor, purifier, and sanitizer. It can ensure that HTML tags are balanced and properly nested tags, neutralize code that may be used for cross-site scripting (XSS) attacks, and limit the allowed HTML elements, tags, attributes, or URL protocols.
Highlighter is a PHP class that can be used to reformat highlighted PHP code. It can highlight PHP code and turn keywords into links to the respective manual page in the PHP.net site. If the code is not enclosed in PHP code tags, it adds these tags before highlighting the code. It can also escape a text string to display as HTML using configurable block tags.