User:Emanuele Bonetti/secondweek

From XPUB & Lens-Based wiki

Second Week


_day one _I've uploaded a page somewhere over the internet. That page isn't linked on any other page and it doesn't have links to nay other page as well. Is just a small island not signed on the map, It's a secret place. I'm not going to write the link here in a way that you are probably never going to see that page.


_day two _I've decided to investigate on Flickr, trying to take off all the social aspects of the platform. Trying to get just the images I wrote a python script to detect the direct url to the picture from a defined keyword. the script is dowloadable here


_day three I was wondering how does the art look like? I've found a kind of answer looking at what flickr'users are tagging as "art" the result can be seen here. No more social network here, only the pictures the the users have been posted on the platform. the script is dowloadable here


_day four/five Going on with my research on Flickr I've decided to make my previous step useful having a personal search engine that gives me just one image based on a key word the example is still "art", an image that I could use for my graphic design work for example. In this way I set the script in order to get just images released under the creative commons, that can be use for commercial purpose and that can be adapted and modified. the result can be seen here may takes some time to load the page try to load different time the page to get different results


_day six I wanted to use the last days in order to find a way to use for the pictures that I'm now able to found but that would have involved more time, energy and a new planification, so I've just decided to give a better shape to what I had so far since some of the pictured were to small to be shown properly on a internet page I decided to use them as a background. The final result is on one a hand just a gallery of pictures from Flickr but on the other hand is my personal search engine, base on flickr that gives to me all the time a different image that I can freely use for any kind of purpose. At the same time it makes me able to have just what I need from Flickr avoiding some of the aspects of its being a social platform: comments, friends, albums and so on but, of course, still taking advantages of the fact that different people have been uploading their pictures to be shared. It takes just what I really needed leaving all the other stuff in their original place. The script I've written, downloadable here, still contains all the functions I've been defining in this week and they can be used in order to gather images in different formats and different informations from Flickr, from the thumbnails to the user's pages to the image in its original size. the result can be seen here

future plans I would like to improve the script first of all in order to make it more comprehensible for people who want to use the functions I've defined for their own projects. I would like to add some options, maybe as an interface, to get more results and to be able to easily change the keyword, the script is actually still looking for picture tagged as "art", this keyword can of course be easily changed from the script but it would be nice to have an easier way to do it. Last thing would maybe have the search engine running over different platform, i.e. Google image, in order to get a wider range of possible rusults

notes For practical reason of avoiding huge loading time the script is now parsing just the results shown in the first page's source code anyway more then the ones displayed on the page itself as you can check [try ctr+u on the page ;) but is already optimized to run over the whole range of the resulting page. To verify that is enough to change the variable "num_pag" in the original script. Just be patient, it can takes quite long...

notes II In order to run the script is necessary to download Beautiful Soup. -Download the Beautiful Soup folder. -Place the script inside this folder. -run it! Both of the Beautiful Soup version will work fine. My suggestion based on my personal experience is to download the 3.0.7a.. More info about this can be found here