3 ms·
Sure. It was made very quickly with PHP and AWS SDK for PHP which can be found here http://aws.amazon.com/sdkforphp/ http://aws.amazon.com/sdkforphp/. I used a
by chunkyslink 16y ago
Sure. It was made very quickly with PHP and AWS SDK for PHP which can be found here http://aws.amazon.com/sdkforphp/ http://aws.amazon.com/sdkforphp/.
I used a cron each minute to scrape twitter and search for the tweets to the @findsimilar account. These are then stored in a MySql table. Another script then runs over them and looks for the hashtag.
At this point we search a different part of Amazon depending on what is being searched for. The results are stored again in MySql tables (one for the page, one for the Artists / authors and one for the products).
I then used wildcard DNS entry for *.findsimilar.info and the same for apache so that we can use the format xxx.findsimilar.info which will be good for seo and also easy to guess.
In essence that is it. The biggest problem I can see is when someone is an author, artist and actor. We have a namespacing problem. Perhaps I need to add xxx.findsimilar.info/actor /author /artist