Update email address

master
trémeur 1 year ago
parent 4b9257b245
commit 81ae60273a

@ -65,7 +65,7 @@ def commentpage(ficno,directory,local=False):
headerfooter.headerwrite(commentspath + "/index.html","Comments for fic no. " + ficnostring,"Comments for fic no. <span id=\"ficno\">" + ficnostring + "</span>","",False,local) headerfooter.headerwrite(commentspath + "/index.html","Comments for fic no. " + ficnostring,"Comments for fic no. <span id=\"ficno\">" + ficnostring + "</span>","",False,local)
filewrite = open(commentspath + "/index.html", "a") filewrite = open(commentspath + "/index.html", "a")
if fffandom or timeelapsed.days < 730: if fffandom or timeelapsed.days < 730:
filewrite.write("<h2>Leave a comment</h2>\n<noscript>\n<p><b>JavaScript is unavailable.</b> Please <a href=\"mailto:eheu48@gmail.com\">email me</a> any comments.</p>\n</noscript>\n<p class=\"jsonly\">Comments will be posted manually; please expect a delay between submitting your comment and seeing it below!</p>\n<form id=\"theform\" onsubmit=\"sendContact(event)\" class=\"jsonly\">\n<input type=\"text\" id=\"nameInput\" required placeholder=\"Pseudonym (required)\">\n<input type=\"email\" id=\"emailInput\" placeholder=\"Email (if you want email notification of reply)\">\n<input type=\"text\" id=\"siteInput\" placeholder=\"Site (if you want a link back)\">\n<textarea id=\"messageInput\" rows=\"5\" required placeholder=\"Your comment (required, include whatever markup [or down] you like)\"></textarea>\n<button type=\"submit\">Submit</button>\n</form>\n") filewrite.write("<h2>Leave a comment</h2>\n<noscript>\n<p><b>JavaScript is unavailable.</b> Please <a href=\"mailto:tre@praze.net\">email me</a> any comments.</p>\n</noscript>\n<p class=\"jsonly\">Comments will be posted manually; please expect a delay between submitting your comment and seeing it below!</p>\n<form id=\"theform\" onsubmit=\"sendContact(event)\" class=\"jsonly\">\n<input type=\"text\" id=\"nameInput\" required placeholder=\"Pseudonym (required)\">\n<input type=\"email\" id=\"emailInput\" placeholder=\"Email (if you want email notification of reply)\">\n<input type=\"text\" id=\"siteInput\" placeholder=\"Site (if you want a link back)\">\n<textarea id=\"messageInput\" rows=\"5\" required placeholder=\"Your comment (required, include whatever markup [or down] you like)\"></textarea>\n<button type=\"submit\">Submit</button>\n</form>\n")
else: else:
try: try:
if fileread.event == "ao3exchange" and (fileread.datewords[0])["date"].year > 2019: if fileread.event == "ao3exchange" and (fileread.datewords[0])["date"].year > 2019:
@ -74,7 +74,7 @@ def commentpage(ficno,directory,local=False):
pass pass
try: try:
if fileread.comments: if fileread.comments:
filewrite.write("<h2>Archived comments</h2>\n<p>If you left one of these comments and would like it to be removed from the archive, please <a href=\"mailto:eheu48@gmail.com\">email me</a>.</p>\n<p><small>My replies are included only if they were originally posted on this site.</small></p>\n") filewrite.write("<h2>Archived comments</h2>\n<p>If you left one of these comments and would like it to be removed from the archive, please <a href=\"mailto:tre@praze.net\">email me</a>.</p>\n<p><small>My replies are included only if they were originally posted on this site.</small></p>\n")
for comment in fileread.comments: for comment in fileread.comments:
filewrite.write("<div class=\"comment\">\n<h1>") filewrite.write("<div class=\"comment\">\n<h1>")
if comment["site"] == "dw": if comment["site"] == "dw":
@ -162,7 +162,7 @@ def commentindex(local=False):
# write header # write header
headerfooter.headerwrite("build/comments/index.html","Comments","Comments","",False,local) headerfooter.headerwrite("build/comments/index.html","Comments","Comments","",False,local)
filewrite = open("build/comments/index.html", "a") filewrite = open("build/comments/index.html", "a")
filewrite.write("<p>Comments I receive are archived on this site and linked back to the original. If you dont want your comments from other sources archived here, or if you require any changes to the presentation of your comments, <a href=\"mailto:eheu48@gmail.com\">please email me</a>. Please note, however, that this website is not indexed by search engines and the only places I really “advertise” it are Dreamwidth and, sparingly, AO3.</p>\n<p>You can leave comments on the relevant comment pages for each fic. If youd like notification of any reply, please leave your email address. If youd like a link from your pseudonym to a website, you can supply this as well. Ill happily link to personal websites, Dreamwidth profiles, and (at least for now) AO3 profiles; Im unlikely to include links to for-profit social media websites, Carrd, or Patreon.</p>\n<p>Comments are turned off on any fic over two years old unless its in a Final Fantasy fandom. On AO3, comments are left open on fics written for AO3-hosted gift exchanges that ran in 2020 or later.</p>\n") filewrite.write("<p>Comments I receive are archived on this site and linked back to the original. If you dont want your comments from other sources archived here, or if you require any changes to the presentation of your comments, <a href=\"mailto:tre@praze.net\">please email me</a>. Please note, however, that this website is not indexed by search engines and the only places I really “advertise” it are Dreamwidth and, sparingly, AO3.</p>\n<p>You can leave comments on the relevant comment pages for each fic. If youd like notification of any reply, please leave your email address. If youd like a link from your pseudonym to a website, you can supply this as well. Ill happily link to personal websites, Dreamwidth profiles, and (at least for now) AO3 profiles; Im unlikely to include links to for-profit social media websites, Carrd, or Patreon.</p>\n<p>Comments are turned off on any fic over two years old unless its in a Final Fantasy fandom. On AO3, comments are left open on fics written for AO3-hosted gift exchanges that ran in 2020 or later.</p>\n")
filewrite.close() filewrite.close()
headerfooter.footerwrite("build/comments/index.html",False,local) headerfooter.footerwrite("build/comments/index.html",False,local)

Loading…
Cancel
Save