master
trémeur 2 years ago
parent 6b0112dc26
commit d722994522

@ -1,7 +1,7 @@
import datetime, os import datetime, os
from importlib import import_module from importlib import import_module
fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15"] fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15","FF16"]
import makeheader import makeheader
import headerfooter import headerfooter
@ -14,7 +14,7 @@ def charlist(local=False):
headerfooter.headerwrite("build/ff/characters/index.html","FF fics by character","FF fics by character","<p>Click on each bar to see fics about that character, organised according to the characters prominence and then from newest to oldest.</p>\n<p>Key to categories:</p>\n<ul><li><b>POV character:</b> some or all of the fic is in this characters POV</li>\n<li><b>Main character:</b> the character is part of the main ship, or their actions are significant for the plot</li>\n<li><b>Secondary character:</b> the character appears saying or doing something specific</li>\n<li><b>Mentioned:</b> the character appears as part of a group, or theyre alluded to by another character or in the narration</li></ul>",False,local) headerfooter.headerwrite("build/ff/characters/index.html","FF fics by character","FF fics by character","<p>Click on each bar to see fics about that character, organised according to the characters prominence and then from newest to oldest.</p>\n<p>Key to categories:</p>\n<ul><li><b>POV character:</b> some or all of the fic is in this characters POV</li>\n<li><b>Main character:</b> the character is part of the main ship, or their actions are significant for the plot</li>\n<li><b>Secondary character:</b> the character appears saying or doing something specific</li>\n<li><b>Mentioned:</b> the character appears as part of a group, or theyre alluded to by another character or in the narration</li></ul>",False,local)
# iterate through fandoms # iterate through fandoms
characters = [] characters = []
numbers = ["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen"] numbers = ["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen"]
for fandom in fffandoms: for fandom in fffandoms:
thecharacters = [] thecharacters = []
ficcount = 500 ficcount = 500

@ -3,7 +3,7 @@ from importlib import import_module
import headerfooter import headerfooter
fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15"] fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15","FF16"]
""" """
Code to generate comment page Code to generate comment page

@ -6,7 +6,7 @@ from dateutil.relativedelta import relativedelta
Remove test file Remove test file
""" """
fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15"] fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15","FF16"]
""" """
Code to generate the fic header div Code to generate the fic header div

@ -1,7 +1,7 @@
import datetime, os import datetime, os
from importlib import import_module from importlib import import_module
fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15"] fffandoms = ["FF1","FF2","FF3","FF4","FF5","FF6","FF7","FF8","FF9","FFX","FF11","FF12","FF13","FF14","FF15","FF16"]
import makeheader import makeheader
import headerfooter import headerfooter
@ -14,7 +14,7 @@ def shiplist(local=False):
headerfooter.headerwrite("build/ff/ships/index.html","FF fics by ship","FF fics by ship","<p>Click on each bar to see fics involving that ship, organised according to whether its the main ship or a secondary one and then from newest to oldest.</p>",False,local) headerfooter.headerwrite("build/ff/ships/index.html","FF fics by ship","FF fics by ship","<p>Click on each bar to see fics involving that ship, organised according to whether its the main ship or a secondary one and then from newest to oldest.</p>",False,local)
# iterate through fandoms # iterate through fandoms
ships = [] ships = []
numbers = ["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen"] numbers = ["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen"]
for fandom in fffandoms: for fandom in fffandoms:
theships = [] theships = []
ficcount = 500 ficcount = 500

Loading…
Cancel
Save