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,9 +67,11 @@ public class get {
bookmarksDB.Tag tag; bookmarksDB.Tag tag;
while (it.hasNext()) { while (it.hasNext()) {
tag = it.next(); tag = it.next();
prop.put("tags_"+count+"_name", tag.getTagName()); if(!tag.getTagName().startsWith("/")) { // ignore folder tags
prop.put("tags_"+count+"_count", tag.size()); prop.put("tags_"+count+"_name", tag.getTagName());
count++; prop.put("tags_"+count+"_count", tag.size());
count++;
}
} }
prop.put("tags", count); prop.put("tags", count);

Loading…
Cancel
Save