Add ISSN tags

parent 8745b8b0
...@@ -119,6 +119,8 @@ class Identifiers(Base): ...@@ -119,6 +119,8 @@ class Identifiers(Base):
return u"Kobo" return u"Kobo"
elif format_type == "litres": elif format_type == "litres":
return u"ЛитРес" return u"ЛитРес"
elif format_type == "issn":
return u"ISSN"
if format_type == "lubimyczytac": if format_type == "lubimyczytac":
return u"Lubimyczytac" return u"Lubimyczytac"
else: else:
...@@ -146,6 +148,8 @@ class Identifiers(Base): ...@@ -146,6 +148,8 @@ class Identifiers(Base):
return u" https://lubimyczytac.pl/ksiazka/{0}".format(self.val) return u" https://lubimyczytac.pl/ksiazka/{0}".format(self.val)
elif format_type == "litres": elif format_type == "litres":
return u"https://www.litres.ru/{0}".format(self.val) return u"https://www.litres.ru/{0}".format(self.val)
elif format_type == "issn":
return u"https://portal.issn.org/resource/ISSN/{0}".format(self.val)
elif format_type == "url": elif format_type == "url":
return u"{0}".format(self.val) return u"{0}".format(self.val)
else: else:
......
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