<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Xbox 360 Gamercard WordPress Plugin</title>
	<atom:link href="http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/</link>
	<description>Ardamis is a blog about web development and technology in general.</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:06:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: X Box 360 Gamercard Plugin for WordPress : Kevin Fell</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44195</link>
		<dc:creator>X Box 360 Gamercard Plugin for WordPress : Kevin Fell</dc:creator>
		<pubDate>Fri, 04 Feb 2011 02:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44195</guid>
		<description>[...] on your WordPress website.Until now, the latest version of this plugin, originally written by Oliver Baty, was broken after the recent updates to the X Box Live gamercard service. I initially rewrote [...]</description>
		<content:encoded><![CDATA[<p>[...] on your WordPress website.Until now, the latest version of this plugin, originally written by Oliver Baty, was broken after the recent updates to the X Box Live gamercard service. I initially rewrote [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Fell</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44182</link>
		<dc:creator>Kevin Fell</dc:creator>
		<pubDate>Tue, 01 Feb 2011 03:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44182</guid>
		<description>Cool plugin, I&#039;ve modified the php to bring it inline with the new gamercards and have it working on my wordpress blog :)

I will post my changes if you want to add them into your plugin?

- Kevin.</description>
		<content:encoded><![CDATA[<p>Cool plugin, I&#8217;ve modified the php to bring it inline with the new gamercards and have it working on my wordpress blog :)</p>
<p>I will post my changes if you want to add them into your plugin?</p>
<p>- Kevin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kimatg</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44112</link>
		<dc:creator>kimatg</dc:creator>
		<pubDate>Fri, 21 Jan 2011 12:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-44112</guid>
		<description>Hi, i&#039;ve been using this plugin for some time since like 2 years or so, and everything was just fine but as you might know the gamercard has been redesigned recently, and the script stopped fetching data as it should.

I tried examining the changed html code in the card page and modify the preg_match part accordingly, but can&#039;t seem to make it work again no matter what I do.

Honestly I haven&#039;t ever properly studied PHP so it might be that I&#039;m missing some really simple thing, but from what I understand now I think it&#039;s the preg_match part that I&#039;m doing wrong... how do you write regular expressions for html codes that are multi-lined? 

So say the new html code for the gamer picture part is:

[sourcecode language=&quot;text&quot;]&lt;a href=&quot;/en-US/MyXbox/Profile?gamertag=Kimatg&quot; rel=&quot;nofollow&quot;&gt;
                
            &lt;/a&gt;[/sourcecode]

writing

[sourcecode language=&quot;text&quot;]preg_match(&#039;#width=&quot;64&quot; height=&quot;64&quot; src=&quot;(.+?)&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/a&gt;#&#039;,$in, $gamertile1);[/sourcecode]

doesn&#039;t seem to catch it, because of the line break and space inbetween /&gt; and &lt;/a&gt; ...or at least that&#039;s what I think, since trying it out in here (http://www.switchplane.com/utilities/preg_match-regular-expression-tester.php?pattern=&amp;subject=) didn&#039;t work either.

I&#039;m sure you&#039;re busy with your work and all, but I&#039;d be very grateful if you&#039;d kindly took some time to look over this. Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;ve been using this plugin for some time since like 2 years or so, and everything was just fine but as you might know the gamercard has been redesigned recently, and the script stopped fetching data as it should.</p>
<p>I tried examining the changed html code in the card page and modify the preg_match part accordingly, but can&#8217;t seem to make it work again no matter what I do.</p>
<p>Honestly I haven&#8217;t ever properly studied PHP so it might be that I&#8217;m missing some really simple thing, but from what I understand now I think it&#8217;s the preg_match part that I&#8217;m doing wrong&#8230; how do you write regular expressions for html codes that are multi-lined? </p>
<p>So say the new html code for the gamer picture part is:</p>
<pre class="brush: plain; title: ; notranslate">&lt;a href=&quot;/en-US/MyXbox/Profile?gamertag=Kimatg&quot; rel=&quot;nofollow&quot;&gt;

            &lt;/a&gt;</pre>
<p>writing</p>
<pre class="brush: plain; title: ; notranslate">preg_match('#width=&quot;64&quot; height=&quot;64&quot; src=&quot;(.+?)&quot; alt=&quot;&quot; title=&quot;&quot;/&amp;gt;&lt;/a&gt;#',$in, $gamertile1);</pre>
<p>doesn&#8217;t seem to catch it, because of the line break and space inbetween /&gt; and  &#8230;or at least that&#8217;s what I think, since trying it out in here (<a href="http://www.switchplane.com/utilities/preg_match-regular-expression-tester.php?pattern=&#038;subject" rel="nofollow">http://www.switchplane.com/utilities/preg_match-regular-expression-tester.php?pattern=&#038;subject</a>=) didn&#8217;t work either.</p>
<p>I&#8217;m sure you&#8217;re busy with your work and all, but I&#8217;d be very grateful if you&#8217;d kindly took some time to look over this. Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-30232</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Sat, 27 Mar 2010 05:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-30232</guid>
		<description>How can i have it so it will show the recently played games as default when i enter &quot;www.mysite.com/xbox-gamercard-standalone.php?tag=MYGAMERTAG&quot;?</description>
		<content:encoded><![CDATA[<p>How can i have it so it will show the recently played games as default when i enter &#8220;www.mysite.com/xbox-gamercard-standalone.php?tag=MYGAMERTAG&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ardamis</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-27849</link>
		<dc:creator>ardamis</dc:creator>
		<pubDate>Mon, 15 Feb 2010 06:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-27849</guid>
		<description>A few things here:

You need to include a CSS file to style the gamertag.

The script uses the rep stars at http://www.xbox.com/xweb/xbox/xboxV2/images/gc_repstars_V2Shell_.png

Microsoft has totally revamped the way the mini gamercard looks since I wrote that script, and they&#039;ve taken down those rep star images - which is why you&#039;re not seeing them.

The script would have to be rewritten to use something like http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png

But I don&#039;t have the time to do that right now.</description>
		<content:encoded><![CDATA[<p>A few things here:</p>
<p>You need to include a CSS file to style the gamertag.</p>
<p>The script uses the rep stars at <a href="http://www.xbox.com/xweb/xbox/xboxV2/images/gc_repstars_V2Shell_.png" rel="nofollow">http://www.xbox.com/xweb/xbox/xboxV2/images/gc_repstars_V2Shell_.png</a></p>
<p>Microsoft has totally revamped the way the mini gamercard looks since I wrote that script, and they&#8217;ve taken down those rep star images &#8211; which is why you&#8217;re not seeing them.</p>
<p>The script would have to be rewritten to use something like <a href="http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png" rel="nofollow">http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png</a></p>
<p>But I don&#8217;t have the time to do that right now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DrXThirst</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-27847</link>
		<dc:creator>DrXThirst</dc:creator>
		<pubDate>Mon, 15 Feb 2010 06:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-27847</guid>
		<description>Can someone tell me why this isn&#039;t working?
Lukegrill&#039;s code worked for this - 
&lt;code&gt;http://gagefaulkner.com/newdirectory/cgi-bin/xbox-gamercard-standalone.php?tag=XiL+Destruction&lt;/code&gt;

However, the image isn&#039;t showing up... it is just a bunch of jumbled words.
Can someone help me?</description>
		<content:encoded><![CDATA[<p>Can someone tell me why this isn&#8217;t working?<br />
Lukegrill&#8217;s code worked for this &#8211;<br />
<code><a href="http://gagefaulkner.com/newdirectory/cgi-bin/xbox-gamercard-standalone.php?tag=XiL+Destruction" rel="nofollow">http://gagefaulkner.com/newdirectory/cgi-bin/xbox-gamercard-standalone.php?tag=XiL+Destruction</a></code></p>
<p>However, the image isn&#8217;t showing up&#8230; it is just a bunch of jumbled words.<br />
Can someone help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lukegill</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-23220</link>
		<dc:creator>lukegill</dc:creator>
		<pubDate>Tue, 03 Nov 2009 23:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-23220</guid>
		<description>I actually fixed it.

Just added the line:

$tag= $_GET[&#039;tag&#039;];

You might want to post this for anybody else who wants to get the same functionality.
Thanks again for a great script! superb!</description>
		<content:encoded><![CDATA[<p>I actually fixed it.</p>
<p>Just added the line:</p>
<p>$tag= $_GET['tag'];</p>
<p>You might want to post this for anybody else who wants to get the same functionality.<br />
Thanks again for a great script! superb!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lukegill</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-23219</link>
		<dc:creator>lukegill</dc:creator>
		<pubDate>Tue, 03 Nov 2009 23:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-23219</guid>
		<description>Hi Ardemis, great script. Thanks you so much for relesing it.
I have a question however that i hope you can answer.
I&#039;ve uploaded the script to my server, lets say it&#039;s http://www.mysite.com/scripts/gamercard.php
I&#039;ve tried going to the url http://www.mysite.com/scripts/gamercard.php?tag=MYGAMERTAG but it keeps showing &#039;ardemis&#039; gamertag, it&#039;s not picking up the ?tag=

Any idea why it&#039;s doing this?

Many Thanks</description>
		<content:encoded><![CDATA[<p>Hi Ardemis, great script. Thanks you so much for relesing it.<br />
I have a question however that i hope you can answer.<br />
I&#8217;ve uploaded the script to my server, lets say it&#8217;s <a href="http://www.mysite.com/scripts/gamercard.php" rel="nofollow">http://www.mysite.com/scripts/gamercard.php</a><br />
I&#8217;ve tried going to the url <a href="http://www.mysite.com/scripts/gamercard.php?tag=MYGAMERTAG" rel="nofollow">http://www.mysite.com/scripts/gamercard.php?tag=MYGAMERTAG</a> but it keeps showing &#8216;ardemis&#8217; gamertag, it&#8217;s not picking up the ?tag=</p>
<p>Any idea why it&#8217;s doing this?</p>
<p>Many Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-21993</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sun, 11 Oct 2009 03:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-21993</guid>
		<description>I was wanting to add code to grab the avatar and place it in a folder?
The link to each persons avatar is...
http://avatar.xboxlive.com/avatar/GAMERTAG/avatar-body.png  

Any help would be great!</description>
		<content:encoded><![CDATA[<p>I was wanting to add code to grab the avatar and place it in a folder?<br />
The link to each persons avatar is&#8230;<br />
<a href="http://avatar.xboxlive.com/avatar/GAMERTAG/avatar-body.png" rel="nofollow">http://avatar.xboxlive.com/avatar/GAMERTAG/avatar-body.png</a>  </p>
<p>Any help would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Marshall</title>
		<link>http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-20413</link>
		<dc:creator>Tim Marshall</dc:creator>
		<pubDate>Thu, 17 Sep 2009 13:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/#comment-20413</guid>
		<description>This may have been cover in other comments above but as I&#039;ve not got time to read them all I&#039;ll post it anyway.

The path to the Reputation images has changed to the following:

http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png

Just need to amend line 124 to the following:

$navgamerrep = &quot;http://live.xbox.com/xweb/lib/images/MyXbox/repstars&quot; . $gamerrep . &quot;.png&quot;;

Awesome plugin, that is all!</description>
		<content:encoded><![CDATA[<p>This may have been cover in other comments above but as I&#8217;ve not got time to read them all I&#8217;ll post it anyway.</p>
<p>The path to the Reputation images has changed to the following:</p>
<p><a href="http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png" rel="nofollow">http://live.xbox.com/xweb/lib/images/MyXbox/repstars20.png</a></p>
<p>Just need to amend line 124 to the following:</p>
<p>$navgamerrep = &#8220;http://live.xbox.com/xweb/lib/images/MyXbox/repstars&#8221; . $gamerrep . &#8220;.png&#8221;;</p>
<p>Awesome plugin, that is all!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

