<?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: Announcing SitemapGen4j 1.0</title>
	<atom:link href="http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html</link>
	<description>Redfin Developers&#039; Blog</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:56:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Lyndon</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-15072</link>
		<dc:creator>Lyndon</dc:creator>
		<pubDate>Mon, 14 Nov 2011 01:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-15072</guid>
		<description>I know it&#039;s naughty but I changed SitemapGenerator from abstract to public abstract which allowed me to do this:&lt;br&gt;      sg = new SitemapGeneratorBuilder(base, outputFolder, Class.forName(sitemapType)).build();&lt;br&gt;&lt;br&gt;Now by passing in one of the SitemapGenerator&#039;s subclasses as sitemapType I have one Spider class, clean code and any type of sitemap I want. &lt;br&gt;&lt;br&gt;But I would still dearly love to do this properly with the unchanged code. &lt;br&gt;&lt;br&gt;Any help would be much appreciated.</description>
		<content:encoded><![CDATA[<p>I know it&#39;s naughty but I changed SitemapGenerator from abstract to public abstract which allowed me to do this:<br />      sg = new SitemapGeneratorBuilder(base, outputFolder, Class.forName(sitemapType)).build();</p>
<p>Now by passing in one of the SitemapGenerator&#39;s subclasses as sitemapType I have one Spider class, clean code and any type of sitemap I want. </p>
<p>But I would still dearly love to do this properly with the unchanged code. </p>
<p>Any help would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lyndon</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-15071</link>
		<dc:creator>Lyndon</dc:creator>
		<pubDate>Sun, 13 Nov 2011 16:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-15071</guid>
		<description>Hi&lt;br&gt;&lt;br&gt;I have used SitemapGen4J successfully with Arachnid to produce a sitemap.xml. Thanks for such a great piece of code.&lt;br&gt;&lt;br&gt;What I want to do now is pass a parameter of sitemapType to my spider and it generate the specific type of sitemap file. Eg. Mobile or Web.&lt;br&gt;&lt;br&gt;I see that the Class SitemapGenerator is abstract and that the specific &#039;Generator&#039; subclasses extend it.&lt;br&gt;&lt;br&gt;So, I want to instantiate a specific &#039;Generator&#039; subclasses but I am confused at how to do this. I am not that good with generics. I see that SitemapGeneratorBuilder does this but I just cannot figure out how to do this.&lt;br&gt;&lt;br&gt;Any chance of some example of using SitemapGeneratorBuilder to do this would be much appreciated.&lt;br&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have used SitemapGen4J successfully with Arachnid to produce a sitemap.xml. Thanks for such a great piece of code.</p>
<p>What I want to do now is pass a parameter of sitemapType to my spider and it generate the specific type of sitemap file. Eg. Mobile or Web.</p>
<p>I see that the Class SitemapGenerator is abstract and that the specific &#39;Generator&#39; subclasses extend it.</p>
<p>So, I want to instantiate a specific &#39;Generator&#39; subclasses but I am confused at how to do this. I am not that good with generics. I see that SitemapGeneratorBuilder does this but I just cannot figure out how to do this.</p>
<p>Any chance of some example of using SitemapGeneratorBuilder to do this would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-14651</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Tue, 13 Apr 2010 22:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-14651</guid>
		<description>The google news sitemap functionality does not support the required elements title and publication (and possible others).  This means it is not possible to use your library to create a valid google news sitemap.

The full list of options needs to be added before this the GoogleNewsSitemapGenerator can be used.</description>
		<content:encoded><![CDATA[<p>The google news sitemap functionality does not support the required elements title and publication (and possible others).  This means it is not possible to use your library to create a valid google news sitemap.</p>
<p>The full list of options needs to be added before this the GoogleNewsSitemapGenerator can be used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Fabulich</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-14095</link>
		<dc:creator>Dan Fabulich</dc:creator>
		<pubDate>Wed, 27 Jan 2010 01:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-14095</guid>
		<description>@Ed, I don&#039;t think I understand your feature.  SitemapGen4j actually returns a list of files (since it needs to split the sitemap into multiple files when the sitemap gets too large).

What are you imagining returning to the user?  If it just returns the File objects without writing to them, it won&#039;t actually *do* anything (except, perhaps, counting the URLs...?)</description>
		<content:encoded><![CDATA[<p>@Ed, I don&#8217;t think I understand your feature.  SitemapGen4j actually returns a list of files (since it needs to split the sitemap into multiple files when the sitemap gets too large).</p>
<p>What are you imagining returning to the user?  If it just returns the File objects without writing to them, it won&#8217;t actually *do* anything (except, perhaps, counting the URLs&#8230;?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Fabulich</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-14094</link>
		<dc:creator>Dan Fabulich</dc:creator>
		<pubDate>Wed, 27 Jan 2010 01:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-14094</guid>
		<description>Unfortunately, we overlooked XML entity-escaping in v1.  It&#039;s filed as a bug; I&#039;ll try to get around to it soon.</description>
		<content:encoded><![CDATA[<p>Unfortunately, we overlooked XML entity-escaping in v1.  It&#8217;s filed as a bug; I&#8217;ll try to get around to it soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-14072</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 21 Jan 2010 22:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-14072</guid>
		<description>Oh yeah -- another suggestion for future improvment:  Consider a method sig that returns the sitemap File object as opposed to insisting on writing it to disk.

It would enable the avoidance of file i/o when dynamically generating sitemaps.</description>
		<content:encoded><![CDATA[<p>Oh yeah &#8212; another suggestion for future improvment:  Consider a method sig that returns the sitemap File object as opposed to insisting on writing it to disk.</p>
<p>It would enable the avoidance of file i/o when dynamically generating sitemaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-14070</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 21 Jan 2010 20:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-14070</guid>
		<description>Seems like a great tool.  

Does it automatically do xml entity-escaping on sitemaps it creates, or is that to be done on our side?

Thanks  :)</description>
		<content:encoded><![CDATA[<p>Seems like a great tool.  </p>
<p>Does it automatically do xml entity-escaping on sitemaps it creates, or is that to be done on our side?</p>
<p>Thanks  <img src='http://blog.redfin.com/devblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-13786</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 18 Dec 2009 19:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-13786</guid>
		<description>I see google have changed the format for News site maps now is this supported? It doesn&#039;t seem to be but I may be mistaken. The details of the new site map format are here http://www.google.com/support/news_pub/bin/answer.py?answer=74288&amp;cbid=sznwmrlbev7e&amp;src=cb&amp;lev=answer

In particluar it seems that an element called publication is required.</description>
		<content:encoded><![CDATA[<p>I see google have changed the format for News site maps now is this supported? It doesn&#8217;t seem to be but I may be mistaken. The details of the new site map format are here <a href="http://www.google.com/support/news_pub/bin/answer.py?answer=74288&amp;cbid=sznwmrlbev7e&amp;src=cb&amp;lev=answer" rel="nofollow">http://www.google.com/support/news_pub/bin/answer.py?answer=74288&amp;cbid=sznwmrlbev7e&amp;src=cb&amp;lev=answer</a></p>
<p>In particluar it seems that an element called publication is required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Georges</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-11462</link>
		<dc:creator>Greg Georges</dc:creator>
		<pubDate>Fri, 23 Oct 2009 13:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-11462</guid>
		<description>Thanks for your great generator! One thing that I would change though, since we experienced this here, is that in your SitemapGenerator class you use a FileWriter, which by default does not support UTF-8, should change for a FileOutputstream and set the encoding to UTF-8. We had this problem when we saw chinese characters were not written to the file :) Take care and thans again</description>
		<content:encoded><![CDATA[<p>Thanks for your great generator! One thing that I would change though, since we experienced this here, is that in your SitemapGenerator class you use a FileWriter, which by default does not support UTF-8, should change for a FileOutputstream and set the encoding to UTF-8. We had this problem when we saw chinese characters were not written to the file <img src='http://blog.redfin.com/devblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Take care and thans again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael Carvalho</title>
		<link>http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html/comment-page-1#comment-11011</link>
		<dc:creator>Raphael Carvalho</dc:creator>
		<pubDate>Thu, 10 Sep 2009 13:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redfin.com/devblog/2009/02/announcing_sitemapgen4j_10.html#comment-11011</guid>
		<description>Thanks for explaining that*</description>
		<content:encoded><![CDATA[<p>Thanks for explaining that*</p>
]]></content:encoded>
	</item>
</channel>
</rss>

