[pmwiki-users] New user question
Patrick R. Michaud
pmichaud at pobox.com
Mon Dec 4 13:05:02 CST 2006
Oh. There should not be a '/e' at the end of the third parameter,
thus it should be:
Markup('Google1', 'block',
'/\\(:Google1:\\)/',
Keep("<script type='text/javascript'><!--
...
(I.e., remove the "e" at the end of '/\\(:Google1:\\)/e'.)
Yes, this is also an error in the GoogleAdsense recipe page,
which I've now fixed.
Thanks!
Pm
On Mon, Dec 04, 2006 at 08:42:21AM -1000, Ted Coombs wrote:
> Here is the exact code (with the exception of removing most of the
> ad_client and ad_channel numbers)
>
> Thanks,
> Ted
>
> //long google block markup
> Markup('Google1', 'block',
> '/\\(:Google1:\\)/e',
> Keep("<script type='text/javascript'><!--
> [...cut...]
>
> Patrick R. Michaud wrote:
> >On Mon, Dec 04, 2006 at 08:02:43AM -1000, Ted Coombs wrote:
> >
> >>Hi,
> >>I have setup a new wiki www.wikihistory.org and I am having difficulty
> >>adding the AdSense code provided by XES.
> >>I have added my AdSense Google code, making certain it was formatted
> >>correctly, and used the exact syntax posted by XES.
> >>
> >
> >Could you perhaps paste an exact copy of what you added?
> >The "pat=/\(:Google1:\)/e" part of the error message indicates
> >that there's likely a syntax error in there somewhere.
> >
> >Pm
More information about the pmwiki-users
mailing list