String safeTagStr = TagUtil.makeSafeTagString(tag);
if (safeTagStr.length() > 0) {
MachineTag mt = MachineTags.GN_TAG(safeTagStr);
String fullSynx = mt.toString();
String shrtSynx = mt.getPredicate()+":"+mt.getValue();
FeedSubscription feed = feedSubscriptionManager.getSubscription(getUser(),feedUrl);
if(feed != null){
String tagline = feed.getBookmark().getTags();
if(tagline.contains(fullSynx) == true){
tagline = tagline.replace(fullSynx," ");
}else if(tagline.contains(shrtSynx) == true){
tagline = tagline.replace(shrtSynx, " ");
}
Bookmark bm = feed.getBookmark();
bm.setTags(tagline);
bookmarkManager.updateBookmark(bm);
}
doDefault();
return INPUT;