<?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: How to integrate Google Maps in a Rails app</title>
	<atom:link href="http://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-integrate-google-maps-in-a-rails-app</link>
	<description>Life hacker</description>
	<lastBuildDate>Fri, 28 May 2010 12:51:23 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yang Chung</title>
		<link>http://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/comment-page-1/#comment-322</link>
		<dc:creator>Yang Chung</dc:creator>
		<pubDate>Sun, 29 Nov 2009 05:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yangtheman.com/?p=51#comment-322</guid>
		<description>I totally agree.</description>
		<content:encoded><![CDATA[<p>I totally agree.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/comment-page-1/#comment-321</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sat, 28 Nov 2009 21:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yangtheman.com/?p=51#comment-321</guid>
		<description>That seems like a good candidate to stuff into a helper:

def generate_info_text p
&quot;&lt;strong&gt;&lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;#{p.name}&lt;/a&gt;&lt;/strong&gt;
               #{p.address} 
               #{p.city}, #{p.state} #{p.zip.to_s}&quot;
end

then just have:

infotxt = generate_info_text p

in your controller.</description>
		<content:encoded><![CDATA[<p>That seems like a good candidate to stuff into a helper:</p>
<p>def generate_info_text p<br />
&#8220;<strong><a href="" rel="nofollow">#{p.name}</a></strong><br />
               #{p.address}<br />
               #{p.city}, #{p.state} #{p.zip.to_s}&#8221;<br />
end</p>
<p>then just have:</p>
<p>infotxt = generate_info_text p</p>
<p>in your controller.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
