SCoT - simple content management tool
Header Files
The header file contains information about the hole resulting HTML document. By now it is the stylesheet and the title of the document.
The header file also contains a brief description or overview of the following content. When composing the HTML document that displays the overview over this level of your project the content of the header file will be displayed there.
Line Description
- First Line
- This line holds the name of the stylesheet. In the example we created a stylesheet "D:\scot\example\css\screen.css". Here we only have to put the name of the stylesheet, that is "screen.css". SCoT will find it, because it lies in the folder "css".
- But we can do more. If we'd want to make difference between screen CSS and print CSS we can do it by defining a semicolon separated list of media-file pairs. "screen=Screen.css; print=Print.css" for example.
- Second line
- The second line holds the title of the HTML document. The title transforms into the title element in the head section of the HTML document. It also will be displayed when the document is linked from an overview page. See the example in how to organize header files II.
- Third line
- This line holds the title of the document that is displayed on top of the HTML document. When composing the overview page this line will not be displayed. The third line is the first line that is treated like a content line (see how to write content lines).
- Fourth line
- The forth line holds the subtitle of the document that is displayed beneath the title. As the third line, the fourth line will not be displayed in the overview page and it is treated as a content line. If you don't use subtitles just leave this line empty.
- Fifth to last line
- These lines build up the brief description or overview of the HTML documents content. These lines are content lines and will be displayed in the overview page.
HINT: I'm used to display the documents title as <h1> and the subtitle (if there is one) as <h2> in the document. That means, that the <h1> tag (and the <h2> tag as well) is used only once in my document. So I usually beginn the third line with "1". In cases that I use a title that is displayed on every HTML document of the project I beginn the third line with "2".
Examples
In the following are listings of the example header files we created during the lessons of this help.
- D:\scot\example\index\index.scot
- >screen.css
- >My Projects Index File
- >1Title
- >2Subtitle
- > Brief description of my project.
- D:\scot\example\welcome\welcome.scot
- >screen=screen.css; print=print.css
- >My Project
- >1Welcome to My Project
- >
- > Brief description of my project.
- D:\scot\example\welcome\references\references.scot
- >screen=screen.css; print=print.css
- >My Projects References
- >1References
- > or Who Is In Contact With Us
- > Some bla-bla about the refernces.
Back to how to write your SCoT files.
Diese Seiten wurden mit SCoT nach folgenden Standards erstellt: xHTML 1.0, CSS 2.0.
Zuletzt geändert:
