ignore folder tags...on request of daburna

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4436 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 17 years ago
parent 42c1e11f2b
commit a981cd5ab7

@ -67,10 +67,12 @@ public class get {
bookmarksDB.Tag tag; bookmarksDB.Tag tag;
while (it.hasNext()) { while (it.hasNext()) {
tag = it.next(); tag = it.next();
if(!tag.getTagName().startsWith("/")) { // ignore folder tags
prop.put("tags_"+count+"_name", tag.getTagName()); prop.put("tags_"+count+"_name", tag.getTagName());
prop.put("tags_"+count+"_count", tag.size()); prop.put("tags_"+count+"_count", tag.size());
count++; count++;
} }
}
prop.put("tags", count); prop.put("tags", count);
// return rewrite properties // return rewrite properties

Loading…
Cancel
Save