GitXplorerGitXplorer
a

quotation-tools

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c4be021b4e14ffa530fe8a7c119c72fcbeaecc77

Wrap each quotation in a div; make author and source paragraphs well-formed

aakuchling committed 11 years ago
Unverified
875c1cff60265fd7a8f98b2ba8d3cd954f157f4e

Rewrite scripts to use argparse instead of getopt

aakuchling committed 11 years ago
Unverified
c6fc4b9cc88c7985839d01fd3b2c4ac021f90810

Update invocation of coverage

aakuchling committed 11 years ago
Unverified
4ee9f786d02449c8194f7e74051bdad531b85d9f

Add test_scripts.py

aakuchling committed 11 years ago
Unverified
02e9cfd780aeb849cffbc2c2970562abd3bf1f57

Make scripts executable

aakuchling committed 11 years ago
Unverified
4806fa00f47c482ae8340c47e4757b184ee042bd

Don't install fortune2qel any more; modernize it a bit

aakuchling committed 11 years ago

README

The README file for this repository.

quotation-tools

This is a Python package containing scripts for parsing and maintaining quotation collections using the Quotation Exchange Language, or QEL, format. The scripts making up the toolkit are:

  • qtformat: For converting QEL to various other formats (text,HTML,more)
  • qtgrep: For searching through a collection
  • qtmerge: For merging a number of QEL files
  • fortune2qel: Reads a fortune(6) file and outputs QEL for as many quotations as possible.

The QEL home page is http://quotations.amk.ca/qel/ ; the latest version of this software is available there.

Suggestions, bug reports, and patches are welcome; please e-mail them to me at amk@amk.ca, or post a pull request on github.com. The master repository is at https://github.com/akuchling/quotation-tools.

Requirements

You will need Python 3.3 or greater.

Installation

The quotation-tools use the Distutils for installation. Run:

python setup.py install

to build and install them.

The QEL 2.0 DTD and some additional XML declaration files required by the DTD are installed into /usr/lib/sgml/. Run 'install-catalog --install quotation-tools' to add the installed DTDs to the master catalog. (On Debian, use 'install-sgmlcatalog' as the script name instead.)

License

All the code in this package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The QEL DTD is under a modified version of the W3C's software license, though the copyright is held by me.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

| Andrew M. Kuchling | amk@amk.ca | http://www.amk.ca