<?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; Google Maps</title>
	<atom:link href="http://www.wp-swimteam.org/category/google-maps/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, 28 Jul 2010 20:01:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wp-SwimTeam v0.1.417 &#8211; Meet Report Shortcode</title>
		<link>http://www.wp-swimteam.org/2009/07/05/wp-swimteam-v01417-meet-report-shortcode/</link>
		<comments>http://www.wp-swimteam.org/2009/07/05/wp-swimteam-v01417-meet-report-shortcode/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 21:59:29 +0000</pubDate>
		<dc:creator>Mike Walsh</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Report Generator]]></category>

		<guid isPermaLink="false">http://www.wp-swimteam.org/2009/07/05/wp-swimteam-v01417-meet-report-shortcode/</guid>
		<description><![CDATA[I posted wp-SwimTeam v0.1.417 this afternoon to the download page.&#160; This update adds new functionality and fixes a few minor things which have bothered me as I found them during the season.
The big new feature is a new shortcode – wpst_meet_report.&#160; This shortcode allows a the contents of a meet report to appear in a [...]]]></description>
			<content:encoded><![CDATA[<p>I posted wp-SwimTeam v0.1.417 this afternoon to the <a href="http://www.wp-swimteam.org/download-installation/">download page</a>.&#160; This update adds new functionality and fixes a few minor things which have bothered me as I found them during the season.</p>
<p>The big new feature is a new shortcode – <strong>wpst_meet_report</strong>.&#160; This shortcode allows a the contents of a meet report to appear in a post or a page like this example on the <a href="http://demo.wp-swimteam.org/2009/07/05/rsa-meet-report/">wp-SwimTeam demo site</a>.</p>
<p>The reports also now support hiding first and last names by only showing the initial as well as the ability to override the first name with a nickname if the swimmer’s profile has one.&#160; The missing ability to display a map on the swim meet report has been added so the checkbox on the form is now enabled.&#160; The reports can now display opt-in and opt-out information chronologically in the order they were added to the system as well as the previously available by name and by swimmer label.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-swimteam.org/2009/07/05/wp-swimteam-v01417-meet-report-shortcode/feed/</wfw:commentRss>
		<slash:comments>2</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>
		<item>
		<title>Google Maps short code implemented</title>
		<link>http://www.wp-swimteam.org/2008/07/14/google-maps-short-code-implemented/</link>
		<comments>http://www.wp-swimteam.org/2008/07/14/google-maps-short-code-implemented/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 13:09:44 +0000</pubDate>
		<dc:creator>Mike Walsh</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://wp-swimteam.sourceforge.net/?p=39</guid>
		<description><![CDATA[I have been using the Inline Google Maps plugin on the MacDolphins site but lately it has been flaky to say the least.  Sometimes the Google Map is displayed and sometimes it isn&#8217;t.  There isn&#8217;t any real rhyme or reason as to when it displays and when it doesn&#8217;t that I could find AND the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the <a href="http://avi.alkalay.net/2006/11/google-maps-plugin-for-wordpress.html">Inline Google Maps plugin</a> on the <a href="http://www.macdolphins.org">MacDolphins</a> site but lately it has been flaky to say the least.  Sometimes the Google Map is displayed and sometimes it isn&#8217;t.  There isn&#8217;t any real rhyme or reason as to when it displays and when it doesn&#8217;t that I could find AND the plugin is actually hard to use, particularly for the casual author.</p>
<p>So I implemented a new short code for Google Maps called wpst_google_map which will take an address as an argument and display a Google Map.  The plugin uses this as part of the Club Profile to map a swim club for directions and such.  The short code is based on a Google Maps class called <a title="Phoogle Maps" href="http://www.systemsevendesigns.com/phoogle">Phoogle Maps</a> which has been extended to work with the plugin.  <a title="Phoogle Maps" href="http://www.systemsevendesigns.com/phoogle">Phoogle Maps</a> works pretty much as advertised.  I wish it didn&#8217;t echo it&#8217;s output directly to the output buffer but fortunately PHP can control the output buffer so it can be captured and used in the context of the plugin.</p>
<pre style="text-align: left;">[wpst_google_map address="1600 Pennsylvania Ave, Washington DC, 20006" align="center"]</pre>
<p>The short code syntax above will display a map similar to this:<br/></p>
<div align="center">
<iframe width="425" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=1600+Pennsylvania+Ave+Washington+DC+20006&amp;sll=37.0625,-95.677068&amp;sspn=96.223342,113.554688&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;ll=38.907999,-77.032356&amp;output=embed&amp;s=AARTsJqVhgisMiYebJqaKPr5zitB4wGZfg"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=1600+Pennsylvania+Ave+Washington+DC+20006&amp;sll=37.0625,-95.677068&amp;sspn=96.223342,113.554688&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;ll=38.907999,-77.032356&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></div>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-swimteam.org/2008/07/14/google-maps-short-code-implemented/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
