I now have a tumblelog, powered by Tumblr.
Tumblr seems quite awesome – simple and powerful, just the way I like it. They even offer Tumblr on your own (sub)domain if you can configure your DNS A records.
I didn’t want to use a subdomain, though. My site is on a subdomain already, and sub-subdomains look silly. I don’t like using subdomains directly under nyh.se for personal stuff since it’s not namespaced (I considered svnrik.nyh.se before going with svn.nyh.se for my SVN repository…). Anyway, since Tumblr don’t offer this, I threw together a tiny proxy.
Over at http://henrik.nyh.se/tumble, this is my .htaccess:
1 2 3 4 5 | |
and this is proxy.php:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |
This piece of code just mirrors the content as well as the content-type of anything on http://malesca.tumblr.com to http://henrik.nyh.se/tumble. Fixes links in the RSS feed as well. Pretty neat.
You obviously need a PHP with libcurl.
You’ll likely want to change the $from and $unto values at the top, as well as the URL in the .htaccess rewrite rule.