Add page for FF fics by wordcount, deal with spoilers in RSS feed, change wording in a few places
This commit is contained in:
parent
f2e67ef6c0
commit
33a5cf09a8
8 changed files with 67 additions and 5 deletions
2
feed.py
2
feed.py
|
@ -187,7 +187,7 @@ def feedgen(local=False):
|
|||
filewrite.write(" in this update")
|
||||
filewrite.write(".")
|
||||
try:
|
||||
filewrite.write(" " + re.sub("<[^<]+?>", "", thefile.summary))
|
||||
filewrite.write(" " + re.sub("<[^<]+?>","",re.sub("<span class=\"spoiler\">.*</span>","[spoiler]",thefile.summary)))
|
||||
except:
|
||||
filewrite.write(" No summary provided.")
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue