Fix RSS guid
This commit is contained in:
parent
db9c5437dd
commit
6a1dbeab90
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ def rss(token, onstart=False):
|
||||||
title='%s - http://%s%s' % (row.author_name, site.url, row.url),
|
title='%s - http://%s%s' % (row.author_name, site.url, row.url),
|
||||||
link=item_link,
|
link=item_link,
|
||||||
description=md.convert(row.content),
|
description=md.convert(row.content),
|
||||||
guid=PyRSS2Gen.Guid(item_link),
|
guid=PyRSS2Gen.Guid('%s/%d' % (item_link, row.id)),
|
||||||
pubDate=row.published
|
pubDate=row.published
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue