mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 22:05:09 +01:00
Fix for case where a bookmark has no title
This commit is contained in:
@@ -919,8 +919,11 @@ def publictag_feed(tagkey):
|
||||
updated_date = bookmark.modified_date
|
||||
if not bookmark.modified_date:
|
||||
updated_date = bookmark.created_date
|
||||
bookmarktitle = '{} (no title)'.format(bookmark.url)
|
||||
if bookmark.title:
|
||||
bookmarktitle = bookmark.title
|
||||
feed.add(
|
||||
bookmark.title,
|
||||
bookmarktitle,
|
||||
content_type='html',
|
||||
author='digimarks',
|
||||
url=bookmark.url,
|
||||
|
||||
Reference in New Issue
Block a user