Aug
22
22
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>
<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.
Related:
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.
Add New Comment
Viewing 1 Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)
August 30, 2008 at 5:52 pm
[...] Blog von CodingClues findet man einen PHP-Code mit dem seine Affilinet-Provisionen im RSS-Feedreader [...]