[pmwiki-users] Include URL markup

Radu radu at monicsoft.net
Tue May 10 14:20:53 CDT 2005


You still need to put a </TABLE> as the last thing in the code in order to 
make the html valid, thus:

Markup('adsense', 'directives',
       "/\\(:adsense:\\)/",
       Keep("
<TABLE aligh =\" center\" width=\"100%\" border=\"0\" cellspacing=\"0\"
  cellpadding=\"0\">
  <TD align=\"center\" valign=\"center\">
  <p>
  <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>

  <script type=\"text/javascript\"
    src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
  </script>
  <p>

  </TD>
</TABLE>"));


Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list