Repository: steverichey/google-play-badge-svg Branch: master Commit: 266d2b2df26f Files: 7 Total size: 7.9 KB Directory structure: gitextract_loddrhyy/ ├── .gitignore ├── .travis.yml ├── _config.yml ├── all.html ├── gen_all_html.sh ├── license.md └── readme.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .DS_Store ================================================ FILE: .travis.yml ================================================ language: generic dist: trusty os: linux before_script: - xmllint --version script: - xmllint --noout img/*.svg branches: only: - master git: depth: 10 sudo: false addons: apt: packages: # Necessary to get xmllint available - libxml2-utils ================================================ FILE: _config.yml ================================================ theme: jekyll-theme-tactile ================================================ FILE: all.html ================================================ google-play-badge-svg ================================================ FILE: gen_all_html.sh ================================================ #!/bin/sh OUTPUT_FILE="all.html" echo "" > ${OUTPUT_FILE} echo "" >> ${OUTPUT_FILE} echo "google-play-badge-svg" >> ${OUTPUT_FILE} echo "" >> ${OUTPUT_FILE} echo "" >> ${OUTPUT_FILE} for f in ./img/*.svg do echo "" >> ${OUTPUT_FILE} done echo "" >> ${OUTPUT_FILE} ================================================ FILE: license.md ================================================ # The MIT License (MIT) Copyright (c) 2016 Steve Richey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: readme.md ================================================

google-play-badge-svg

Build status License: MIT

AboutUsageAvailable badgesNotesLicense

Hosting for localized versions of Google Play™ badges in SVG format. ## About It's possible to use [Apple's linkmaker](https://linkmaker.itunes.apple.com/us/) service to generate localized "Download on the App Store" SVG badges for your application. However, no similar service exists for Google's "Get it on Google Play" badges. This repository serves as hosting for Google's badges in SVG format. ## Usage You should probably use a service like [RawGit](https://rawgit.com/) if you're going to use these images for anything much more than development. Just grab the URL of the file you want and pop it in here. Here's an image from this repo served up via RawGit.

It's that easy! With a little JavaScript to check for locale (check `navigator.language || navigator.browserLanguage`) you can then load language-specific versions of the badge. I'd like to make this easier by making this available as a Node module, so keep an eye on this space if that sounds cool. Let me know if you have any questions, suggestions, or comments! ## Available badges To view the list of available badges, please see [this folder](https://github.com/steverichey/google-play-badge-svg/tree/master/img) or view all of the images in one place [here](http://steverichey.github.io/google-play-badge-svg/all.html). If I've made an error somewhere or you'd like an additional language added, please [open an issue](https://github.com/steverichey/google-play-badge-svg/issues). ## Notes Badges are labeled according to how Google sorts them, which is mostly using [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) codes. For some languages with multiple dialects the sorting is a little different. All SVGs use outlined text instead of embedded fonts. Inclusion or omission of any language or dialect should not be misconstrued as support for any particular nationality, country, ideology, race, or similar. If there's a language in here, it's just because Google had it available or someone added it themselves. If a language is missing, it's just because Google did not have it available or I had issues with their file. ## License Unless covered under some other license, all content in this repository is shared under an MIT license. See [license.md](./license.md) for details. Google Play and the Google Play logo are trademarks of Google Inc. Be sure to read the [Branding Guidelines](https://developer.android.com/distribute/tools/promote/brand.html) and contact Google via the [Android and Google Play Brand Permissions Inquiry form](https://support.google.com/googleplay/contact/brand_developer) if you have any questions. SVGs in this repository were generated from files provided by Google [here](https://play.google.com/intl/en_us/badges/) and they have all the copyrights and trademarks and whatevs.