Browse Source

trivial typos changes (#654)

tags/stw2018
Thomas Doczkal 10 months ago
parent
commit
dc70b4aa96
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 6 additions and 10 deletions
  1. 6
    10
      news/README

+ 6
- 10
news/README View File

@@ -11,9 +11,9 @@ directory.

<newsset>
<news date="date">
<title>Tekst</title>
<title>Text</title>
<body>
Tekst
Text
</body>
<link>link</link>
</news>
@@ -25,18 +25,18 @@ There's a naming convention for these xml files:

'news-'newsdate'-'counter'.'language_part'.xml'

(eg: the English version of the first news file on the 4th november of
(eg: the English version of the first news file on the 4th November of
2008 should be named news-20081104-01.en.xml and the file should go in
the /news/2008/ directory)

**2**
Add an xhtml file in the appropriate directory.
Add an xhtml file in the appropriate directory.

Write an ordinary xhtml file. Add the newsdate="date" attribute in the
xhtml tag. The paragraph that has to be copied into the xml file
should be marked with the newsteaser="yes" attribute.

(eg:
(eg:

<?xml versio ...

@@ -65,7 +65,7 @@ link attribute in the html tag.
You can freely choose a name for this file and you should put it in the
/news/this_year/ directory or in the directory of the project it
belongs to (/projects/project_name/), so you can keep all pages of one
project together.
project together.

The xml files for these xhtml files are generated automatically. The
xml file will exist as long as the xhtml file exists. If you want to
@@ -74,7 +74,3 @@ newsdate attribute from the xhtml file. (eg: this can be a way to
announce a new project, it will generate an xml file that links to the
index page of the project, and it leaves the option open to change the
page afterwards and keep the original announcement).





Loading…
Cancel
Save