Java based Google Sitemap generator
Very basic sitemap generator written in Java. Also useful for creating a dump of the URLs in your site ( pipe output to file )
This is still in beta form, but does work. Add your comments or request on this post.
Categories: Java
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?
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
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.