BlogKontaktTagcloud

delicious friends

I had the idea to write a script that find out which people you might add to your delicious network, based on the links you have in common. Probably this idea was unconsciously influenced by my co-worker Stefan how had a similar idea for tilllate-users. Unfortunately you don't get the information you need for this out of the del.icio.us api. So I wrote a littel screen-scraper that sucked the information directly from the del.icio.us frontend. Unfortunately I run the first few time into the Yahoo-"you shall not steal"-guard. (Even if I did wait one second between request, seems that for the frontend you have to wait even longer between requests.) This weekend I increased the timeout between requests massively and it did work (but very slow).

The idea is pretty simple:
  • The script get's your last 100 links
  • It does search then all the links that are saved by other person as well
  • It does save all person that have saved this link by username
  • Afterwards it does callculate how often a username is saved
  • It does order the usernames by occurrence
  • It does print out the first 100 usernames with information if they are fan of you or in your network
As the script is, because of the trottling, very slow I can only give you a small sample of output here. If you're near to my "network" likelihood might be big to find you on the list. As you see I did not spend a lot of time in html formating ;-) I did use PHP for scripting, XML_HTML_Sax3 for parsing and Cache_Lite for, well, caching.
Ähnliche Beiträge:
SuperHappyDevFlat >01<
PHP Quine
I'm in ur powerlinez
100@facebook
New email tactic
Comments (2)  Permalink