<?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"
	>
<channel>
	<title>Comments for The FileMaker Collective</title>
	<atom:link href="http://fmcollective.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://fmcollective.com</link>
	<description>A gathering of FileMaker developers and thinkers</description>
	<pubDate>Wed, 15 Oct 2008 20:53:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by Mike Lee</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-1245</link>
		<dc:creator>Mike Lee</dc:creator>
		<pubDate>Tue, 08 Apr 2008 01:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-1245</guid>
		<description>A tip of the hat to Jon Rosen for pointing out a flaw in my above PHP.  It turns out that when your server's PHP configuration 'magic_quotes_gpc' directive is turned On (as it is by default), then googlemaparray.php won't work.  Our server has this directive turned Off, so I didn't notice this issue while testing here.

The solution is to use the &lt;code&gt;stripslashes()&lt;/code&gt; function (&lt;a href="http://www.php.net/stripslashes" rel="nofollow"&gt;http://www.php.net/stripslashes&lt;/a&gt;) to convert the escaped characters.

Immediately after the line which reads:
&lt;code&gt;$addrarray = $_GET[’addr’];&lt;/code&gt;

Add the following:
&lt;code&gt;$addrarray = stripslashes($addrarray);&lt;/code&gt;

Note: I've updated the original PHP to version 1.1 to reflect this change.</description>
		<content:encoded><![CDATA[<p>A tip of the hat to Jon Rosen for pointing out a flaw in my above PHP.  It turns out that when your server&#8217;s PHP configuration &#8216;magic_quotes_gpc&#8217; directive is turned On (as it is by default), then googlemaparray.php won&#8217;t work.  Our server has this directive turned Off, so I didn&#8217;t notice this issue while testing here.</p>
<p>The solution is to use the <code>stripslashes()</code> function (<a href="http://www.php.net/stripslashes" rel="nofollow">http://www.php.net/stripslashes</a>) to convert the escaped characters.</p>
<p>Immediately after the line which reads:<br />
<code>$addrarray = $_GET[’addr’];</code></p>
<p>Add the following:<br />
<code>$addrarray = stripslashes($addrarray);</code></p>
<p>Note: I&#8217;ve updated the original PHP to version 1.1 to reflect this change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by Mike Lee</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-998</link>
		<dc:creator>Mike Lee</dc:creator>
		<pubDate>Sun, 06 Jan 2008 21:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-998</guid>
		<description>Regarding directions, I haven't investigated this, but have a couple comments.

You can call the correctly-formatted directly URL within a Web Viewer:
http://maps.google.com/maps?&#038;saddr=STARTADDRESS&#038;daddr=DESTINATIONADDRESS

Of course, this doesn't utilize the API and you lose control over look and feel.

The other option is to investigate the Google Maps API, which does have information on getting directions:
http://code.google.com/apis/maps/documentation/services.html#Driving_Directions

They have a sample page utilizing this:
http://code.google.com/apis/maps/documentation/examples/directions-simple.html

This sounds like an interesting addition.  Perhaps I can address it via a future article.</description>
		<content:encoded><![CDATA[<p>Regarding directions, I haven&#8217;t investigated this, but have a couple comments.</p>
<p>You can call the correctly-formatted directly URL within a Web Viewer:<br />
<a href="http://maps.google.com/maps?&#038;saddr=STARTADDRESS&#038;daddr=DESTINATIONADDRESS" rel="nofollow">http://maps.google.com/maps?&#038;saddr=STARTADDRESS&#038;daddr=DESTINATIONADDRESS</a></p>
<p>Of course, this doesn&#8217;t utilize the API and you lose control over look and feel.</p>
<p>The other option is to investigate the Google Maps API, which does have information on getting directions:<br />
<a href="http://code.google.com/apis/maps/documentation/services.html#Driving_Directions" rel="nofollow">http://code.google.com/apis/maps/documentation/services.html#Driving_Directions</a></p>
<p>They have a sample page utilizing this:<br />
<a href="http://code.google.com/apis/maps/documentation/examples/directions-simple.html" rel="nofollow">http://code.google.com/apis/maps/documentation/examples/directions-simple.html</a></p>
<p>This sounds like an interesting addition.  Perhaps I can address it via a future article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by hotsoup</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-997</link>
		<dc:creator>hotsoup</dc:creator>
		<pubDate>Sun, 06 Jan 2008 06:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-997</guid>
		<description>I am trying to get FM to pull up a map of directions simply from "point a to point b" with the data in my database. Can someone help?</description>
		<content:encoded><![CDATA[<p>I am trying to get FM to pull up a map of directions simply from &#8220;point a to point b&#8221; with the data in my database. Can someone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping in FileMaker by Mike Lee</title>
		<link>http://fmcollective.com/2007/05/23/google-mapping-in-filemaker/#comment-751</link>
		<dc:creator>Mike Lee</dc:creator>
		<pubDate>Tue, 27 Nov 2007 14:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/?p=43#comment-751</guid>
		<description>Prior to FM9, the Web Viewer could only display URLs (not HTML directly).  That's why I originally started looking at tools that could convert a structured URL (i.e. http://example/map.php?addr=ADDRESS) into a suitable page for Google Maps.  I couldn't create the HTML locally and display it locally without resorting to other tricks (plug-ins to save a file locally, etc.)  And those other tricks would make it brittle and add to the general complexity of making it work (although that's open for debate).  I settled on PHP because I happened to find some tools to make the Google Mapping easier (the "Easy Google Map" PHP class) and I have the PHP knowledge to make it work.  That said, there are downsides to a server-based approach, notably the URL length limits mentioned above which impedes the total number of addresses that can be mapped at once.

With FM9, you can use the "data: URI scheme" (see http://en.wikipedia.org/wiki/Data:_URI_scheme) to hand-build the HTML and display it directly in a Web Viewer.  This seems on the surface to be a much better choice, because the data don't have to be sent across the internet to another server just to be displayed.

Here's a simplified example:
"data:text/html,&#60;html&gt;&#60;body&gt;Hello World!&#60;/body&gt;&#60;/html&gt;"

If you put that into a Web Viewer (&gt;=FM9), it will show "Hello World!".  Fairly boring, but the HTML can be as complex as required to get the job done.

The last step would be to write a process by which the JavaScript-based page is created directly in FM.  I'll leave that as an exercise for the reader.  I'd be interested if anyone out there gets a prototype working.

Cheers,
Mike</description>
		<content:encoded><![CDATA[<p>Prior to FM9, the Web Viewer could only display URLs (not HTML directly).  That&#8217;s why I originally started looking at tools that could convert a structured URL (i.e. <a href="http://example/map.php?addr=ADDRESS" rel="nofollow">http://example/map.php?addr=ADDRESS</a>) into a suitable page for Google Maps.  I couldn&#8217;t create the HTML locally and display it locally without resorting to other tricks (plug-ins to save a file locally, etc.)  And those other tricks would make it brittle and add to the general complexity of making it work (although that&#8217;s open for debate).  I settled on PHP because I happened to find some tools to make the Google Mapping easier (the &#8220;Easy Google Map&#8221; PHP class) and I have the PHP knowledge to make it work.  That said, there are downsides to a server-based approach, notably the URL length limits mentioned above which impedes the total number of addresses that can be mapped at once.</p>
<p>With FM9, you can use the &#8220;data: URI scheme&#8221; (see <a href="http://en.wikipedia.org/wiki/Data:_URI_scheme" rel="nofollow">http://en.wikipedia.org/wiki/Data:_URI_scheme</a>) to hand-build the HTML and display it directly in a Web Viewer.  This seems on the surface to be a much better choice, because the data don&#8217;t have to be sent across the internet to another server just to be displayed.</p>
<p>Here&#8217;s a simplified example:<br />
&#8220;data:text/html,&lt;html>&lt;body>Hello World!&lt;/body>&lt;/html>&#8221;</p>
<p>If you put that into a Web Viewer (>=FM9), it will show &#8220;Hello World!&#8221;.  Fairly boring, but the HTML can be as complex as required to get the job done.</p>
<p>The last step would be to write a process by which the JavaScript-based page is created directly in FM.  I&#8217;ll leave that as an exercise for the reader.  I&#8217;d be interested if anyone out there gets a prototype working.</p>
<p>Cheers,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping in FileMaker by dburnham</title>
		<link>http://fmcollective.com/2007/05/23/google-mapping-in-filemaker/#comment-748</link>
		<dc:creator>dburnham</dc:creator>
		<pubDate>Tue, 27 Nov 2007 06:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/?p=43#comment-748</guid>
		<description>I would like to know if there is a solution to this same problem within FileMaker itself, without PHP serving anything.  That is, how can I get the web viewer to simply display the full image of the map without the sidebar?</description>
		<content:encoded><![CDATA[<p>I would like to know if there is a solution to this same problem within FileMaker itself, without PHP serving anything.  That is, how can I get the web viewer to simply display the full image of the map without the sidebar?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DevCon 2007 Closing Session by Sdyhr</title>
		<link>http://fmcollective.com/2007/08/09/devcon-2007-closing-session/#comment-559</link>
		<dc:creator>Sdyhr</dc:creator>
		<pubDate>Wed, 07 Nov 2007 16:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/08/09/devcon-2007-closing-session/#comment-559</guid>
		<description>Unfortunately can't I get ends to meet, when attempting to participate each year in Devcon. But this session would have been beneficial to me at least. However, a lot of these observation or rules of thumb's ought to be availiable more publicly than bleeding out of corners and cracks when special occations arises.

Let me give an example of where the ticks or clocking could be nice to know. If you have a many2many stucture and you wish to make an ANDSEARCH ... should you go ahead with a constrained search in the portal? Or should you work only stored fields:

1. In Actors, find Bogart OR Bacall (2 requests);
2. Go to Related Record [ from Appearances ; Match found set ];
3. Find duplicates in TitleID [ Constrain found set ];
4. Go to Related Record [ from Titles ; Match found set ] 

(Michael Horaks reply to a thread in fmforums)

It's obvious if three actors are chosen, will this metod break!

--sd</description>
		<content:encoded><![CDATA[<p>Unfortunately can&#8217;t I get ends to meet, when attempting to participate each year in Devcon. But this session would have been beneficial to me at least. However, a lot of these observation or rules of thumb&#8217;s ought to be availiable more publicly than bleeding out of corners and cracks when special occations arises.</p>
<p>Let me give an example of where the ticks or clocking could be nice to know. If you have a many2many stucture and you wish to make an ANDSEARCH &#8230; should you go ahead with a constrained search in the portal? Or should you work only stored fields:</p>
<p>1. In Actors, find Bogart OR Bacall (2 requests);<br />
2. Go to Related Record [ from Appearances ; Match found set ];<br />
3. Find duplicates in TitleID [ Constrain found set ];<br />
4. Go to Related Record [ from Titles ; Match found set ] </p>
<p>(Michael Horaks reply to a thread in fmforums)</p>
<p>It&#8217;s obvious if three actors are chosen, will this metod break!</p>
<p>&#8211;sd</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by wstites</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-442</link>
		<dc:creator>wstites</dc:creator>
		<pubDate>Fri, 26 Oct 2007 12:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-442</guid>
		<description>This is and extremely flexible and powerful tool that I was able to plug-in to my existing database.  Solved some immediate needs.  Thanks!</description>
		<content:encoded><![CDATA[<p>This is and extremely flexible and powerful tool that I was able to plug-in to my existing database.  Solved some immediate needs.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by Mike Lee</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-207</link>
		<dc:creator>Mike Lee</dc:creator>
		<pubDate>Tue, 09 Oct 2007 15:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-207</guid>
		<description>While investigating this, I found an interesting page on Maximum URL Length Limits, here:
http://www.boutell.com/newfaq/misc/urllength.html</description>
		<content:encoded><![CDATA[<p>While investigating this, I found an interesting page on Maximum URL Length Limits, here:<br />
<a href="http://www.boutell.com/newfaq/misc/urllength.html" rel="nofollow">http://www.boutell.com/newfaq/misc/urllength.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Mapping Part Deux (Multiple Addresses) by Mike Lee</title>
		<link>http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-206</link>
		<dc:creator>Mike Lee</dc:creator>
		<pubDate>Tue, 09 Oct 2007 15:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/09/05/google-mapping-part-deux-multiple-addresses/#comment-206</guid>
		<description>For Windows users...  I have learned that there is an Internet Explorer limitation which restricts the length of the URLs for a GET request to 2048 characters.  This is much smaller than the Apache limit and may prevent the map for working for found sets much larger than 25 records.  If you've downloaded the example file and had trouble, that might explain why.

More information can be found here:
http://support.microsoft.com/kb/208427

Because the Web Viewer uses the IE engine, there's not much we can do about this limit within FileMaker.  On a Mac, it uses the Safari engine which doesn't exhibit this limitation.</description>
		<content:encoded><![CDATA[<p>For Windows users&#8230;  I have learned that there is an Internet Explorer limitation which restricts the length of the URLs for a GET request to 2048 characters.  This is much smaller than the Apache limit and may prevent the map for working for found sets much larger than 25 records.  If you&#8217;ve downloaded the example file and had trouble, that might explain why.</p>
<p>More information can be found here:<br />
<a href="http://support.microsoft.com/kb/208427" rel="nofollow">http://support.microsoft.com/kb/208427</a></p>
<p>Because the Web Viewer uses the IE engine, there&#8217;s not much we can do about this limit within FileMaker.  On a Mac, it uses the Safari engine which doesn&#8217;t exhibit this limitation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tip of the hat by dandanthesushiman</title>
		<link>http://fmcollective.com/2007/08/22/tip-of-the-hat/#comment-97</link>
		<dc:creator>dandanthesushiman</dc:creator>
		<pubDate>Wed, 19 Sep 2007 11:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://fmcollective.com/2007/08/22/tip-of-the-hat/#comment-97</guid>
		<description>I like the idea of the javascript to display the schedule. I am the FMP developer in an international school in London and this is something I have had to do. I used global fields as columns and then step through the students schedule to enter the course details and carriage returns and lines to display blocks of different lenghts. It actually works pretty well and is fast enough. Having said that I am always interested in finding a better way. Is there any chance you could post the code and an example. I would love to see what you have done.

All the best</description>
		<content:encoded><![CDATA[<p>I like the idea of the javascript to display the schedule. I am the FMP developer in an international school in London and this is something I have had to do. I used global fields as columns and then step through the students schedule to enter the course details and carriage returns and lines to display blocks of different lenghts. It actually works pretty well and is fast enough. Having said that I am always interested in finding a better way. Is there any chance you could post the code and an example. I would love to see what you have done.</p>
<p>All the best</p>
]]></content:encoded>
	</item>
</channel>
</rss>
