… | |
… | |
40 | export dir |
40 | export dir |
41 | cd "./$dir" || exit 68 |
41 | cd "./$dir" || exit 68 |
42 | { |
42 | { |
43 | cat >&7 <<-EOF |
43 | cat >&7 <<-EOF |
44 | <?xml version='1.0' encoding='utf-8'?> |
44 | <?xml version='1.0' encoding='utf-8'?> |
|
|
45 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
45 | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> |
46 | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> |
46 | <head> |
47 | <head> |
47 | <title>Crossfire Maps Directory "$dir"</title> |
48 | <title>Crossfire Maps Directory "$dir"</title> |
48 | <link rel='stylesheet' type='text/css' media='all' href='/common.css'/> |
49 | <link rel='stylesheet' type='text/css' media='all' href='/common.css'/> |
49 | </head> |
50 | </head> |
… | |
… | |
91 | </ul> |
92 | </ul> |
92 | <p class="footer">created by <a href='http://software.schmorp.de/#crossfire'>cfupdate</a> version $VERSION</p> |
93 | <p class="footer">created by <a href='http://software.schmorp.de/#crossfire'>cfupdate</a> version $VERSION</p> |
93 | EOF |
94 | EOF |
94 | echo >&7 "</body></html>" |
95 | echo >&7 "</body></html>" |
95 | } 7>index.xhtml |
96 | } 7>index.xhtml |
96 | gzip -7f index.xhtml |
97 | #gzip -7f index.xhtml |
97 | ) |
98 | ) |
98 | done |
99 | done |
99 | |
100 | |
100 | <.cfmap2html xargs cfmap2html |
101 | <.cfmap2html xargs cfmap2html |
101 | <.cfmap2html xargs cfmapidx -a |
102 | <.cfmap2html xargs cfmapidx -a |