Back to Frontend

PressContent.Scala

admin/app/views/pressContent.scala.html

latest1.0 KB
Original Source

@(bucket: String = "aws-frontend-archive")(implicit request: RequestHeader, context: model.ApplicationContext) @import conf.switches.Switches.ContentPresser @admin_main("Content Presser (archiver)", isAuthed = true) {

Press (archive) an article / interactive page

  • This will only work as expected for article / interactive pages.
  • This tool will only press articles / interactive pages. To serve the pressed content to readers, please contact the dotcom team (dotcom.platform@@theguardian.com).
  • Please provide full URLs like https://www.theguardian.com/path
  • Pressing an article / interactive can take ~10 seconds.

URL:

@if(ContentPresser.isSwitchedOn) { } else { This feature is currently switched off (use the switchboard to re-enable it) }

Progress of pressing

No URL provided

No pressing in progress

Un-press an article / interactive

  • Un-pressing is not currently an automated process. Please contact the dotcom team (dotcom.platform@@theguardian.com) if you need to un-press an article / interactive.

}