Sha256: eb136a4da7fd841226844871880490fe14ec64e044fc7c08a611223b9830b715
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
# MassiveSitemap S3 Writer [![](http://travis-ci.org/rngtng/massive_sitemap-writer-s3.png)](http://travis-ci.org/rngtng/massive_sitemap-writer-s3) S3 Writer extension for [MassiveSitemap](http://rngtng/massive_sitemap) ## 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: ```ruby 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](https://github.com/qoobaa/s3). For further information check [Massive Sitemap gem](http://rngtng/massive_sitemap) ## 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.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
massive_sitemap-writer-s3-0.0.1 | README.md |
massive_sitemap-writer-s3-0.0.1.rc4 | README.md |
massive_sitemap-writer-s3-0.0.1.rc3 | README.md |