if (asm.isIndex()) {
throw new Exception("Sitemap index format is not supported by this river!");
}
SiteMap sm = (SiteMap) asm;
List<Map<String, Object>> documents = new ArrayList<Map<String, Object>>();
for (SiteMapURL smurl : sm.getSiteMapUrls()) {
String durl = smurl.getUrl().toExternalForm();
String ext = Utils.getFileExtensionLowercase(durl);
if (ext == null || !IGNORED_EXTENSIONS.contains(ext)) {
Map<String, Object> document = new HashMap<String, Object>();