Hacking wp-recent-links
Thursday, May 27th, 2004
I messed around with PHP this afternoon and hacked the wp-recent-links so it grabs the referrer information using the bookmarklet. Now it automatically fills in the via section in “Newspaper Cuttings”:http://www.dellah.com/orient/cuttings/ like “Simon describes in his blogmarks”:http://simon.incutio.com/archive/2003/11/24/blogmarks. In fact, not knowing any javascript either, I got the bookmarklet code from “a link in a comment in that post at clagnut”:http://www.clagnut.com/blog/264/
I’ve emailed the author of the plugin, so he can either ignore it, or write the PHP properly and fix all the mistakes I’ve probably made.
I’m now off for a bath to sooth a bruised foot. Playing football last night, a swung my foot at a beautifully deliveried cross only to kick the studs of the intercepting defended. Now I can’t move my foot at all. Shame, cos I’m sure it was going straight for the top corner. Maybe I’ve broken my metatarsal, but that was sooo last year.