gets data from flickr, reads the xml, outputs a html file