|
Profiles /
SvogelStefan Vogel Another happy PmWiki user. Just updated the pages TrapEd and my HomePage based on PmWiki to PmWiki 2 PmWiki 2 has gotten even more cool than version 1 was anyway. Updated the Emacs.pmwiki-mode to allow basic authentication so that it can be used for password-protected pages as well (see Development). Just a quick hint how to insert a "Digg it"-Button like this example (http://www.vogel-nest.de/wiki/Main/WebScraping2), simply add something like this to your config.php:
function insertDigg($url = '') {
$diggUrl = '';
if ($url != '') {
$diggUrl = "<script type='text/javascript'>
digg_url = '".trim($url)."';
</script>";
}
return Keep("$diggUrl
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'></script>");
}
Markup('digg', 'inline', '/\\(:digg(.*?):\\)/e', "insertDigg('$1')");
For a more detailled description of the possible layouts for digg-buttons have a look at http://digg.com/tools/integrate(approve links). With the above markup, you can simply add
contact: stefan at vogel-nest dot de |