Dave Pearson

Using an exported art list

Yesterday I finally got around to using my little tool for exporting my RedBubble art list to build a quick and dirty site that acts as a simple “front door” into my works here.

Given that I’ve had the domain davep.co.uk hanging around not doing anything useful for a while I’ve placed it over there. At the moment it’s a quick and dirty hack, more of a proof of concept than anything else, I’ll probably expand it into something more at some point in the future.

But, for now, here’s the first version of Photography by Dave Pearson.

  • Linda  Syms

    Linda Syms, 2 months ago

    Looks fantastic

  • dinghysailor1

    dinghysailor1, 2 months ago

    wow dave you’ve cracked it! – and it works well – clever stuff!

  • Christina Martin

    Christina Martin, 2 months ago

    very cool Dave.

  • Faizan Qureshi

    Faizan QureshiAll Rounder, 2 months ago

    Awesome work Dave. Really useful!

  • littleredplanet

    littleredplanet, 2 months ago

    great use of that little tool. I’m curious how you pulled in the thumbnail images and urls. Was this a manual addition or did you automate the process via an updated version of your getrbart script?

  • Dave Pearson

    Dave Pearson in reply to littleredplanet’s comment, 2 months ago

    Thanks all.

    The heart of those pages is just a text file that is exactly what is emitted by getrbart. I’ve then done a little bit of php that loads up the text file and generates the HTML for the pages on the fly. The URLs for the thumbnails are “made up” as I go along (I vary the host name for the images based on the numeric ID of the image modulo 4).

    To update the content of the site I need only re-export my art list with getrbart (I’ve also got a subsequent script that filters out a handful of images that I don’t want to appear on the site, that’s nothing more than a ‘grep -Ev’ on a list of image IDs).

Add your comment

You need to login or signup to add your comment to this work.