mdr2.dtb.xml

Update meta data of a DAISY Talking Book

handle-manifest-node

(handle-manifest-node node {:keys [creator title date identifier language publisher source type narrator produced_date producer revision_date source_edition source_publisher source_date multimedia_type encoded_size], :as production})

Handle one node in the xml tree. Replace all content in the meta elements with the values from production

handle-smil-node

(handle-smil-node node {:keys [title identifier]})

insert-kbytesize-node

(insert-kbytesize-node node value)

insert-xmlns

(insert-xmlns node)

meta-node?

(meta-node? node name)

title-node?

(title-node? node)

update-encoded-meta-data!

(update-encoded-meta-data! production volume)

Update the meta data of an encoded volume for production in-place. This can be useful in situations where the meta data is only known after the encoding, such as :encoded_size. Presumably only the manifest will be affected. The smil files will not be touched

update-mainfest!

(update-mainfest! production volume)(update-mainfest! production _ manifest)

Update the manifest file of volume for production in-place with the meta data from production. If a manifest is given the volume is ignored

update-master-smil!

(update-master-smil! production volume)

Update the master smil file of volume for production in-place with the meta data from production

update-meta-data

(update-meta-data xml production handler)

Update xml with the metadata from production using the given node handler

update-meta-data!

(update-meta-data! production volume)

Update the manifest and the smil file of a volume for production in-place with the meta data from production

update-meta-node

(update-meta-node node v)

update-title-node

(update-title-node node v)