[add-art dev] Perhaps useful afterall

ethan at ethanham.com ethan at ethanham.com
Mon Jun 2 16:46:44 PDT 2008


Sorry to keep starting new threads... I've turned off digest so that I can
respond to particular threads.

I was looking at the codebase and I think the code I wrote will be useful
afterall... it looks like ticket 44 was just for accessing a file from a
server, but the branch doesn't yet handle saving the file, etc. The code I
wrote actually saves out the jpeg information (I don't leave it in xml
format, but rather convert them to jpegs for saving locally) according to
filenames in the xml file.

If desired, I can created a branch with this code in it and extend it to
include the tool tip info (I actually have that info in the xml file, but
am not yet saving it locally).

Is it desired to keep the jpegs in the xml file?  If so, I can do that...
but it seems simpler to convert it to jpeg format once (on download)
rather than everytime the browser launches.

Also, any thoughts about how often to download the xml file?  If desired,
I could make it so that there's a very lightweight xml file (e.g., <10k)
that is downloaded on launch that indicates the current jpeg set.  If the
local machine has an older set, then it could download the heavier XML
that contains the jpeg info.






More information about the Supperclub mailing list