release-notes/xmlbeats wikixml2fdpxml,NONE,1.1
Karsten Wade (kwade)
fedora-docs-commits at redhat.com
Mon Jan 30 00:29:13 UTC 2006
- Previous message (by thread): install-guide fedora-install-guide-adminoptions-en.xml, 1.8, 1.9 fedora-install-guide-bootloader-en.xml, 1.13, 1.14 fedora-install-guide-en.xml, 1.40, 1.41 fedora-install-guide-firstboot-en.xml, 1.18, 1.19 fedora-install-guide-packageselection-en.xml, 1.17, 1.18 fedora-install-guide-techref-en.xml, 1.5, 1.6 rpm-info.xml, 1.5, 1.6
- Next message (by thread): release-notes RELEASE-NOTES-en.xml, 1.18, 1.19 RELEASE-NOTES-it.xml, 1.9, 1.10 RELEASE-NOTES-ja_JP.xml, 1.5, 1.6 RELEASE-NOTES-pa.xml, 1.2, 1.3 RELEASE-NOTES-ru.xml, 1.5, 1.6 RELEASE-NOTES-zh_CN.xml, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kwade
Update of /cvs/docs/release-notes/xmlbeats
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19460
Added Files:
wikixml2fdpxml
Log Message:
This script does some of what is needed, but not all, it needs a language such as perl or python to do some kung-fu. It is also not a modular script or otherwise well written, it's just a hack to get started.
--- NEW FILE wikixml2fdpxml ---
#!/bin/bash
#
# This file can be completely replaced with a better tool written in
# $LANGUAGE of someone's choice
#
# Original shell script - 29-Jan-2005
# kwade at redhat.com
# Manually rename some files to include their wiki namespace
mv Beats/x86_64.xml Beats/ArchSpecificx86_64.xml
mv Beats/x86.xml Beats/ArchSpecificx86.xml
mv Beats/GCC.xml Beats/DevelToolsGCC.xml
mv Beats/SELinux.xml Beats/SecuritySELinux.xml
# Add the base language extension to the files
ls Beats/ > xmlfiles
for i in `cat xmlfiles`;
do
echo $i | sed 's/.xml/-en.xml/g' > newfilename;
mv Beats/$i Beats/`cat newfilename`;
done
rm xmlfiles newfilename
echo "done"
# Right here is where we want to call perl-fu or python-fu
# to follow this pseudo-code
#
# for each(<section>);
# do
# get(contents of <title></title>) == $title;
# replace(" " with "-") == $idattrib;
# insert($idattrib) -> <section id="$idattrib">;
# done
- Previous message (by thread): install-guide fedora-install-guide-adminoptions-en.xml, 1.8, 1.9 fedora-install-guide-bootloader-en.xml, 1.13, 1.14 fedora-install-guide-en.xml, 1.40, 1.41 fedora-install-guide-firstboot-en.xml, 1.18, 1.19 fedora-install-guide-packageselection-en.xml, 1.17, 1.18 fedora-install-guide-techref-en.xml, 1.5, 1.6 rpm-info.xml, 1.5, 1.6
- Next message (by thread): release-notes RELEASE-NOTES-en.xml, 1.18, 1.19 RELEASE-NOTES-it.xml, 1.9, 1.10 RELEASE-NOTES-ja_JP.xml, 1.5, 1.6 RELEASE-NOTES-pa.xml, 1.2, 1.3 RELEASE-NOTES-ru.xml, 1.5, 1.6 RELEASE-NOTES-zh_CN.xml, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-docs-commits
mailing list