[Kde-pim] [kdepim-users] ratings on Akgregator

John LoGioco john at outbrain.com
Mon Oct 15 15:28:32 BST 2007


Hi Frank - I wanted to check in and see if you had the chance to review
Ori's email.  We look forward to your response.

Thanks,
John

-----Original Message-----
From: Ori Lahav 
Sent: Saturday, October 13, 2007 6:12 PM
To: John LoGioco; 'Frank Osterfeld'; 'kde-pim at kde.org'
Subject: RE: [Kde-pim] [kdepim-users] ratings on Akgregator

Hi Frank
Nice to meet you. 
I looked on Akgregator's site and code and seems like the integration
should be very simple.

There is one precondition which is User Id,
userId is the identifier of the reader, and it should be uniqiue in the
partner user-base space.

If you have a system that manages user IDs - that user Id will be very
good to use.
In case you don't have such mechanism and since the application is a
standalone application that does not use any server, it will be fine if
you can supply some user ID that will be consistent with the
installation. 
Here are some ideas about how to do it:
- Simple 'date' number that will be accurate by the millisecond.
- hash of mac address and date.
- etc...

Then store it in the application storage so the application can access
it.

The next thing you have to do is pick the spot you want to locate the
outbrain rater (article header or footer).and I thinkyou're your
"DefaultNormalViewFormatter::formatArticle" function where you should
add the following HTML code to it:
-----------------------------------------------------------------------
<!-- Outbrain rater widget Tag start -->
<SCRIPT LANGUAGE="JavaScript">
	var  OB_user = "ob_john"; 
	var OutbrainPermaLink =
"http://blog.outbrain.com/2007/07/testing-the-rat.html"
	var OB_partnerKey = "AYQHSUWJ8576";
	var OB_partnerName = "AYQHSUWJ8576
	var OB_testMode = true;		
</SCRIPT>
<script src='http://widgets.outbrain.com/OutbrainPartnerRater.js'
type='text/javascript'></script>
<!-- Outbrain rater widget Tag end -->  
------------------------------------------------------------------------
The code above is just an example and of course you should format it
using c++ code but that's the basic.

Here is explanation about the parameters:
OB_user = the user ID you generate.
OutbrainPermaLink = the permalink of the article.
OB_partnerKey  and OB_partnerName = partner key John will supply you.
OB_testMode = 'true' for the integration period, 'false'[ when you want
to go live and use our production data.

That's about it.
Let me know if you need more assistance.

Ori

-----Original Message-----
From: John LoGioco 
Sent: Wednesday, October 10, 2007 4:36 PM
To: Frank Osterfeld; kde-pim at kde.org
Cc: Ori Lahav
Subject: RE: [Kde-pim] [kdepim-users] ratings on Akgregator

Hi Frank - Thanks for sending the source code link.  After looking at
the code, our first impression is that the integration process to add
ratings and recommendations to your reader would be quite simple.

Based on this I would like to introduce Ori Lahav into our conversation.
Ori is cced on this email.  Ori feel free to expand on the steps
necessary to add our ratings into the code.

Thanks,
John

-----Original Message-----
From: Frank Osterfeld [mailto:frank.osterfeld at gmx.de] 
Sent: Friday, October 05, 2007 12:54 PM
To: kde-pim at kde.org
Cc: John LoGioco
Subject: Re: [Kde-pim] [kdepim-users] ratings on Akgregator

Hi,

On Friday 28 September 2007, John LoGioco wrote:
> Hi Frank - We can look at covering some of the development work.  I 
> think the next best step is to get our CTO - Ori Lahav to look at the
project.
> Since its open source I am assuming he can look at the code and get an

> idea of what we would need to do.  If there is anything that you know 
> save Ori some time please let me know.

The code is KDE SVN, see
http://websvn.kde.org/trunk/KDE/kdepim/akregator/ for the current
development branch. (It's quite broken as I started to rewrite parts of
it without finishing it - I either need to finish it or revert to the
old code before KDE 4.0 release). 

> I will make an email introduction to you with Ori as well.

Feel free to do so.

Regards,

Frank
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list