URL root = new URL(presentationArch);
Date start = new Date();
PresentationMeta meta = new PresentationMeta();
meta.setSummary((String) attrs.get("summary"));
meta.setFileName((String) attrs.get("fileName"));
meta.setUid((String) attrs.get("uid"));
//If the slide has never been played, in search result, user should only see the static swf file, no replay
if (attrs.get("slideTime")!=null){
meta.setSlideTime((String) attrs.get("slideTime"));
}
Document doc = SwfDocument.Document(root, meta);
if (logger.isInfoEnabled()){
logger.info("adding " + doc.get("path"));
}