diff --git a/commentpage.py b/commentpage.py index b2caa95..0be603a 100644 --- a/commentpage.py +++ b/commentpage.py @@ -74,7 +74,7 @@ def commentpage(ficno,directory,local=False): pass try: if fileread.comments: - filewrite.write("

Archived comments

\n

If you left one of these comments and would like it to be removed from the archive, please email me.

\n

My replies are included only if they were originally posted on this site.

\n") + filewrite.write("

Archived comments

\n

I often delete copies of my fics syndicated to other websites, so I archive comments here as a way of preserving them. If you left one of these comments and would like it to be removed from the archive, please email me.

\n

My replies are included only if they were originally posted on this site.

\n") for comment in fileread.comments: filewrite.write("
\n

") if comment["site"] == "dw": @@ -162,7 +162,7 @@ def commentindex(local=False): # write header headerfooter.headerwrite("build/comments/index.html","Comments","Comments","",False,local) filewrite = open("build/comments/index.html", "a") - filewrite.write("

Comments I receive are archived on this site and linked back to the original. If you don’t want your comments from other sources archived here, or if you require any changes to the presentation of your comments, please email me. Please note, however, that this website is not indexed by search engines.

\n

If you don’t have JavaScript switched off, you can leave comments on the relevant comment pages for each fic (where this is enabled). Please leave your email address if you’d like notification of any reply. If you’d like a link from your pseudonym to a website, you can supply this as well, although I reserve the right not to link to certain advertising/tracker-heavy websites.

\n

Comments are turned off on some older fics.

\n") + filewrite.write("

I tend to temporarily syndicate my fics to other websites and then delete them, so comments I receive are archived on this site and linked back to the original. If you don’t want your comments from other sources archived here, or if you require any changes to the presentation of your comments, please email me. Please note, however, that this website is not indexed by search engines.

\n

If you haven’t switched off JavaScript, you can leave comments on the relevant comment pages for each fic (where this is enabled). Please leave your email address if you’d like notification of any reply. If you’d like a link from your pseudonym to a website, you can supply this as well, although I reserve the right not to link to certain advertising/tracker-heavy websites.

\n

Comments are turned off on some older fics.

\n") filewrite.close() headerfooter.footerwrite("build/comments/index.html",False,local) diff --git a/feed.py b/feed.py index cb234ca..b63fc34 100644 --- a/feed.py +++ b/feed.py @@ -11,7 +11,7 @@ def feedgen(local=False): os.remove("build/feed.xml") # write header header = open("build/feed.xml", "a") - header.write("\n\n\n\nTré’s fic archive\nhttps://tre.praze.net/fic\nAll my fanfiction\nen-gb\n") + header.write("\n\n\n\nMez’s fic archive\nhttps://tre.praze.net/fic\nAll my fanfiction\nen-gb\n") header.close() datelist = [] ficcount = 500 diff --git a/headerfooter.py b/headerfooter.py index b8c8d0e..46555b9 100644 --- a/headerfooter.py +++ b/headerfooter.py @@ -5,7 +5,7 @@ def headerwrite(output,title,headerone,desc,main=False,local=False,single=False, header.write("/home/mdd/Documents/proj/fic-archive/build/") else: header.write("/fic/") - header.write("archive.css\">\n\n\n\n" + title + "\n\n\n\n\n\n\n\n") + header.write("archive.css\">\n\n\n\n" + title + "\n\n\n\n\n\n\n\n") if single: header.write("\n\n\n\n\n
\n
\n\n

" + headerone + "

\n" + desc + "\n") diff --git a/indexgen.py b/indexgen.py index c8a245e..36148c7 100644 --- a/indexgen.py +++ b/indexgen.py @@ -56,9 +56,9 @@ def indexgen(local=False): if os.path.exists("build/index.html"): os.remove("build/index.html") # write header - headerfooter.headerwrite("build/index.html","Tré’s fic archive","Tré’s fic archive","",True,local) + headerfooter.headerwrite("build/index.html","Mez’s fic archive","Mez’s fic archive","",True,local) filewrite = open("build/index.html", "a") - filewrite.write("

Here is all my fanfiction! Some of it is also syndicated elsewhere, but this site is the canonical location for everything I’ve written.

\n

Transformative works policy: The contents of these pages are licensed under CC BY-NC 4.0. \"\"\"\"\"\" In other words, transformative works are permitted as long as there is a clearly visible hyperlink to the original and no financial transactions are involved.

\n

The code for this archive is available here. Commenting is switched on for most fics written at least semi-recently – read about that Here is all my fanfiction! Some of it is also syndicated elsewhere (often temporarily), but this site is the canonical location for everything I’ve written.

\n

Transformative works policy: The contents of these pages are licensed under CC BY-NC 4.0. \"\"\"\"\"\" In other words, transformative works are permitted as long as there is a clearly visible hyperlink to the original and no financial transactions are involved.

\n

The code for this archive is available here. Commenting is switched on for most fics written at least semi-recently – read about that