Last week, I created a web service that will generate an APML profile based upon your last.fm listening habits (see the post here).  This week, I've added support for del.icio.us.  With this web service, you can get an APML profile based upon your tagging behavior.  For instance,  I can retrieve my Del.icio.us APML profile with:

 http://research.sun.com:8080/AttentionProfile/apml/web/plamere

This returns an APML file that looks like this:

 

<APML xmlns="http://www.apml.org/apml-0.6" version="0.6" >
<Head>
<Title>Taste for del.icio.us user plamere</Title>
<Generator>Created by TasteBroker.org </Generator>
<DateCreated>2007-11-30T05:30:34</DateCreated>
</Head>
<Body defaultprofile="web">
<Profile name="web">
<ImplicitData>
<Concepts>
<Concept key="android" value="0.16666667" from="tastebroker.org" updated="2007-11-30T05:30:34" />
<Concept key="attention" value="0.16666667" from="tastebroker.org" updated="2007-11-30T05:30:34" />
<Concept key="audio" value="0.16666667" from="tastebroker.org" updated="2007-11-30T05:30:34" />
<Concept key="bbc" value="0.16666667" from="tastebroker.org" updated="2007-11-30T05:30:34" />
<Concept key="blog" value="0.16666667" from="tastebroker.org" updated="2007-11-30T05:30:34" />
<!-- many lines omitted -->
</Concepts>
</ImplicitData>
</Profile>
</Body>
</APML>

Unfortunately, Del.icio.us doesn't provide any web services to get at this data directly so I had to scrape the HTML to extract the concepts and counts.  This makes the service quite fragile.  The next time Del.icio.us changes it's page layout, this may break.  Hopefully, we can convince sites like Del.icio.us to start making their data available directly as APML so people like me don't have to wrestle with regular expressions on a Thursday evening.  There's a bit more info about these web services on the tastebroker page.
 

 

Comments:

Post a Comment:
Comments are closed for this entry.

This blog copyright 2010 by plamere