<?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>wp-SwimTeam &#187; Phoogle</title>
	<atom:link href="http://www.wp-swimteam.org/tag/phoogle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wp-swimteam.org</link>
	<description>A WordPress plugin for swim team management</description>
	<lastBuildDate>Wed, 01 Sep 2010 20:43:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google Maps problem is fixed!</title>
		<link>http://www.wp-swimteam.org/2008/08/19/google-maps-problem-is-fixed/</link>
		<comments>http://www.wp-swimteam.org/2008/08/19/google-maps-problem-is-fixed/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 04:31:22 +0000</pubDate>
		<dc:creator>Mike Walsh</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Progress]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Phoogle]]></category>
		<category><![CDATA[phpHtmlLib]]></category>

		<guid isPermaLink="false">http://wp-swimteam.sourceforge.net/?p=106</guid>
		<description><![CDATA[Last night I fixed the Google Maps problem by re-coding the way I was getting the data from Google.  I had been using a class called Phoogle but have eliminated it in favor of a direct AJAX solution using Google&#8217;s AJAX API. Instead of embedding this new solution in the wp-SwimTeam plugin, I implemented as [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I fixed the <a href="http://code.google.com/apis/maps/">Google Maps</a> problem by re-coding the way I was getting the data from Google.  I had been using a class called <a href="http://www.systemsevendesigns.com/phoogle">Phoogle</a> but have eliminated it in favor of a direct AJAX solution using <a href="http://code.google.com/apis/ajax/documentation/">Google&#8217;s AJAX API</a>.</p>
<p>Instead of embedding this new solution in the wp-SwimTeam plugin, I implemented as a widget in <a title="phpHtmlLib" href="http://phphtmllib.newsblob.com">phpHtmlLib</a>.  It works pretty well too!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-swimteam.org/2008/08/19/google-maps-problem-is-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Demo Site is running &#8230; sort of</title>
		<link>http://www.wp-swimteam.org/2008/08/15/demo-site-is-running-sort-of/</link>
		<comments>http://www.wp-swimteam.org/2008/08/15/demo-site-is-running-sort-of/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 11:55:05 +0000</pubDate>
		<dc:creator>Mike Walsh</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Phoogle]]></category>

		<guid isPermaLink="false">http://wp-swimteam.sourceforge.net/?p=90</guid>
		<description><![CDATA[The nice folks at WinSwim are interested in what I am doing with this plugin and have offered to host a demo site.  You can find it at:  http://wp.winswim.com  The demo site is running for the most part, if you are interested in trying it out, go ahead and register with the demo site then [...]]]></description>
			<content:encoded><![CDATA[<p>The nice folks at <a title="WinSwim" href="http://www.winswim.com">WinSwim</a> are interested in what I am doing with this plugin and have offered to host a demo site.  You can find it at:  <a href="http://wp.winswim.com">http://wp.winswim.com</a>  The demo site is running for the most part, if you are interested in trying it out, go ahead and register with the demo site then drop me an e-mail so I can change your permissions so you can actually do something other than register sample swimmers.</p>
<p>I say the demo site is running &#8220;sort of&#8221; because just about everything is working although there are a few bugs I know of (e.g. defining age groups).  The one thing which isn&#8217;t working and it is driving me nuts is the ability to display a Google Map.  This is a really nice feature that my own team used quite a bit this year.</p>
<p>I have encapsulated a class called <a title="Phoogle" href="http://www.systemsevendesigns.com/phoogle">Phoogle</a> within wp-SwimTeam and it worked just fine in my development area and on the <a title="MacDolphins" href="http://www.macdolphins.org">MacDolphins</a> site.  Phoogle relies on a PHP configuration option known as <a href="http://us.php.net/manual/en/filesystem.configuration.php">allow_url_fopen</a> which basically allows PHP to open a web page on an external site and read the content like it would a local file.  It&#8217;s a nice feature but one that a lot of web hosting providers turn off.  In fact, the host for the demo site has it turned off.</p>
<p>There is another technology called cURL which for all practical purposes, accomplishes what allow_url_fopen does although it is a little more involved.  I enhanced Phoogle to use cURL if allow_url_fopen is disabled and it worked just fine in my development area.  Great!  The change was pretty simple too.  Uploaded to the production server and nothing.  It doesn&#8217;t work there.  It turns out that <a title="GoDaddy" href="http://www.godaddy.com">GoDaddy</a> (the web hosting provider) has a <a href="http://help.godaddy.com/article/289">goofy cURL implementation</a> which requires the use of a proxy.</p>
<p>After a much trial and error and a couple e-mails with GoDaddy support, all I have accomplished is a partial cURL request.  I am unable to get a complete response which prevents the map from being displayed.  I then got another e-mail from GoDaddy telling me that cURL is only supported on their Linux hosting environments not under Windows (even though it is enabled in PHP.ini).  Bleh.  ;-(</p>
<p>I think for now when I find a short code, I will check the allow_url_fopen setting and if it is off, will issue a warning during the short code processing.  There is probably a way to interact with the <a title="Google Maps API" href="http://code.google.com/apis/maps/">Google Maps API</a> via Javascript, I guess I will need to look into that.  It is really too bad, the Phoogle solution was really simple to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-swimteam.org/2008/08/15/demo-site-is-running-sort-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
