[pmwiki-users] Added meta tags and schema.org microdata injection into pages

kirpi at kirpi.it kirpi at kirpi.it
Wed Oct 5 11:41:32 CDT 2011


> I was surprised this disn't work.

I double-checked right now.

config.php has
   $Image=PageVar($pagename,'$:Image');
pmwiki.tmpl has
   <meta itemprop="image" content="{$Image}" />
and the wiki page has
   (:Image:http://example.com/picture.jpg:)

All I get into the html once the wiki page is saved:
   <meta itemprop="image" content="" />

Maybe I missed something.

Luigi



More information about the pmwiki-users mailing list