Snipsnap hacks 
By now, you probably know what
SnipSnap is. For the ones that still don't, it's the system that I'm using for my blog. But probably what you all don't know is, that it's based in
Radeox which is a well written Wiki Render Engine.
I've done a small modification in the radeox source code, more exactly in the Link Macro ({link}), in order to make possible opening links in a new window. I know that most of us now use tabs, but there are still people that keep just clicking on the links. This measure will prevent those from leaving my blog just because they followed some link within a post.
Right now, you have a new parameter in the
link macro called newWindow that defaults to
false.
If anyone else is interested in this simple hack, you can download the
snipsnap.war, replace the one inside
snipsnap-homedir/lib/snipsnap.war and restart snipsnap.
But this wasn't the only modification I did in snipsnap.
As you can see my blog now makes part of the
AdSense program. I've written an adsense macro, if you're interested you can always download
it. It receives the width, height and type of ad as parametres, although, I didn't like the idea of having the client id has parameter, making possible others to put their own ads in your page, so I created a config file, called
adsense.xml that will be put in the
snipsnap-homedir with the following information:
<adsense>
<client>YOUR CLIENTID</client>
</adsense>
If you install adsense, you'll have to create such file (
adsense.xml) within that dir with that information.
I guess that at least the adsense macro will attract some, since there's no decent adsense macro for snipsnap (at least that I'm aware of). As usual if you guys liked my work and want to show appreciation you can always send me 2€ (
laugh).
Any questions related with this hacks, comments, or suggestions can always be posted here (if it's still a recent post) or sent to me by email (you can find my email in my
profile).