Permalink
Browse files

adjust amazon affiliate links

The Pro Git links to Amazon use Scott's personal affiliate
id, which puts Git the non-profit project in a murky area.
This site is not owned or managed by the Software Freedom
Conservancy's member project Git, but it's de facto status
as the official site makes things awkward. And anyway, it
would be nice to donate the affiliate revenue to the
project.

This patch replaces all of the affiliated Pro Git links with
ones that mention the Git/SFC affiliate id.
  • Loading branch information...
1 parent 7b56cca commit f71cfae5666f6a69a64c854db6a81f4b831c829d @peff peff committed Oct 27, 2012
@@ -11,7 +11,7 @@
<h1>Book</h1>
<img style="float:right;margin: -20px 40px 0 40px;" src="/images/pro-git-118x157.jpg" />
<p>
- The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution Non Commercial Share Alike 3.0 license</a>. Print versions of the book are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Amazon.com</a>.</>
+ The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution Non Commercial Share Alike 3.0 license</a>. Print versions of the book are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.</>
</p>
<ol class='book-toc'>
<% @book.chapters.each do |chapter| %>
@@ -11,7 +11,7 @@
<h1>Book</h1>
<img style="float:right;margin: -20px 40px 0 40px;" src="/images/pro-git-118x157.jpg" />
<p>
- The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution Non Commercial Share Alike 3.0 license</a>. Print versions of the book are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Amazon.com</a>.</>
+ The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution Non Commercial Share Alike 3.0 license</a>. Print versions of the book are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.</>
</p>
<ol class='book-toc'>
<% @book.chapters.each do |chapter| %>
@@ -29,7 +29,7 @@
Pro Git is written by Scott Chacon and published by Apress.
%p
- Print copies can be purchased from <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Amazon</a> and <a href="https://github.s3.amazonaws.com/media/progit.en.pdf">PDF</a>, <a href="https://github.s3.amazonaws.com/media/pro-git.en.mobi">mobi</a>, and <a href="https://github.s3.amazonaws.com/media/progit.epub">ePub</a> versions are available for free.
+ Print copies can be purchased from <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon</a> and <a href="https://github.s3.amazonaws.com/media/progit.en.pdf">PDF</a>, <a href="https://github.s3.amazonaws.com/media/pro-git.en.mobi">mobi</a>, and <a href="https://github.s3.amazonaws.com/media/progit.epub">ePub</a> versions are available for free.
%p
<a href="#" id="open-book">Back to book →</a>
%p.license
@@ -1,6 +1,6 @@
<div class="callout">
<p>The entire <strong><a href="/book">Pro Git book</a></strong> written
by Scott Chacon is available to <a href="/book">read online for free</a>.
- Dead tree versions are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Amazon.com</a>.
+ Dead tree versions are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.
</p>
</div>
@@ -35,7 +35,7 @@
<strong><a href="/book">Pro Git</a></strong>
by Scott Chacon is available to
<a href="/book">read online for free</a>.
- Dead tree versions are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Amazon.com</a>.
+ Dead tree versions are available on <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.
%section#front-downloads
= partial 'shared/monitor'

0 comments on commit f71cfae

Please sign in to comment.