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

<rss version=“2.0″>
<channel>
<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>”;
?>
</channel>
</rss>

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 can expose every category or tag as a RSS feed. For example, you can announce the feed for a category by adding this into your theme file at the part where the HTML-Head is generated:

Read more…