On 13-10-2010 at 18:00:12 micheal hosema...@poczta.onet.pl wrote:
Thanx. what about RDFa? Does PHPTAL tolerates it?
Yes. And SVG, MathML and all other XML vocabularies are supposed to work
with PHPTAL. You have to remember to declare XML namespaces for your
prefixes (as XML spec
Microformats and Microdata are easier to use.
Yea, but let's assume that for me the result,SEO is pri
ority(not learning curve).
I've read that RDFa has more support and more options. Whouldn't it be more
SEO
efficient?
IMHO RDFa's advantages are still only in a semantic web fantasy
Hi everyone:
I am migrating over to using PreFilter and using the DOM to manipulate
the html document. However, am trying to figure out the usefulness of
the method, filterDOM(). I have my DOM, and I am walking threw it and
making my changes, however, after I am finished the page still renders
On 14 Oct 2010, at 17:08, Levi Stanley wrote:
I am migrating over to using PreFilter and using the DOM to manipulate
the html document. However, am trying to figure out the usefulness of
the method, filterDOM(). I have my DOM, and I am walking threw it and
making my changes, however, after
Here is what I am trying to do:
include_once('PHPTAL/PreFilter.php');
class URLPreFilter extends PHPTAL_PreFilter {
public function filterDOM(PHPTAL_Dom_Element $root){
foreach($root-childNodes as $node ){
if ($node instanceof PHPTAL_Dom_Element){
$url_attribute_names = array('href', 'src');