דף זה בעברית
About Haifa Linux Club's siteThe site is statically created using several scripts, which are based on an outline file, source files (which are html excerpts), and directories of lecture files. Each lecture file contains an html table row. The lectures are then gathered to lecture collections by creating symbolic links from the main lectures directory to other directories.The Lectures DataFor each lecture, a file is created, containing a table row which describes the lecture. Past lectures are kept in directory lectures, and future lectures in future. When a lecture is given, it is moved from the future directory to the lectures directory.The Lecture SortingThe lectures are sorted according to topics. Each topic has a directory, which contains symbolic links to files in the lectures directory. For example, directories kernel, programming, network, security, util, and advocate. Each such directory has a matching file, which containes the heading of the lectures page, for example util.1. future and lectures differ from those collections: lectures is the actual data base of all the lectures (no symbolic links!). future is itself a symbolic link to lectures/future, and it also holds real files, and not symbolic links. So beware, you who wishes to delete those! The Scripts
The OutlineThe outline.html file contains a table, whose left cell is the menu, and its right cell contains the page, coming from a stub. The outline contains various reserved strings, which are replaced by parts of the stub:
The outline uses the haifux.css style. The outline includes a button to check the html validity of the page, using the great service w3 validator provides. The StubsEach of the stubs, for example index.htm, must contain in its first line a< h1> heading. This will
be transformed into a title (without any tags it may contain),
and into a heading (withthose tags). the rest of the stub needs
to be an html ecerpt, namely standard html, as should appear
within the body of the document.
Combining it all togetherIn order not to forget anything, the whole procedure is glued together using the make_everything shell script.
Contact haifuxmaster at haifux.org regarding this website.
|