KDE Changelogs in XML ===================== To generate the PHP version of the docs from an XML file, use the command: # xsltproc -o changelog3_5_3to3_5_4.php changelog.xsl changelog_branch_3_5.xml If you only want the changes for a particular version, use: # xsltproc --stringparam outputversion -o outputfile changelog.xsl changelog_branch_3_5.xml where is the version you want (eg, "3.5.4" without the quotes). For KDE 4.0.3 you need # xsltproc --stringparam outputversion "4.0.3" -o changelog4_0_2to4_0_3.php changelog.xsl changelog_branch_4_0.xml Details on writing changes in the XML format are below: Quick start ----------- Here's a mini example to show the use of the XML format, if you want to get started quickly. Detailed documentation is below: ---- 8< ---- 8< ---- Don't crash when triple-clicking on a line that has :after or :before content, or anything that isn't in the DOM. Support new stuff. Bookmarks: Look up konsole-bookmarks in the correct directory. Load much, much faster. See my blog. Better documentation and whatsthis help ---- 8< ---- 8< ---- Detailed descriptions of tags ============================= Optional attributes are in [ ] Generalities ------------ Root element. Required, but does nothing interesting. One for each release detailed in the changelog, and the date on which it was released. Divisions --------- An SVN module. If possible, make sure the lowercase form of the "name" attribute is the exact name of the module in SVN (this makes the 'rev' attribute work - see below). An application or other component which forms the toplevel in an SVN module. Again, make sure that the lowercase form of the name attribute is as it appears in SVN if you want the 'rev' attribute to work. The homepage attribute is an optional URL of the product's homepage. A component within a . Change types ------------ A fix of a bug. The bug number(s) on bugs.kde.org can be placed in the bugno attribute if appropriate, and rev can be used for the SVN revision number of any relevant commit. If multiple bugs or revisions are relevant, separate them with spaces. Use class="crash" to highlight a fixed crash. A new feature. bugno and rev work as for . An optimization. bugno and rev work as for . An improvement that doesn't fit into one of the other categories, for example, updated documentation, usability or accessibility improvements, new artwork, etc. bugno and rev work as for . Other things ------------ Just like the HTML element for making links.