--- a/web/views/xbel.py Wed Feb 18 19:19:57 2009 +0100
+++ b/web/views/xbel.py Wed Feb 18 19:26:48 2009 +0100
@@ -1,7 +1,7 @@
"""xbel views
:organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
@@ -10,7 +10,8 @@
from logilab.mtconverter import html_escape
from cubicweb.selectors import implements
-from cubicweb.web.views.baseviews import XmlView, EntityView
+from cubicweb.view import EntityView
+from cubicweb.web.views.xmlrss import XmlView
class XbelView(XmlView):
@@ -46,6 +47,7 @@
def url(self, entity):
return entity.absolute_url()
+
class XbelItemBookmarkView(XbelItemView):
__select__ = implements('Bookmark')