Commit 6fcd65b4 authored by idalin's avatar idalin

added identifier for Douban

parent 6d99b9bc
......@@ -110,6 +110,8 @@ class Identifiers(Base):
return u"http://dx.doi.org/{0}".format(self.val)
elif self.type == "goodreads":
return u"http://www.goodreads.com/book/show/{0}".format(self.val)
elif self.type == "douban":
return u"https://book.douban.com/subject/{0}".format(self.val)
else:
return u""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment