- Moderated by:
- Support Team
-
- rank:
-
Helper
- registered:
- January 2005
- Status:
- offline
- last visit:
- 09.02.08
- Posts:
- 455
I stumbled on a link on Google's AdSense help pages: Click
Since the modules are PN's content system, and blocks not really are helpfull when the mediabot spiders a site, you can use tags too tell the mediabot on which content it should deliver ads.
I often noticed some ads were placed on my site for words that are in the side blocks, which doesn't have anything to do with the article that is viewing.
Wasn't sure where to put this, it might be interresting for module-authors such as forums, to exclude usernames, signatures and such. But could be interresting for template-designers, since i edited all my templates to use this function.
--
Doe Maar Freak -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
Interesting...
To get google adsense to only look at the output from the module, ignoring any blocks, in a Xanthia theme update your page templates (master.htm, home.htm etc.) with the following code
Code
<!-- google_ad_section_start -->
<!--[$maincontent]-->
<!-- google_ad_section_end -->
-Mark -
- rank:
-
Helper
- registered:
- January 2005
- Status:
- offline
- last visit:
- 09.02.08
- Posts:
- 455
I allready edited all my templates files for the theme I'm using. The only thing I don't get is the (weight=ignore). Why should there be an ignore, if you can define where to start, and where to end?
--
Doe Maar Freak -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
I posted the template addition for others reading the thread.
The way I read the ignore option is that you'd use one or the other but not both. The first option is to look at one part of page ignoring the rest (in our case the module output). The second option is to exclude one part of a page including the rest.
-Mark
