Merge pull request #2 from stefangrotz/master
added entry.link template for some feeds (e.g. youtube-rss)
This commit is contained in:
@ -32,7 +32,7 @@ like so:
|
||||
Bookmark: {title} {url} {summary}
|
||||
|
||||
`{hashtags}` will look for tags in the feed entry and turn them into a space
|
||||
separated list of hashtags.
|
||||
separated list of hashtags. For some feeds (e.g. youtube-rss) you should use `{link}` instead of `{url}`.
|
||||
|
||||
## Multiple Feeds
|
||||
|
||||
|
||||
@ -69,6 +69,7 @@ def get_entry(entry):
|
||||
hashtags.append('#{}'.format(t))
|
||||
return {
|
||||
'url': entry.id,
|
||||
'link': entry.link,
|
||||
'title': entry.title,
|
||||
'summary': entry.get('summary', ''),
|
||||
'hashtags': ' '.join(hashtags),
|
||||
|
||||
Reference in New Issue
Block a user