Archive for July, 2009

Lion drawing for free use

I created this in photoshop, thought I should share it with the world. Use it for whatever you like, but credit me when using it; link to this site…

A new JavaScript search

A little search that excludes items not in the search term live using JavaScript.

How to include your twitter on any php-enabled website

We are to do this by creating two files you put serverside. The first one, can be called twitter.php. Here’s the code:
<a href=”http://www.twitter.com/pan100lion”>
<?php
$twitterDOM = new DOMDocument();
$twitterDOM->encoding = ‘UTF-8′;
$twitterDOM->load(”http://twitter.com/statuses/user_timeline/37750230.rss”);
$xslt= new DOMDocument();
$xslt->encoding = ‘UTF-8′;
$xslt->load(”twitterstub.xsl”);
$processor = new XSLTProcessor();
$processor->importStylesheet($xslt);
$output = $processor->transformToDoc($twitterDOM);
echo $output->saveXML();
?>
</a>
Swap the link on the line $twitterDOM->load with your own feed adress. You’ll find it at your twitter [...]

Adsense on wordpress

I was planning on installing adsense on this blog, and I have now found a theme for doing so. My adsense account is not ready yet, so I assume someone else gets the vast amount of dollars ticking in than me right now.
The theme I use is Prosense, and I read about it here.