ez projects / owsimpledom
| UNIX name | Owner | Status | Version | Compatible with |
|---|---|---|---|---|
| owsimpledom | Simon Boyer | stable | 1.0 | 4.x |
$owSimpleDom = new owSimpleDom();$html_dom = str_get_html( $html );
Please visit https://github.com/Open-Wide/OWSimpleDom/tags to download a zip or tar.gz version
Online documentation of SimpleHTMLDom : http://simplehtmldom.sourceforge.net/manual.htm
It provides a simple css inliner for your mailing.
Warning : It doesn't support css selector priority (for example : "#id .class" won't override ".class". You need to declare CSS rules in the order you want them applied)
{set-block variable=$html} <h3>Title</h3> <div class="example"><p>Content</p></div>{/set-block}{$html|css_inline('stylesheets/style.css'|ezdesign(no))}