mod_export

Provides a generic framework to export resources.

Admin interface

When enabled, this module adds two things to each admin edit page:

  • extra content types to the ‘View’ dropdown menu

  • an ‘Export’ block.

Both single pages and query resources can be exported. For a query, all resources matching it will be included in the export.

Customizing exports

To customize data selection and the properties that are exported, observe one or several of the export notifications.

Accepted Events

This module handles the following notifier callbacks:

  • observe_content_types_dispatch: Add extra content-type to the 'id' controller; as fallbacks for content-types using export_encoder:content_types_dispatch.

  • observe_export_resource_content_disposition: Return the download content-disposition header for generated exports.

Edit on GitHub

Dispatch rules

dispatch_export

Dispatch rules Name Path Resource Args export_rsc [“export”,”rsc”] controller_export_resource [] export_rsc…

Referred by

Upgrade notes

These notes list the most important changes between Zotonic versions. Please read these notes carefully when upgrading…

All dispatch rules

All the dispatch rules from all modules. For a background on dispatch rules, see The URL dispatch system.