No commit activity in last 3 years
No release in over 3 years
Amazon S3 Writer extension for MassiveSitemap
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

MassiveSitemap S3 Writer

S3 Writer extension for MassiveSitemap

Usage

S3 Writer extends MassiveSitemap::Writer::GzipFile for uploading the generated siemap file directly to S3. The state of the sitemap files is read from there too, which makes permanenty storage of the files localy obsolete.

For initialization the S3 options are required as first parameter:

require 'massive_sitemap'
require 'massive_sitemap/writer/s3'

s3_options = { :access_key_id => ..., :secret_access_key => ..., :bucket => ... }
writer = MassiveSitemap::Writer::S3.new(s3_options)

MassiveSitemap::generate(:url => ..., :writer => writer)

Dependencies

Obviously depends on a S3 library which is the fabouly slick S3 gem.

For further information check Massive Sitemap gem

Contributing

We'll check out your contribution if you:

  • Provide a comprehensive suite of tests for your fork.
  • Have a clear and documented rationale for your changes.
  • Package these up in a pull request.

We'll do our best to help you out with any contribution issues you may have.

License

The license is included as LICENSE in this directory.