[pmwiki-users] Include URL markup

Jonathan Scott Duff duff at pobox.com
Thu May 5 14:56:17 CDT 2005


On Thu, May 05, 2005 at 02:50:21PM -0400, zgrauer at earthlink.net wrote:
> Ok, so I want to add a google ad to my footer. The ad is like the
> following text box in the link, below.
> http://www.freechem.org/google.html
>
> And there is a page on IncludeURL in the cookbook, which tells me to
> add the following code:
> 
> Markup('includeurl', 'directives',
>       "/\\(:includeurl\\s+(http:[^$UrlExcludeChars]*?)\\s*:\\)/e",
>       "Keep(implode('',file(str_replace('&','&','$1'))))");

You put this in your config.php or farmconfig.php.

> And then type (:includeurl http://www.freechem.org/google.html :)

And this goes in any wiki page.

-Scott
-- 
Jonathan Scott Duff
duff at pobox.com



More information about the pmwiki-users mailing list