if (item.getGuid() != null)
filename = cleanStr(item.getGuid().getValue()) + ".txt";
else
filename = cleanStr(item.getLink()) + ".txt";
GeoRSSData data = new GeoRSSData(filename, new LatLon(
geoRSSModule.getPosition().getLatitude(), geoRSSModule
.getPosition().getLongitude()));
if (this.tree.insert(data)) {
data.saveToFile(item, geoRSSModule, georssStoragePath);
} else {
System.out.println("[INFO] Unable to store data at location "
+ data.getLatLon().getLat() + ", "
+ data.getLatLon().getLon() + " under filename "
+ data.getFileName());
}
}
}
}
configStream.close();