dcramer / wp-lifestream

Lifestreaming plugin for Wordpress
http://forums.lifestrm.com/index.php
122 stars 30 forks source link

Xbox Live Feed Broken #104

Closed canadaka closed 11 years ago

canadaka commented 11 years ago

[02-Jan-2013 05:33:18 UTC] PHP Warning: SimpleXMLElement::construct(): Entity: line 98: parser error : Entity 'raquo' not defined in wp-content\plugins\lifestream\extensions\xboxlive\extension.inc.php on line 53 [02-Jan-2013 05:33:18 UTC] PHP Warning: SimpleXMLElement::construct(): LinkID=62293&IIS70Error=404,0,0x00000000,6002">View more information » in wp-content\plugins\lifestream\extensions\xboxlive\extension.inc.php on line 53 [02-Jan-2013 05:33:18 UTC] PHP Warning: SimpleXMLElement::__construct(): ^ in wp-content\plugins\lifestream\extensions\xboxlive\extension.inc.php on line 53 [02-Jan-2013 05:33:18 UTC] PHP Warning: Invalid argument supplied for foreach() in wp-content\plugins\lifestream\extensions\xboxlive\extension.inc.php on line 58

this extension relies on a service that no longer exists "http://duncanmackenzie.net/services/GetXboxInfo.aspx?GamerTag=" 404

I did some searching an an alternative API's that could be used https://xboxapi.com/ http://www.xboxleaders.com/

Alternatively the site http://www.trueachievements.com allows the user to create a profile which then provides an RSS feed of a users achievements.

mousey commented 11 years ago

I've changed the plugin to use the xboxapi.com website, could you grab the file that's hosted here and try it on your site please.

If it works I'll close this request

canadaka commented 11 years ago

I get the following error: Warning: Invalid argument supplied for foreach() in extension.inc.php on line 57

I guess the other issue is both these api replacements don't have a method for showing all recent achievements unlocked. You have to specify a game to see only that games achievements.

mousey commented 11 years ago

OK @canadaka I've amended the code so we shouldn't get the FOREACH error message.

It should now list the last games you've played. Unfortunately neither of the APIs offer the Date/Time that you last played just the game name.