Closed vincent-peugnet closed 2 years ago
last idea was to code a daemon
that will detect files editing, convert markdown to HTML, then update a Json W Page file filling the ASIDE using the following structure :
<div class="member">USERNAME</div>
<div class="aboutme" id="USERNAME">
<div class="handle">USERNAME</div>
<div class="close">x</div>
<div class="content">
ABOUTME in HTML
</div>
</div>
This structure can be negotiate with @Mement0o .
I think this would be better to do a more simple approach:
club1.fr/membres
name
parameter in the ABOUTME
file
To get further on the membres page on the website, I propose a way to gather presentation page from members accounts in order to display them on the website. I always like the idea of many little pages in different windows, but I'm looking for a way to do it without need of editor.
I fought of adding a
ABOUTME.md
file in each user home by default. This file will be editable by users and could be deleted if they don't want to appear in the member list or empty to be listed but with nothing about them.A question appear to me: how do they want to be called ? maybe users don't want to reveal their username. That add a problematic of how to store it. Maybe the first H1 title could be the name.
After that, I imagine a CRON script to transform in html, or that simply put the content in the W page
membres
and update the modification time. Or even a function in W that can print content of a file in a page... I'd like to find out what is the most simple solution for doing that.But yeah, the main idea is to use as much as possible simple config files in the user home directory.