Interesting.
It looks like your site is a "live" Javascript-enabled TW, not a
statically-generated set of pages. I didn't really have that use
case in mind when I built the plugin, but it should still work.
The only place in my plugin that uses
substrings is in a
date formatting function in
sitemapentries.js, taking TW's
internal date format, such as:
20141123155239707
...and converting it to the format sitemap wants:
2014-11-23
(Sitemap doesn't care about the time portion, and Google's verifier
will throw a warning if it is included.)
The function just appends three
substrings of the TW date
string, plus two hyphens:
XML.twDateToWebDate = function(twDate) {
return twDate.substring(0, 4) + "-" + twDate.substring(4, 6) + "-" + twDate.substring(6, 8);
}
So, if the error is happening in my code, that tells me there is a
tiddler or tiddlers without a
modified field. I would have
always expected that field to get created (it seems to on any
tiddlers I create). I wonder if some system tiddlers are built
without the
modified field? Does anyone else know?
When you use the plugin, are you passing it a filter to filter out
system tiddlers?