Create an id for daily pages
This commit is contained in:
parent
96ca30388d
commit
438158e19b
2 changed files with 6 additions and 1 deletions
|
|
@ -29,4 +29,7 @@ def url2id(url):
|
|||
|
||||
|
||||
def rssid(entry):
|
||||
return url2id(entry.link)
|
||||
if "/today/" in entry.link:
|
||||
return entry.link.split("#")[1]
|
||||
else:
|
||||
return url2id(entry.link)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue