Add link to the code from index page, update readme

master
trémeur 11 months ago
parent 17b1ece7c1
commit a6d39cf112

@ -14,14 +14,15 @@ Requisites: =rclone= (just for uploading files to the server), Python 3.
** My use case
- most of my fandoms are numbered parts of a bigger franchise
- most of my current fandoms are numbered parts of a bigger franchise
- some of my fics have both English and French versions
- I have a lot of juvenilia that I want to place behind a veneer of protection
- all my fics are (currently) on AO3, most have HTML versions, newer ones also have EPUB and PDF versions
- I have weird rules about comments and sometimes turn them off after a certain period
- some but not all of my fics are on AO3; HTML, PDF and EPUB formats exist for most, but this can be adjusted for individual entries as needed
- whether commenting is enabled on a particular fic depends on a couple of factors
** Future plans [2/3]
** Future plans [2/4]
- [X] redirect to a consent page using local storage (h/t [[https://www.fancoders.com/][Fandom Coders]])
- [X] +redirect to a consent page using local storage (h/t [[https://www.fancoders.com/][Fandom Coders]])+
- [ ] pages for times and locations in FF fandoms
- [X] possibly a page for non-FF fandoms (as if I even care about these lol)
- [X] +possibly a page for non-FF fandoms (as if I even care about these lol)+
- [ ] python-based browser for loading in fic metadata and grabbing stats (“what were my top ships in 2022” etc.)

@ -58,7 +58,7 @@ def indexgen(local=False):
# write header
headerfooter.headerwrite("build/index.html","Trés fic archive","Trés fic archive","",True,local)
filewrite = open("build/index.html", "a")
filewrite.write("<p>Here is all my fanfiction! Much of it is also archived at AO3 under the name <span style=\"white-space: nowrap;\" class=\"ljuser\"><a href=\"https://archiveofourown.org/users/ovely/profile\"><img src=\"https://p.dreamwidth.org/b164c54b26e4/-/archiveofourown.org/favicon.ico\" alt=\"[archiveofourown.org profile]\" width=\"16\" height=\"16\" style=\"vertical-align: text-bottom; border: 0; padding-right: 1px;\" /></a><a href=\"https://archiveofourown.org/users/ovely/pseuds/ovely\"><b>ovely</b></a></span>.</p>\n<p>Ive recently implemented comments read about that <a href=\"")
filewrite.write("<p>Here is all my fanfiction! Much of it is also archived at AO3 under the name <span style=\"white-space: nowrap;\" class=\"ljuser\"><a href=\"https://archiveofourown.org/users/ovely/profile\"><img src=\"https://p.dreamwidth.org/b164c54b26e4/-/archiveofourown.org/favicon.ico\" alt=\"[archiveofourown.org profile]\" width=\"16\" height=\"16\" style=\"vertical-align: text-bottom; border: 0; padding-right: 1px;\" /></a><a href=\"https://archiveofourown.org/users/ovely/pseuds/ovely\"><b>ovely</b></a></span>.</p>\n<p>The code for this archive is available <a href=\"https://git.praze.net/tre/fic-archive\">here</a>. Commenting is switched on for most fics written at least semi-recently read about that <a href=\"")
if local:
filewrite.write("comments/index.html")
else:

Loading…
Cancel
Save