[pmwiki-users] Include URL markup

zgrauer at earthlink.net zgrauer at earthlink.net
Thu May 5 13:50:21 CDT 2005


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'))))");

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

The only thing is... WHERE do I stick the code? From experience, it is not in the same page.

Anyone to help a newbie?

Actually, is there a better mechanism to insert google text ads? And please do not tell me to create a style for it. I just want to insert some javascript/html script into my page so I can get rich.

Thanks.

Zvi.



More information about the pmwiki-users mailing list