[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpm-info to publican conversion



I started a small project to simplify some of the metadata conversion
process from our old-style, FDP toolchain-created docs into Publican:

http://pfrields.fedorapeople.org/projects/rpminfo-to-publican/

It's not a code repository, just a script and some XSL stylesheets I
prepared.  It's far from bulletproof (maybe a little tetchy,
actually), so patches gratefully accepted.

The procedure:

1. Create a bare-bones Publican doc of the type you want, preferably
matching the original (book, article, or set), with brand "fedora" and
a name like "This_Guide_Name".

2. cd This_Guide_Name
   tar xzf /path/to/rpminfo-to-publican.tar.gz
   sh rpminfo-to-publican.sh /path/to/rpm-info.xml

3. Add YEAR and HOLDER entities to <LANG>/This_Guide_Name.ent as usual.

The XSL stylesheets properly import names of authors, revision
history, and other document metadata to the appropriate files, and
backup the old ones in an 'orig/' folder.  You should run this
procedure *before* you put additional data in these files.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

Attachment: pgp53aOA3IaHx.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]