Documents and publications
This folder is for website creators, project managers and administrators who publish documents: reports, plans, forms, minutes, guidance, data files. Public bodies publish many documents, and many of them are hard to find, outdated or inaccessible. The guides show how Exponential stores and serves documents, how to organize them, keep their history, describe them, make them accessible and control who may download them.
Contents
The pages
| Page | The answer in one line |
|---|---|
| Files and the File class | The File class and ezbinaryfile, uploads, size and type limits, download links with format and size |
| Document library structure | Where documents live: the media library or next to their pages, a Publication landing page, relations |
| Versions of documents | Replacing a file keeps its address; the old file stays in versions; when a new object is better |
| Metadata and tagging | Titles, dates, reference numbers, types and topics with real datatypes and eztags |
| PDF export | Setup > PDF export: one PDF of a subtree, generated once or on the fly, public or protected |
| Accessible documents | HTML summaries, accessible source files, file information in links, what Exponential does not check |
| OpenDocument import and export | ezodf: Writer documents to content and back, its requirements and limits |
| Downloads and permissions | content/download checks read access; sections for restricted documents; public stored PDFs |
Reading order
- Files and the File class, then Document library structure.
- Metadata and tagging and Versions of documents.
- Accessible documents: before the first publication goes up.
- Downloads and permissions.
- PDF export and OpenDocument import and export when you need them.
Up: Building a public-sector site, the index of all building guides, and Governments: start here, the start of the Governments section. Publication classes for specific organizations are proposed in Content model for national government and the other levels pages.
HTML first
A document a person must download to read is harder to find, read and keep current than a web page. The usual public-sector practice:
| Content | Publish as |
|---|---|
| Information people need to act (services, guidance, rules) | HTML pages |
| Formal documents (signed decisions, reports, plans) | the document, with an HTML summary page |
| Forms to fill in | an online form where possible; a document as an alternative |
| Data | open formats (CSV), with a description page |
Related pages
- Building a service catalog
- Files and downloads
- Media and uploads
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.