Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Controllers ยท mod_export
  • Reference
  • Integrator
  • Export and syndication
  • Controller
  • Export

controller_export

Module

mod_export

Stream an export that is not tied to one resource.

The dispatch rule or its configured export module determines visibility, content type, filename, data rows, and encoding through the export notifications. Set the controller option is_query for query exports. The request argument raw selects raw values where the encoder supports them.

Edit on GitHub

Related documentation

Controllers

controller_export_resource

Stream one resource, or a resource-derived list, in a negotiated export format.

Controllers

controller_mailinglist_export

Controller which downloads the given mailinglist id as a CSV file.

Controllers

controller_admin_acl_rules_export

Download the site's access-control rules as a compressed Erlang term.

Models

rsc_export

Export a full resource representation for API and model access.

Notifications

observe_export_resource_content_disposition/2

mod_export - return the {ok, Disposition} for the content disposition.

Controllers

controller_admin_backup

Shows the admin backup screen where you can download nightly backups that were made by module#mod_backup.

Notifications

observe_export_resource_encode/2

mod_export - Encode a single data element.

Notifications

observe_export_resource_visible/2

mod_export - Check if the resource or dispatch is visible for export.

Controllers

controller_oauth2_access_token

Exchange OAuth 2.0 credentials for a bearer access token.

GitHub © 2026 Zotonic