<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oyvindhauge.com &#187; fopen</title>
	<atom:link href="http://www.oyvindhauge.com/blog/tag/fopen/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oyvindhauge.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 21:28:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Xbox 360 Gamercard WordPress Plug-in: Update</title>
		<link>http://www.oyvindhauge.com/blog/2009/07/15/xbox-360-gamercard-wordpress-plug-in-update/</link>
		<comments>http://www.oyvindhauge.com/blog/2009/07/15/xbox-360-gamercard-wordpress-plug-in-update/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 07:07:12 +0000</pubDate>
		<dc:creator>Øyvind Hauge</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[fopen]]></category>
		<category><![CDATA[gamecard]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Xbox]]></category>

		<guid isPermaLink="false">http://oyvindhauge.com/blog/?p=1086</guid>
		<description><![CDATA[A while back I wrote about Oliver Baty&#8217;s Xbox 360 gamercard plug-in for WordPress. Since then Microsoft have changed their xbox.com site a bit, something which created some layout problems for the gamecard plugin. It seems that Oliver has updated his plugin to reflect these change but so have I. I tried to follow the [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I <a href="http://oyvindhauge.com/blog/2008/07/31/xbox-360-gamercard-wordpress-plugin/">wrote</a> about Oliver Baty&#8217;s Xbox 360 gamercard <a href="http://www.ardamis.com/2007/03/29/xbox-360-gamercard-wordpress-plugin/">plug-in for WordPress</a>. Since then Microsoft have changed their <a href="http://www.xbox.com">xbox.com</a> site a bit, something which created some layout problems for the gamecard plugin. It seems that Oliver has updated his plugin to reflect these change but so have I.</p>
<p>I tried to follow the new look Microsoft gave their xbox.com page but after upgrading WordPress I lost all style changes I had done (silly me). However, I have tried to replicate some of it and I think it looks half decent. If you would like to use my modifications to Oliver&#8217;s plug-in, please <a href="http://oyvindhauge.com/blog/wp-content/xbox-gamercard.zip">download them here</a>. I updated my version to use <a href="http://php.net/manual/en/function.fopen.php">fopen</a> instead of <a href="http://curl.haxx.se/">curl</a> since some web hosts don&#8217;t provide curl.</p>
<p>Remember to put the folder (xbox-gamercard) in your plug-in directory and include the content of the .css file in your current theme&#8217;s style sheet (style.css). You may delete the .css file (put_into_your_themes_style.css) afterwards.</p>
<p>To use it you simply put [game_card "your_tag"] e.g. [game_card haugeoy] somewhere in one of your posts. Remember to remove the underscore in game_card (write it gamecard) and keep the brackets as brackets, don&#8217;t let them be converted to html code.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://oyvindhauge.com/blog/2008/07/31/xbox-360-gamercard-wordpress-plugin/O</div>
<p>
	<div class="GamerCard">
	<div class="GamerCardTag" class="GamerCard"><a class="GamerCardTaglink" href="http://live.xbox.com/member/haugeoy">haugeoy</a></div>
	<div class="GamerCardContent">
		<a href="http://live.xbox.com/member/haugeoy"><img class="GamerCardImg" src="/></a>
		<div class="GamerCardStats">
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Rep: </span><span class="GamerCardInfoValue"><img class="GamerCardRepImg" alt="Reputation for haugeoy" src="http://live.xbox.com/xweb/lib/images/gc_repstars_external_.gif" /></span> <br /></div>
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Gamerscore: </span><span class="GamerCardInfoValue"></span> <br /></div>
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Zone: </span><span class="GamerCardInfoValue"></span> <br /></div>
		</div>
    </div></div></p>
<p>You may also try gamecardfull to get the following</p>
<p>
	<div class="GamerCard">
	<div class="GamerCardTag" class="GamerCard"><a class="GamerCardTaglink" href="http://live.xbox.com/member/haugeoy">haugeoy</a></div>
	<div class="GamerCardContent">
		<a href="http://live.xbox.com/member/haugeoy"><img class="GamerCardImg" src="/></a>
		<div class="GamerCardStats">
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Rep: </span><span class="GamerCardInfoValue"><img class="GamerCardRepImg" alt="Reputation for haugeoy" src="http://live.xbox.com/xweb/lib/images/gc_repstars_external_.gif" /></span> <br /></div>
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Gamerscore: </span><span class="GamerCardInfoValue"></span> <br /></div>
			<div class="GamerCardInfo"><span class="GamerCardInfoTag">Zone: </span><span class="GamerCardInfoValue"></span> <br /></div>
		</div>
    </div><div class="GamerCardPlayedGames"></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindhauge.com/blog/2009/07/15/xbox-360-gamercard-wordpress-plug-in-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

