Home > Java > Java based Google Sitemap generator

Java based Google Sitemap generator

October 21st, 2007 Leave a comment Go to comments

Very basic sitemap generator written in Java. Also useful for creating a dump of the URLs in your site ( pipe output to file )

Dowload here

This is still in beta form, but does work. Add your comments or request on this post.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Java Tags:
  1. Pablo
    July 5th, 2010 at 05:56 | #1

    when

    java -jar “ajSitemap.jar” sitemapbuilder.properties http://www.mysite.com

    I get this error:

    Exception in thread “Thread-0″ java.lang.NullPointerException
    at com.springheadmedia.ajSitemap.SiteMapURL.isValidURL(SiteMapURL.java:180)
    at com.springheadmedia.ajSitemap.SearchThread.run(SearchThread.java:40)

    it happens when i change “obey_robots” to 0, but If I change it to 1 it doesn’t produce anything

    any clues?

  2. Bravoman
    August 17th, 2010 at 05:39 | #2

    ignore_regexp doesn’t do anything (it seems to me)

    I’m trying to remove al URL’s with a recurring querystring variable named ‘cattab’ from my resulting sitemap URL’s.

    I tried the following, but didn’t work:

    ignore_regexp=cattab

  3. Baba
    January 3rd, 2011 at 19:36 | #3

    I was wondering if this could be modified to also include PDFs/.DOC files etc which are linked to from a web page. It doesn’t seem to do that now. Thanks.