|
|
|
@ -71,13 +71,13 @@ public class all_p {
|
|
|
|
|
Date date;
|
|
|
|
|
while(it.hasNext()){
|
|
|
|
|
bookmark=switchboard.bookmarksDB.getBookmark((String) it.next());
|
|
|
|
|
prop.put("posts_"+count+"_url", bookmark.getUrl());
|
|
|
|
|
prop.put("posts_"+count+"_title", bookmark.getTitle());
|
|
|
|
|
prop.put("posts_"+count+"_description", bookmark.getDescription());
|
|
|
|
|
prop.put("posts_"+count+"_md5", serverCodings.encodeMD5Hex(bookmark.getUrl()));
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_url", bookmark.getUrl());
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_title", bookmark.getTitle());
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_description", bookmark.getDescription());
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_md5", serverCodings.encodeMD5Hex(bookmark.getUrl()));
|
|
|
|
|
date=new Date(bookmark.getTimeStamp());
|
|
|
|
|
prop.put("posts_"+count+"_time", (new SimpleDateFormat("yyyy-MM-dd")).format(date)+"T"+(new SimpleDateFormat("HH:mm:ss")).format(date)+"Z");
|
|
|
|
|
prop.put("posts_"+count+"_tags", bookmark.getTags().replaceAll(","," "));
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_time", (new SimpleDateFormat("yyyy-MM-dd")).format(date)+"T"+(new SimpleDateFormat("HH:mm:ss")).format(date)+"Z");
|
|
|
|
|
prop.putNoHTML("posts_"+count+"_tags", bookmark.getTags().replaceAll(","," "));
|
|
|
|
|
count++;
|
|
|
|
|
}
|
|
|
|
|
prop.put("posts", count);
|
|
|
|
|