Iterator it = history.iterator();
while(it.hasNext()){
TransactionEvent e = (TransactionEvent) it.next();
//SyncItem item = (SyncItem)it.next();
SyndEntry entry = new SyndEntryImpl();
entry.setTitle("Feature A");
entry.setLink("http://geoserver.org/a");
entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
//encode the content as the wfs transcation
SyndContent description = new SyndContentImpl();
description.setType("text/xml");
description.setValue(encodeTransaction( e ));
// GeoRSSModule geoInfo = new W3CGeoModuleImpl();
// Polygon bounds = new Polygon();
// PositionList exterior = new PositionList();
// double minLat = 0, minLong = 0, maxLat = 0, maxLong = 0;
// exterior.add(minLat, minLong);
// exterior.add(minLat, maxLong);
// exterior.add(maxLat, maxLong);
// exterior.add(maxLat, minLong);
// bounds.setExterior(new LinearRing(exterior));
// geoInfo.setGeometry(bounds);
// entry.getModules().add(geoInfo);
// TODO: use real data for Geo output
List contents = new ArrayList();
contents.add(description);
entry.setContents(contents);
entries.add(entry);
}
return entries;
}