Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views S3 export

Security covered Maintenance fixes only

Part of the Views ecosystem · 280 projects

This module provides a Drush command to export content from a Drupal View to an Amazon S3 bucket. This allows you to serve exported data, such as RSS feeds, CSV, or XML, efficiently from a CDN or S3-compatible service without modifying your existing Views. You can configure cache headers and content types for the exported files.

  • Do you have an RSS Feed in a View, and need to export it to Amazon S3?
  • Do you have a View of some other data type, like CSV or XML, that you need to export to Amazon S3?
  • Are your site's feeds being slammed, or is access to them being throttled by your host?
  • Are your MailChimp newsletters going out saying NO RSS ITEMS FOUND?
  • Do you need to do any of the above, but with an S3 compatible service?

As long as you have access to Drush and an AWS account, this module might help!

Views S3 export provides a Drush command for exporting a View to a file on Amazon S3 (or a compatible service). From there, the file can be served from CDN, fast.

Features

  • Doesn't require any alterations to your Views; unlike Views data export it doesn't require a View display to itself.
  • Change the Cache-Control HTTP header S3/CloudFront will use. For example, max-age=300, public.
  • Change the Content-Type HTTP header S3/CloudFront will use. For example, application/rss+xml.
  • Choose any View and View display to export.

Post-Installation

The Drush command may be run like this: drush views:s3-export view_id display_id while running: drush --help views:s3-export shows the available options.

Note: the command always uses the Anonymous user when executing the View (please create a feature request if you have a different use-case).

Supporting this Module

The developers of this module are available for hire at Woolwich Web Works. If you have budget for developing a feature you need, if you're confused by how S3 and CloudFront and Drupal fit together, or would like help setting it up, get in touch!

Drupal 10 · not 11

Ask your assistant about Views S3 export

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • s3fs Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 10 Oct 9, 2024
1.0.4 Stable 10 Oct 9, 2024
1.0.3 Stable 10 Oct 9, 2024
1.0.2 Stable 10 May 15, 2024
1.0.1 Stable 10 Apr 30, 2024
1.0.0 Stable 10 Apr 29, 2024
1.0.x-dev Dev 10 Apr 29, 2024