+ @cherrypy.expose
+ def new_tag(self, tag):
+ self.dirtag.new_tag(tag.split('/'))
+ return '<p>New tag %s added</p>' % tag
+
+ @cherrypy.expose
+ def add_tag(self, path, tag):
+ self.dirtag.add_tag(path.split('/'), tag.split('/'))
+ return '<p>Added tag %s to %s</p>' % (tag, path)
+
+ @cherrypy.expose
+ def remove_tag(self, path, tag):
+ self.dirtag.remove_tag(path.split('/'), tag.split('/'))
+ return '<p>Removed tag %s from %s</p>' % (tag, path)
+
+