#44: get the extension to download a file (Fixed)

Mar 26 2008 * 22:39
Reported by:   Assigned to: MattK 
Priority: Major  Milestone: 1.0 "talks to add-art.org" 
Release:    Component:  add-art Firefox extension 

first step to getting to 1.0

Changelog:

Modified by – May 24 2008 * 13:27

  • Priority changed from Normal to Major

Clarifying this ticket: Add-Art is currently using files hardcoded into chrome. The eventual goal is to have it

  1. storing image data in an XML file
  2. downloading an XML file for new shows
  3. caching images from said XML into user profile directory

There is work being done on this in the cleverly named ‘downloadAfile’ branch:

browse: http://dev.eyebeam.org/projects/add-art/browse/branches/downloadAfile

svn: http://dev.eyebeam.org/svn/branches/downloadAfile

Modified by – May 31 2008 * 21:46

  • Status changed from Open to Fixed
  • Assigned user set to MattK
  • Attachment added matt.jpg [image/jpeg]

Holy nuts. fixed. Now we need to parse this thing and write stuff to a local file folder.

Modified by – Jun 02 2008 * 16:20

Here is some code that might help wrap this up.

The .js file downloads an xml file asychronously and saves off jpeg data locally (and it handles both Mac & PC OS gracefully… I haven’t yet checked it on Linux).

The xml that the code is currently hard coded to is located at http://www.ethanham.com/test/addart.xml. The xml has the jpeg data in Base64.

It’s a bit tedious to put together the xml file manually, so I could put together a little utility for doing it, if that would be useful.

Add comment and/or change ticket properties




Status: Assigned to:
Priority: Milestone:
Release:    Component: