<?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>webinfinite.com &#187; Google Maps API</title>
	<atom:link href="http://webinfinite.com/category/google-maps-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://webinfinite.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:26:36 +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>WordPress and Google Maps</title>
		<link>http://webinfinite.com/wordpress/wordpress-and-google-maps/</link>
		<comments>http://webinfinite.com/wordpress/wordpress-and-google-maps/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 19:46:53 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Google Maps API]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=247</guid>
		<description><![CDATA[Are you having issues implementing your Google map API into WordPress? Problem Wordpress inserts &#60;p&#62; tags to every line and therefore your JavaScript does not execute the way it should. Solution(kind of) Insert &#60;?php remove_filter (&#8216;the_content&#8217;, &#8216;wpautop&#8217;); ?&#62;? at the beginning of &#60;?php the_content(); ?&#62; of your template file. This will remove &#60;p&#62; tags on [...]]]></description>
			<content:encoded><![CDATA[<p>Are you having issues implementing your Google map API into WordPress?</p>
<p><strong>Problem</strong><br />
Wordpress inserts &lt;p&gt; tags to every line and therefore your JavaScript does not execute the way it should.</p>
<p><strong>Solution(kind of)<br />
</strong>Insert &lt;?php remove_filter (&#8216;the_content&#8217;, &#8216;wpautop&#8217;); ?&gt;? at the beginning of &lt;?php the_content(); ?&gt; of your template file. This will remove &lt;p&gt; tags on every page of your blog. This solution is not great however your Google Map API JavaScript will work.</p>
<p><strong>Best Solution<br />
</strong>Download the <a href="http://wordpress.org/extend/plugins/php-execution-plugin/" target="_blank">PHP Execution</a> plugin and install it in the plugins folder. This plugin allows you to? execute php code in your posts/pages. Once you have installed this plugin, go to your post/page and insert &lt;?php remove_filter (&#8216;the_content&#8217;, &#8216;wpautop&#8217;); ?&gt; at the beginning or anywhere before the map JavaScript code. Then insert your Google maps API JavaScript. Your code should work as it did on a regular html page without affecting the format on other pages of your blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/wordpress/wordpress-and-google-maps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
