<?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: Generating dynamic sitemaps with CakePHP 1.2</title>
	<atom:link href="http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp</link>
	<description>get all his digital goodness 24/7</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:05:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Eddie</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-2951</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Thu, 06 Oct 2011 00:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-2951</guid>
		<description>That line looks ok, but PHP validation is not always clear, check the line before this line for missing semi colon, comment out this line to ensure it is actually this line. Next try breaking it into two commands (query the db as one, then set trains as the second)</description>
		<content:encoded><![CDATA[<p>That line looks ok, but PHP validation is not always clear, check the line before this line for missing semi colon, comment out this line to ensure it is actually this line. Next try breaking it into two commands (query the db as one, then set trains as the second)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rodrigo</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-2947</link>
		<dc:creator>rodrigo</dc:creator>
		<pubDate>Tue, 13 Sep 2011 17:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-2947</guid>
		<description>Hey! I&#039;m doing what you said here and having problems in this line: 
$this-&gt;set(&#039;trains&#039;, $this-&gt;AboutTrain-&gt;find(&#039;all&#039;, &#039;fields&#039; =&gt; array(&#039;date_modified&#039;,&#039;id&#039;)));
(I have a lista of trains, table called about_trains)

It keeps telling me: Parse error in that line.. what Am I missing?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey! I&#8217;m doing what you said here and having problems in this line:<br />
$this-&gt;set(&#8216;trains&#8217;, $this-&gt;AboutTrain-&gt;find(&#8216;all&#8217;, &#8216;fields&#8217; =&gt; array(&#8216;date_modified&#8217;,'id&#8217;)));<br />
(I have a lista of trains, table called about_trains)</p>
<p>It keeps telling me: Parse error in that line.. what Am I missing?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1802</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Fri, 17 Dec 2010 15:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1802</guid>
		<description>@karthick
There is not a specific table for the sitemap .instead you specify the existing table for your pages, posts, our whatever else you want included.  Start with your content, add the sitemap after.</description>
		<content:encoded><![CDATA[<p>@karthick<br />
There is not a specific table for the sitemap .instead you specify the existing table for your pages, posts, our whatever else you want included.  Start with your content, add the sitemap after.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karthick</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1800</link>
		<dc:creator>karthick</dc:creator>
		<pubDate>Fri, 17 Dec 2010 14:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1800</guid>
		<description>hi,

can u any body tell about. sitemap database table structure and fields</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>can u any body tell about. sitemap database table structure and fields</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1707</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Fri, 29 Oct 2010 21:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1707</guid>
		<description>@Eric
Sorry for the delay. This may be my worse lapse ever..

The code is invoked due to the CakePHP routes in config that associate xml extensions and the specific path to the right layouts, views and controller.

/app/views/layouts/xml/default.ctp for instance is what sets the header and calls the content. Cake will invoke that template based on the controller.

At the time of this writing, the two lines in /app/config/routes.php were all that was needed to make that magic happen.  But I know Cake under went a pretty large refactoring since then that may have changed the way extensions and routes are handled.  

The CakePHP Manual would be the best place to turn.

As for zipping the entire project - I constructed this under the employment of a company, whom therefore are the legal owners of the application and pieces.   What I provide here is only the critical ideas needed to reconstruct a solution specific to your site.</description>
		<content:encoded><![CDATA[<p>@Eric<br />
Sorry for the delay. This may be my worse lapse ever..</p>
<p>The code is invoked due to the CakePHP routes in config that associate xml extensions and the specific path to the right layouts, views and controller.</p>
<p>/app/views/layouts/xml/default.ctp for instance is what sets the header and calls the content. Cake will invoke that template based on the controller.</p>
<p>At the time of this writing, the two lines in /app/config/routes.php were all that was needed to make that magic happen.  But I know Cake under went a pretty large refactoring since then that may have changed the way extensions and routes are handled.  </p>
<p>The CakePHP Manual would be the best place to turn.</p>
<p>As for zipping the entire project &#8211; I constructed this under the employment of a company, whom therefore are the legal owners of the application and pieces.   What I provide here is only the critical ideas needed to reconstruct a solution specific to your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey Russkin</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1702</link>
		<dc:creator>Alexey Russkin</dc:creator>
		<pubDate>Wed, 13 Oct 2010 19:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1702</guid>
		<description>Great thanks, Eddie!</description>
		<content:encoded><![CDATA[<p>Great thanks, Eddie!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wargo</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1624</link>
		<dc:creator>Eric Wargo</dc:creator>
		<pubDate>Wed, 21 Jul 2010 15:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1624</guid>
		<description>On a side note, can you post a zip of the entire thing? This will help me deduce where the problem is.

eric</description>
		<content:encoded><![CDATA[<p>On a side note, can you post a zip of the entire thing? This will help me deduce where the problem is.</p>
<p>eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wargo</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-1623</link>
		<dc:creator>Eric Wargo</dc:creator>
		<pubDate>Wed, 21 Jul 2010 15:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-1623</guid>
		<description>I need to make a dynamic site map for a client who has a bunch of products and adds pages daily to his site. I followed the instructions above to a T but nothing happened when I go to domain.com/sitemap or domain.com/sitemap.xml. There are no files called that so I am a bit confused as to how to get this to work.

Do I need to turn something on/off on the server itself? Does this require a certain mimetype?

Eric</description>
		<content:encoded><![CDATA[<p>I need to make a dynamic site map for a client who has a bunch of products and adds pages daily to his site. I followed the instructions above to a T but nothing happened when I go to domain.com/sitemap or domain.com/sitemap.xml. There are no files called that so I am a bit confused as to how to get this to work.</p>
<p>Do I need to turn something on/off on the server itself? Does this require a certain mimetype?</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-406</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Sun, 15 Mar 2009 19:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-406</guid>
		<description>@Aman:

Just update the controller action to pull back the fields you need (director, genre, etc) and then update the format of index.ctp to use the format specified by Google.  This is a pretty straight forward task I feel..</description>
		<content:encoded><![CDATA[<p>@Aman:</p>
<p>Just update the controller action to pull back the fields you need (director, genre, etc) and then update the format of index.ctp to use the format specified by Google.  This is a pretty straight forward task I feel..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aman</title>
		<link>http://edwardawebb.com/web-development/cakephp/generating-dynamic-sitemaps-cakephp/comment-page-1/#comment-405</link>
		<dc:creator>Aman</dc:creator>
		<pubDate>Sat, 14 Mar 2009 18:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://edwardawebb.com/?p=40#comment-405</guid>
		<description>what if one wants to make an xml of the form required by google for video site maps.. i try it by making an action video in the sitemaps_controller. but the exact form of xml is what i am unable to get due to its format

ut i need to make videositemaps and the format is different as of the link sent by you. and the xml is of the format i sent you..
i am unable to generate the type of

and so on...
like..

 
   
     
      2005-06-18 
       
        Google Local and Google Maps 
        How to use Google Local and Google Maps to 
find local information. 
         
         
        Google.com 
        Joe Smith 
        Ads &amp; Promotional 
        News 
 
 
 
 

Can u help me out of this..
how to make that  kind of format..</description>
		<content:encoded><![CDATA[<p>what if one wants to make an xml of the form required by google for video site maps.. i try it by making an action video in the sitemaps_controller. but the exact form of xml is what i am unable to get due to its format</p>
<p>ut i need to make videositemaps and the format is different as of the link sent by you. and the xml is of the format i sent you..<br />
i am unable to generate the type of</p>
<p>and so on&#8230;<br />
like..</p>
<p>      2005-06-18 </p>
<p>        Google Local and Google Maps<br />
        How to use Google Local and Google Maps to<br />
find local information. </p>
<p>        Google.com<br />
        Joe Smith<br />
        Ads &amp; Promotional<br />
        News </p>
<p>Can u help me out of this..<br />
how to make that  kind of format..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

