Midgard and attention profiling

0 views
Skip to first unread message

henri....@gmail.com

unread,
Dec 28, 2007, 4:30:02 AM12/28/07
to APML.Public.General
Hi!

I'm new to this group but I've been following the APML discussion for
a while now and given the issues some thought.

I published some notes on this yesterday:
http://bergie.iki.fi/blog/putting_attention_to_midgard.html

Since then some attention profiling capabilities have been already
added:
* Importing and exporting APML
* Nightly refresh of user's subscribed Last.fm and del.icio.us
attention data from tastebroker.org
* Generating attention data from user's "favorited items" (see
http://desdeamericaconamor.org/blog/node/393)
* Capturing and storing clickstream from AttentionTrust.org attention
recorder (but not yet generating APML data from it)

The next step will be adding attention "score calculator" so various
items inside the CMS can be evaluated against user's attention data.
I'm thinking of supporting using internal calculations and optionally
Engagd ItemRank web service.

The work is still quite early but if anybody wants to see code it is
available in http://trac.midgard-project.org/browser/trunk/midcom/net.nemein.attention

Henri Bergius

PS: Related to the APML 1.0 discussion, I'd love to see optional
"start" and "end" datetime attributes for APML nodes. If I'm planning
a trip to London in February I could be interested in that Location
node only for the duration of my trip. This kind of timed attention
data could be quite easily gathered from services like Plazes and
Dopplr.

Also, I'd propose using XEP-0080 attributes (http://www.xmpp.org/
extensions/xep-0080.html#format) for depicting the location attribute
for maximum compatibility with various geo services

henri....@gmail.com

unread,
Dec 31, 2007, 12:19:23 PM12/31/07
to APML.Public.General
On Dec 28, 11:30 am, "henri.berg...@iki.fi" <henri.berg...@gmail.com>
wrote:
> The next step will be adding attention "score calculator" so various
> items inside the CMS can be evaluated against user's attention data.
> I'm thinking of supporting using internal calculations and optionally
> Engagd ItemRank web service.

The internal calculations part is now done for concepts, with authors
and sources coming probably still this week.

Hopefully the PHP API will be useful also for other projects :-)

<?php
// Load the attention profiling library
$_MIDCOM->load_library('net.nemein.attention');

// Instantiate attention calculator for current user's default
attention profile
$calculator = new net_nemein_attention_calculator();

// Get attention score for an article
$score = $calculator->rate_object($article);
?>

http://bergie.iki.fi/blog/calculating_attention_with_midgard.html

Happy new year!

/Henri
Reply all
Reply to author
Forward
0 new messages