Content designers across government asked for a way to download lists of documents from Whitehall to help them audit their content on GOV.UK. Some departments needed to tidy up content that was migrated during transition, and others need to look at a specific type of content, such as news, to decide what to archive.
To meet this need, we built a CSV exporter, so that content designers can export the results of filtered searches in Whitehall.
How to export a list of contentAlways check our guidance on How to publish on GOV.UK for up-to-date information on exporting CSVs.
In Whitehall, search for the content you’re interested in. At the bottom of the search results, there’s a new link ‘Export as CSV’ - click this and confirm:
You’ll receive an email with the CSV attached. We’ve chosen to do this by email as creating and sending these files within Whitehall would slow it down. Sending the files by email allows us to manage demand.
The CSV files contain:
- public and admin URLs
- lead organisation
- supporting organisation
- first published date
- first published on GOV.UK date
- which editor published the document
- when the document was last updated
- content type and sub-type
- state (draft, submitted, scheduled, published, force published etc)
- specialist sectors
We hope you find this useful - do let us know if you have any comments.