1 2Dokuwiki plugin adultcontent 3============================ 4 5This simple plugin will check your dokuwiki page before being saved whether it contains given keywords like "sex", "porn", "orgy", etc and puts the "adult" flag in metadata. 6 7 8 9You can retrieve this flag in your template and might control your contents like Google AdSense. 10 11```php 12 13<?php if (!p_get_metadata($ID,"adult")) {?> 14 15... 16 17Your Google AdSense code... 18 19... 20 21<?php } ?> 22``` 23 24https://www.dokuwiki.org/plugin:adultcontent 25 26I just have a few pages which has medical information about sexually transmitted disease, but Google AdSense does not like them. 27so I made this plugin. 28