PapaScott I like big blogs and I cannot lie! 🐘

Enough For Now

That's enough of the Bloglines layout for now. It might come back some day, though. I find the layout very functional, and I may work out actual templates with a sidebar and more weblog-like features.

The trick yesterday was to use wget to get the public copy of my blog from bloglines, insert a <base href...> in the html header so the relative links worked correctly, and add bl.php to the beginning of the DirectoryIndex line in my .htaccess to make it the default page.

This was all powered by an hourly cron job, since bloglines reads my blog only once per hour. It's not a script, but a one-liner with sed. If I put the long bloglines URL into a tinyurl, it looks like:

/usr/local/bin/wget -O - 'http://tinyurl.com/5zekr' | sed -e 's/<title>/<base href="http:\/\/www.bloglines.com\/"><title>PapaScott/' > /usr/local/www/data/bl.php

comments powered by Disqus