0.0
No commit activity in last 3 years
No release in over 3 years
Commandline tool to take screenshots of all pages defined through a sitemap.xml in different resolutions.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

sitemap2png

Gem Version

Commandline tool to take screenshots of all pages defined through a sitemap.xml in different resolutions.

Note: This tool uses webkit2png.

Installation

$ gem install sitemap2png

Usage

The following tasks are available trough the command line.

Commands:
  sitemap2png help [COMMAND]          # Describe available commands or one specific command
  sitemap2png load SITEMAP PATH       # Load sitemap.xml & save screenshots

Commands

load

Usage:
  sitemap2png load SITEMAP PATH

Options:
  -w, [--width=N]
                   # Default: 1024
  -d, [--delay=N]
                   # Default: 0

Example Usage

$ sitemap2png load http://mysite.com/sitemap.xml /path/to/destination -w 1900

Development

When developing you can use the given rake tasks:

$ rake -T
rake build    # Build sitemap2png-0.1.0.gem into the pkg directory.
rake install  # Build and install sitemap2png-0.1.0.gem into system gems.
rake release  # Create tag v0.1.1 and build and push sitemap2png-0.1.0.gem to Rubygems```

Contributing

I Love Open Source

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) We Are Interactive under the MIT license.