Insta-rec: Lucifugous; GIPs, and misc fun

Jan 04, 2007 19:19

Insta-rec: matociquala is serializing her novella Lucifugous on the Subterranean Press site, which I finally settled in to read this morning, and yum. If you like Sherlock Holmes eta: on consideration, I change my mind! Agatha Christie instead! or vampires or zeppelins, I highly recommend; heaps of slashy Victorian fun. It's currently up to Chapter 4 ( Read more... )

delicious, icons, recs, tech, gip

Leave a comment

xenacryst January 5 2007, 06:37:37 UTC
Ok, since I'm all alone this evening and the kitties aren't giving me plotbunny ideas (they're just sleeping, the lazy dears!), I made good on my threat to actually translate your recs script into PHP. I think it does pretty much the same thing as your perl version, except it seems to want to GET the form rather than POSTing it. *shruggles*

It requires the PhpDelicious class that can be found here (and I've included basic instructions for uploading that). I've got the script source and my own version (as well as the one that I had the other day that's more integrated into my site's look).

I'd be chuffed if you wanted to test it or pimp it to folks who might not have the Net::Delicious perl module. :)

(Also, on line 194 of yours, I think you meant "$fandoms{$post} = $f;" rather than "$authors{$post} = $f;", yes?)

Cheers!

Reply

xenacryst January 5 2007, 08:59:33 UTC
Instead of sleeping like a sane person would, I extended mine to add a sort by ratings feature, since I have a bundle for that. I'm *not* going stay up any later and add that to the perl version. La. :)

*wanders off blearily to bed*

Reply

astolat January 5 2007, 14:46:25 UTC
I did, and this is great! Do you mind if I put this source on the yuletide website along with the perl version? Looks like it's all working terrific to me. *steals ratings thingy*

Reply

astolat January 5 2007, 14:48:06 UTC
PS -- the perl version does GET too; I actually like using GET better in a non-sensitive-material script like this because that way people can bookmark the version with the tag/sort that they like best. :)

Reply

xenacryst January 5 2007, 15:38:21 UTC
Yes, feel free to put it on the yuletide website! That'd be wonderful. And you can change the link in the footer to point to that URL, too, if you want.

*enters regex geek mode*

One thing to watch out for in the ratings thingy is that the \b regex token thinks that a dash is a word separator, so when I dropped in that block of code, it matched 'PG-13' tagged posts to the 'PG' tag. So I used the ^ and $ tokens to anchor the full regex in the match for each array entry.

Oh, the perl version does use GET, doesn't it? I must not have looked at the address bar when I played with it... :)

Reply


Leave a comment

Up