Category Archives: Generalities
NPR & RSS
NPR : RSS Feeds. Finally!
Tapping on Pop Cans
Howstuffworks asks, “Why do people tap on soda cans before opening them?”
Weblog Snapshots
Xanga RSS
I always had a problem with Xanga RSS not working in NetNewsWire.
So I hacked up a solution in the form of a php file:
<pre><?
$f = escapeshellcmd($_GET["q"]);
$g = shell_exec('curl -s http://www.xanga.com/rss.aspx?user='
. $f . ' | sed -e "s/<rss version="0.91">/'
. '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/'
. '02/22-rdf-syntax-ns#" xmlns="'
. 'http://my.netscape.com/rdf/simple/0.9/">/"'
. ' | sed -e "s/</rss>/</rdf:RDF>/"');
echo $g;
?></pre>
And then I just call the script by subscribing to http://path.to/script/?q=username. It’s ugly, but functional.
A copy is also available for download.
Version 2
Version 2 | Blog | 1976design.com – What an awesome design!
Photostack
In case anybody was wondering how I’ve got my Photos section setup:
I’m using a modified form of PhotoStack 2.0b13 that uses cruft free URL’s. Feel free to use my differences or get the whole thing. Note that you will also need to make a .htaccess in your directory to setup mod_rewrite. The .htaccess that I used is also available
Buckminster Fuller
Brad Froehle: Music – Index
Brad Froehle: Music – A peak into the music I listen to, as I’m listening to it.
One Bug Down
Argg. I just spent all morning figuring out why some pages on this site wouldn’t load. The issue came down to a call to getimagesize in wp-content/plugins/textile2-new.php.
The change that fixed it (in unified diff format):
--- textile2-new.php.old Tue Jun 8 23:36:12 2004 +++ textile2-new.php Sun Jul 11 15:19:04 2004 @@ -2805,7 +2805,7 @@ } } } - return @getimagesize($file); + return; } // function image_size/**
Read on for a more detailed discussion.