I have just added some new API code to the bulkpub module to allow an application
to query which fields exist for a content type, and to set field values when
calling the newPage() API. I am using this in an application I am developing that
uploads xhtml derived from genealogy GEDCOM data. In the future I plan to use it
to attach fields to DITA topics that could include:
Once the fields have been set in the content instance, views can be used
to create a large number of interesting queries.