hosting:newwebsiteplan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hosting:newwebsiteplan [2018/08/21 15:52] – jim | hosting:newwebsiteplan [2023/03/13 15:14] (current) – jim | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Thoughts on a plan for a new website ====== | ====== Thoughts on a plan for a new website ====== | ||
+ | |||
+ | (This page is the original notes for what turned eventually into the current main website. It is now of historic interested only. I will note that a COTS membership system turned out to be rather more of a challenge than anticipated, | ||
First, let's quickly summarise some problems with the current website. | First, let's quickly summarise some problems with the current website. | ||
Line 50: | Line 52: | ||
I intend to implement a proof of concept site using the scheme described in the first two steps above. | I intend to implement a proof of concept site using the scheme described in the first two steps above. | ||
+ | |||
+ | ===== Progress 31/8/2018 ===== | ||
+ | |||
+ | I've implemented a proof of concept site at [[https:// | ||
+ | |||
+ | For the moment the source code in at https:// | ||
+ | |||
+ | I've used the Hugo theme ' | ||
+ | |||
+ | I've also distinguished further (mostly in my head at the moment) the different ways of linking to the old site. | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | What's there has taken me about a day. I'm finding AsciiDoc a very convenient and quick way to add content. | ||
+ | |||
+ | ==== Members-only content ==== | ||
+ | |||
+ | I said above I've not been sure how to handle members-only content. | ||
+ | |||
+ | As far as I'm aware, with the exception of site editor and special users like membership secretary and book review manager, the site manages access distinguishing between everybody and ACCU members only. | ||
+ | |||
+ | For members-only content, there has to be some sort of dynamic session management and access control. | ||
+ | My current bright idea (ha!) is as follows: | ||
+ | |||
+ | * Have members-only content under ''/ | ||
+ | * The content there to be generated by Hugo like everything else. | ||
+ | * Content to be held in a '' | ||
+ | * Apache routes anything under ''/ | ||
+ | * The dynamic engine would then manage user login and, if logged in, serve the statically generated content. This keeps the dynamic engine complexity and required functionality to a minimum. | ||
+ | * This assumes only member/ | ||
+ | |||
+ | ==== Preserving URLs ==== | ||
+ | |||
+ | URLs on the existing site are generally of the form ''/ | ||
+ | the file structure under its source '' | ||
+ | |||
+ | ===== However ===== | ||
+ | |||
+ | Since writing the above, I have looked closer at some of the URL structures. There' | ||
+ | |||
+ | I don't think these are sustainable. I propose instead to move to a more rational arrangement, | ||
+ | |||
+ | For journals this will require modifications to the index generation process. But since the index is generated by a program at the moment, I think this is doable. | ||
+ | |||
+ | There' | ||
+ | |||
+ |
hosting/newwebsiteplan.1534866727.txt.gz · Last modified: 2018/08/21 15:52 by jim