Add dc:subject metadata to EPUB output.

parent 3aaa12c7
---
title: Mini-XML API Reference
author: Michael R Sweet
copyright: Copyright © 2003-2017, All Rights Reserved.
docversion: 2.11
copyright: Copyright © 2003-2018, All Rights Reserved.
docversion: 2.12
...
# Introduction
......
.TH mxml 3 "Mini-XML API" "10/01/18" "Mini-XML API"
.TH mxml 3 "Mini-XML API" "10/02/18" "Mini-XML API"
.SH NAME
mxml \- Mini-XML API
.SH INCLUDE FILE
......
......@@ -4036,6 +4036,9 @@ write_epub(const char *epubfile, /* I - EPUB file (output) */
temp = mxmlNewElement(metadata, "dc:publisher");
mxmlNewOpaque(temp, "mxmldoc");
temp = mxmlNewElement(metadata, "dc:subject");
mxmlNewOpaque(temp, "Programming");
temp = mxmlNewElement(metadata, "dc:identifier");
mxmlElementSetAttr(temp, "id", epubbase);
snprintf(identifier, sizeof(identifier), "%s-%s", epubbase, docversion);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment