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

Brian Tibbels brian.tibbels at clickmarlow.co.uk
Mon Oct 3 18:03:53 CDT 2011


Put this in the config.php

$Image=PageVar($pagename,'$:Image');

then use the var as normal in the template {$Image}



------------------------------------------------
Brian Tibbels
IT support for small business and the individual
http://clickmarlow.co.uk/
m: 07804 109906
t: 01628 477640
skype: brian.tibbels




On 3 October 2011 22:06, kirpi at kirpi.it <kirpi at kirpi.it> wrote:

> >   <meta itemprop="image" content="{$:Image}" />
>
> It all seems almost to work.
> Just the image variable is not translated into the real content.
> I tried different versions:
> {=$:Image}
> {*$:Image}
> {$$:Image}
> {{$FullName}$:Image}
> but did not get the right combination.
> (I have no clue about the meaning behind those symbols).
>
> Anyway, 90% of the goal is reached
> :-)
>
> Luigi
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20111004/c855f203/attachment.html>


More information about the pmwiki-users mailing list