If you want to display your current Affilinet earnings in your Feedreader, you can use this PHP code:

<rss version=“2.0″>
<title>Affilinet Kontostand</title>
$qry_file = ‘http://publisher-webservices.affili.net/Publisher/Account.asmx/GetPublisherSummary?’
. ‘PublisherID=X’
. ‘&Password=X’;
$xml = simplexml_load_file($qry_file);
print “<item>”;
print “<title>Affilinet Kontostand: “ . $xml->CurrentMonth->Confirmed . ” EUR</title>”;
print “</item>”;

Replace the Publisher ID and the Password in the URL. You can ask Affilinet for a Publisher Webservice Password in their webinterface in the account settings.

This code is based on code by Sascha Boege.

I have written a similar script for layer-ads.de earnings.

Wordpress: A RSS Feed for Categories

Are you interested in reading more from CodingClues?
Then subscribe to new postings via RSS or via E-Mail.

Viewing 1 Comment

close Reblog this comment
blog comments powered by Disqus