====== AdultContent Plugin ====== ---- plugin ---- description: This 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. author : S.C. Yoo email : dryoo@live.com type : action lastupdate : 2014-10-27 compatible : Hrun, Detritus, Elenor of Tsort depends : conflicts : similar : tags : adsense, adult, content downloadurl: https://github.com/dryoo/adultcontent/zipball/master bugtracker : https://github.com/dryoo/adultcontent/issues sourcerepo : https://github.com/dryoo/adultcontent/ donationurl: screenshot_img : http://i.imgur.com/eXkV72M.jpg ---- I just have a few pages which has medical information about sexually transmitted disease, but Google AdSense does not like them. so I made this plugin. :!: **External requirement:** This plugin does nothing except tagging a internal metadata. To have an effect, your template or other plugin must utilize it. ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== This 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. You can retrieve this flag in your template and might control your contents like Google AdSense. ... Your Google AdSense code... ... See the plugin in action [[http://openwiki.kr|here]] (Korean). ===== Configuration and Settings ===== You can set your keywords in configuration (regex style). === Change Log === {{rss>https://github.com/dryoo/adultcontent/commits/master.atom 3}} ===== Discussion ===== https://github.com/dryoo/adultcontent/issues