Antenna (antennapedia) wrote,

  • Music: project advanced

I've been experimenting with a script to auto-build a GilesWatchers post from a set of tagged bookmarks. Results thus far are promising.

Here's my delicious account bookmarks list. Here's today's hand-built GilesWatchers post. My generated version:

+ ljs: The Shape of Things - Giles/Anya, FRM
+ kivrin: Top Five Teas in Giles' Tea Tin - gen, FRC
+ kivrin: untitled ficlet - Buffy/Giles/Willow/Xander, FRC

+ noelia_g: 249 Jossverse/Wesley icons - 9 of Giles
+ sharmen_88: 58 Jossverse icons - 3 of Giles
+ mangofandango: 50 Jossverse Icons - 2 of Giles

+ versaphile & psychoadept: Collateral Damage, part 83 - Giles/Wesley, FRAO
+ soft_princess: What Happens In Vegas... 2/2 - Giles/Xander, FRAO

+ Why We Fight - post-"Chosen" RPG is recruiting for all characters except Buffy

+ summer_of_giles: signups still open
+ slashthedrabble: Challenge #120 - Unexpected - this week's prompt
+ btvs_hush: Challenge 74 - images of Giles
+ maleslashminis: Round Eleven (Bonus) - signups open for a threesomes round

+ soft_princess: Giles/Xander story

Note that there are some intentional differences: the "rec" tag, for instance, which was an experiment. And some unintentional: I'll need to make a fixed order for the categories.

Yet to be implemented: some way to set a marker so we only catch recent posts. The api can set tags on bookmarks. I can fetch the most recent 100 bookmarks, skip the ones with the "posted" tag, then set the tag for the ones just posted. OR alternatively I could let the poster specify a date stamp and only grab bookmarks fresher than the stamp. Lots of options. Must think.

Some of the features ride on the back of clever tagging. "poster:ljuser" and "comm:community-name", for instance. But it handles missing lj names well. By its very nature, however, one link per entry. I can't think of a non-messy solution for multi-part stories that had more than one part posted at a time. Bleah. I can at least sort the posts by timestamp... Have I ever mentioned that every programming project is infinitely complex, at least in potential?

The advantage of this approach is that the accumulation of links can be gradual and can be done by more than one person. One person would be responsible for running the script and making the post. At the moment I run it in the shell; no reason it can't be run as a cgi script with a web interface.

I didn't spend all of my day off programming. Only a couple hours of it. And part of that was spent on the story server. I am beginning to look askance at Django.
Tags: geek

  • Happy Sunday

    I enjoyed this comment on the anon meme about why fandom seems to ship the same thing over & over: it's because we sort of have one ship and we tend…

  • Yow!

    For your pleasure and edification today: a whole lot of meteorite videos on one page. All hail the ubiquity of the Russian anti-scam dash cam!

  • The best thing I read this week about writing that wasn't about writing.

    FILM CRITIC HULK on the art of "cinematic affectation" and how choices in cinematography work. Yes, yes, it's about film and visual stuff, but as I…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded