Modularity:
- Each mode has its own directory to live in
- autogenerate pages from metadata
Simplicity:
- Use flat files instead of a database engine
- Use directories for "public" URL-s
- URL will not change if e.g. index.html is replaced by index.php (or vice versa)
- Structure of the site is transparent also with ftp or shell access
- easy upload via shell access and cvs
User-friendliness:
- several listing formats (categories, keywords, author, date)
- search script (grep in metadata)
Jedmodes has two parts:
Modes can appear in the Catalogue while the sources are at a different location ("external modes"). This way, contributions from people with their own webspace can be listed too.
htdocs/ % root of http://jedmodes.sourceforge.net | |__index.php % Homepage of jedmodes |__parse-dcdata.php % helper script, read dcdata into an php array |__grep-dcdata.php % helper script, grep for lines in dcdata |__mode-index.php % display mode metadata nicely formatted | |__doc/ % Documentation and templates | |__changelog.txt % Changelog for jedmodes project | |__mode-template.tgz % Template mode-directory | |... |__categories/ % Browse modes by Categories | |... |__modes/ % Browse modes by Subjec, Author, Date, ... | |... | |__mode/ % Modes folder |__index.php % display listing of modes | |__default/ % default structure for a mode at jedmodes | |__dcdata.txt % metadata file (Dublin Core terms) | |__index.php % Index file. Reads ../../mode-index.php | |__doc/ % optional additional documentation files | |__screenshot1.png % will get links in the index page | |__custom % mode with a custom index page | |__index.[html|php] % user-provided index file | | % No restrictions regarding the directory | | % structure under the mode-root directory | |__dcdata.txt % metadata file (Dublin Core terms) | |__virtual/ % virtual (meta/container/external) mode | |__dcdata.txt % metadata file (Dublin Core terms) | | % with link to modes homepage or download-site | |__index.php % Index file. Reads ../../mode-index.php | ...
(see also jedmodes-cvs)
Base adress is jedmodes.cvs.sourceforge.net
Mode sources are in the module jedmodes.cvs.net:/cvsroot/jedmodes/mode/ in their own mode-directories.
The name of the cvs-mode-directory should match the name of the catalogue- mode-directory.
jedmodes.cvs.net:/cvsroot/jedmodes % Base of jedmodes CVS repository | |__mode/ % Modes folder | |__default/ % place your mode in a dir, even if it is only | | % one file | |__default.sl | |__custom/ % Be sure to list all source files | |__custom.sl % in the dcdata.txt metadata file, | |__custom-misc.sl % see dcdata-for-jedmodes.txt | |__custom.hlp | ...