| 2 | |
| 3 | ''XML Web generátor'' is a software for off-line generating static websites. Although nowadays we often use dynamically generated websites (using PHP, Java/JSP, Python etc.), it is somtimes still useful to have website which did not require any scripting/programming technology on server side and consists only of a set of static (X)HTML and other files. Even more, it does not require a server at all – such website can be distributed on any media like CD or USB flash drives. |
| 4 | |
| 5 | Indeed, you can write this website just in text editor – creating particular (X)HTML files manually. But if you do, you must copy the menu on every page manually and if you want to change style or layout, you must do also do it everywhere… and other annoying tasks. |
| 6 | |
| 7 | So there is ''XML Web generátor'' which allows you to separate content from other things (look and feel, layout, menu etc.). |
| 8 | |
| 9 | [[Image(WikiStart:princip.png)]] |
| 10 | |
| 11 | You can see [https://frantovo.cz/projekty/xml-web-generator/demo1/ sample output] and also [source:vstup/ source XML files] that define particular pages. |
| 12 | |
| 13 | In source files you can use „[wiki:makro macros]“ (special XML tags) which lets you easily insert things like [wiki:makro/pre highlighted code samples], [wiki:makro/tabulka tables], Graphviz [wiki:makro/diagram diagrams] etc. |
| 14 | |
| 15 | ''XML Web generátor'' is a [https://www.gnu.org/philosophy/free-sw.html free software] and you can download it from my Mercurial repository: |
| 16 | |
| 17 | {{{ |
| 18 | hg clone https://hg.frantovo.cz/xml-web-generator |
| 19 | }}} |
| 20 | |
| 21 | The instalation and dependences are described [wiki:InstalacePoužití here] – it is in Czech, but you will probably understand the package names and commands :-) |