This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'flickraw' | |
# 1. Define FLICKR_API_KEY and FLICKR_SHARED_SECRET. Get them at | |
# http://www.flickr.com/services/api/keys/ | |
# 2. Run `fetch-flickr-html-codes.rb auth` and follow the instructions. | |
# 3. Run `fetch-flickr-html-codes.rb <token> <secret>` to list all sets. | |
# 4. Run `fetch-flickr-html-codes.rb <token> <secret> <set_id>` to | |
# generate the html code blocks of all pictures from the given set | |
# using the 'Medium' size. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customMapSource> | |
<name>Google Maps</name> | |
<minZoom>0</minZoom> | |
<maxZoom>20</maxZoom> | |
<tileType>PNG</tileType> | |
<tileUpdate>IfNoneMatch</tileUpdate> | |
<url>http://mt{$serverpart}.google.com/vt/lyrs=m@176103410&hl=pt-BR&x={$x}&y={$y}&z={$z}&s=Galileo&scale=1</url> | |
<serverParts>0 1 2 3</serverParts> | |
</customMapSource> |