[pmwiki-users] Include URL markup
    Radu 
    radu at monicsoft.net
       
    Fri May  6 11:38:47 CDT 2005
    
    
  
The code you made markup for is just the declarative part. The actual work 
is done by
  <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>
And anyway, does it make sense to allow authors to add and delete ads as 
they see fit?
zgraurer, are you missing a closing </table> tag in
http://www.freechem.org/google.html ??
At 11:53 AM 5/6/2005, Patrick R. Michaud wrote:
>Here's another approach:
>
>     Markup('adsense', 'directives',
>       "/\\(:adsense:\\)/",
>       Keep("
>         <script type="text/javascript"><!--
>          google_ad_client = "pub-9906382443560085";
>          google_ad_width = 180;
>          google_ad_height = 150;
>          google_ad_format = "180x150_as";
>          google_ad_channel ="";
>          google_ad_type = "text";
>          //--></script>"));
>
>Then use the markup "(:adsense:)" wherever you'd like the
>ad to be placed.
>
Cheers,
Radu
(www.monicsoft.net) 
    
    
More information about the pmwiki-users
mailing list