May 15
Installation and interface with web site
- Flash application requests list of seed (search) tags from Hackablecurator.org.uk web site
- Web site queries database and returns tags as XML data
- Flash application queries Flickr via Flashr object for 9 photos that match the search criteria (Flickr website returns XML data)
- Flash application sends subset of Flickr XML data to Hackablecurator.org.uk web site
- Hackablecurator.org.uk uses the tags associated with each of the 9 photos to choose a photo
- For each photo, each tag is compared to the tag score list in the database; if the tags exists in that database, it’s score is returned and summed with the other tags for that photo. In this way the photo with the highest score is chosen. If equal, it is random.
- Hackablecurator.org.uk passes the numeric id of the chosen image back to the Flash app.
- Additionally, at this point, the Hackablecurator.org.uk web site adds the chosen photo to it’s favourites, and leaves a comment on the chosen photo detailing the web site address and how to remove it from the system
- The Flash app then ‘chooses’ the photo, by sending the position number to the arduino to move the robotic arm.
- When the robotic arm has finished it’s movement, the arduino sends a message back to the flash app which then sends the images which haven’t been chosen off screen and enlarges the chosen image.
- the system then increments the starting point for the search list and begins again