<?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: Sitemap Generator for Ruby on Rails Applications</title>
	<atom:link href="http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/</link>
	<description>Ruby on Rails, London - The Blog by Dynamic50</description>
	<lastBuildDate>Sat, 28 Jan 2012 04:38:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Alessandro Muraro</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-4726</link>
		<dc:creator>Alessandro Muraro</dc:creator>
		<pubDate>Sat, 03 Dec 2011 12:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-4726</guid>
		<description>Hello, i get an error,

undefined method `article_path&#039; for Sitemap:Class
/home/alex/Documents/Web/MYSITE/Rakefile:12

i added the lib in application.rb but now have no clue why it&#039;s not working... any hint?
Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hello, i get an error,</p>
<p>undefined method `article_path&#8217; for Sitemap:Class<br />
/home/alex/Documents/Web/MYSITE/Rakefile:12</p>
<p>i added the lib in application.rb but now have no clue why it&#8217;s not working&#8230; any hint?<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolando Alvarado</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-4721</link>
		<dc:creator>Rolando Alvarado</dc:creator>
		<pubDate>Tue, 08 Nov 2011 06:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-4721</guid>
		<description>Nice work. Helps me a lot.</description>
		<content:encoded><![CDATA[<p>Nice work. Helps me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Tempest</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-4720</link>
		<dc:creator>Web Tempest</dc:creator>
		<pubDate>Wed, 21 Sep 2011 06:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-4720</guid>
		<description>Rails 3 doesn&#039;t include the lib folder. You have to manually include it:

# application.rb
config.autoload_paths += Dir[&quot;#{config.root}/lib/**/&quot;]</description>
		<content:encoded><![CDATA[<p>Rails 3 doesn&#8217;t include the lib folder. You have to manually include it:</p>
<ol>
<li>application.rb<br />
config.autoload_paths += Dir["#{config.root}/lib/**/"]</li>
</ol>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Green</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-4709</link>
		<dc:creator>Jason Green</dc:creator>
		<pubDate>Tue, 14 Jun 2011 17:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-4709</guid>
		<description>have you added the sitemap.rb to your lib directory?</description>
		<content:encoded><![CDATA[<p>have you added the sitemap.rb to your lib directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taylor Brooks</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-4708</link>
		<dc:creator>Taylor Brooks</dc:creator>
		<pubDate>Tue, 14 Jun 2011 16:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-4708</guid>
		<description>I&#039;m getting an error, any thoughts?

&quot;uninitialized constant Sitemap&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting an error, any thoughts?</p>
<p>&#8220;uninitialized constant Sitemap&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-3974</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 27 Jan 2011 22:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-3974</guid>
		<description>If you are having problems with *model*_path method. Try this:

Use &quot;app&quot; in front of the method:

e.g:
 @pages_to_visit += Video.all.collect{ &#124;a&#124; app.video_path(a) }

It works for me. Happy Coding :)</description>
		<content:encoded><![CDATA[<p>If you are having problems with <strong>model</strong>_path method. Try this:</p>
<p>Use &#8220;app&#8221; in front of the method:</p>
<p>e.g:<br />
 @pages_to_visit += Video.all.collect{ |a| app.video_path(a) }</p>
<p>It works for me. Happy Coding :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kinunt</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-1046</link>
		<dc:creator>Kinunt</dc:creator>
		<pubDate>Mon, 23 Aug 2010 10:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-1046</guid>
		<description>I have the same problem as Dan, any ideas? I think post_path is not accesible from this method because post_path is a controller method and is not accesible from here.</description>
		<content:encoded><![CDATA[<p>I have the same problem as Dan, any ideas? I think post_path is not accesible from this method because post_path is a controller method and is not accesible from here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bashar</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-332</link>
		<dc:creator>Bashar</dc:creator>
		<pubDate>Mon, 21 Jun 2010 10:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-332</guid>
		<description>Thanks. Just what I needed :)</description>
		<content:encoded><![CDATA[<p>Thanks. Just what I needed :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-47</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 04 Mar 2010 20:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-47</guid>
		<description>thanks for this site map tutorial. I&#039;m just having one problem getting it to work for my site. I&#039;m trying to switch your articles model to a newsletters one, so it will map each newsletter that I have.

My sitemap.rb has
@pages_to_visit += Newsletter.all.collect{ &#124;c&#124; newsletter_path(c) }

the error when i run the rake is:
undefined method `newsletter_path&#039; for Sitemap:Class

Do you know how i get it to recognize that path?
my routes.rb doesn&#039;t have any specified paths just
map.resources :newsletters
i obviously want it to be creating a site map entry for each newsletter&#039;s show method.
Thanks for the help,
Dan</description>
		<content:encoded><![CDATA[<p>thanks for this site map tutorial. I&#8217;m just having one problem getting it to work for my site. I&#8217;m trying to switch your articles model to a newsletters one, so it will map each newsletter that I have.</p>
<p>My sitemap.rb has<br />
@pages_to_visit += Newsletter.all.collect{ |c| newsletter_path&#169; }</p>
<p>the error when i run the rake is:<br />
undefined method `newsletter_path&#8217; for Sitemap:Class</p>
<p>Do you know how i get it to recognize that path?<br />
my routes.rb doesn&#8217;t have any specified paths just<br />
map.resources :newsletters<br />
i obviously want it to be creating a site map entry for each newsletter&#8217;s show method.<br />
Thanks for the help,<br />
Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NITHIN STANY</title>
		<link>http://blog.dynamic50.com/2010/01/27/sitemap-generator-for-ruby-on-rails-applications/comment-page-1/#comment-46</link>
		<dc:creator>NITHIN STANY</dc:creator>
		<pubDate>Fri, 19 Feb 2010 04:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynamic50.com/?p=732#comment-46</guid>
		<description>nice one ... great work</description>
		<content:encoded><![CDATA[<p>nice one &#8230; great work</p>
]]></content:encoded>
	</item>
</channel>
</rss>

