Writing Custom Tags

Writing a TagDescriptor

Todo

Add the following:

> This tutorial covers the creation of a basic XML tag. It does not delve > into the subject of tags with plugins. This advanced > topic is covered in the content_tutorial.

Making Your Tag Built-In

If you end up writing a tag that you believe is generic and useful enough to be built-in, feel free to submit a pull request or patch to the author. Be sure to include all, or at least most, of the following items:

  • A properly documented implementation of your tag in the imprint.core.tags module.
  • A proper entry in XML Template Specification.
  • At least a brief mention of your tag in at least one of the tutorials.
  • Proper tests, once that becomes a thing.