anchor.diff: -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  -       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  +<!DOCTYPE html>
   
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
  -  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  +  <meta charset="UTF-8" />
     <title><%= @host %> - URL shortener by <%= @brand_name %></title>
     <%= stylesheet_link_tag 'scaffold' %>
   </head>
  
positive.code: 
  <div class="thickline"></div>
  
  <div class="instructionsection documentation" id="bookmarklet"><p class="title">Bookmarklet</p> 
  <p class="contents">For your browser: <%= link_to "shorten with " + @host, "javascript:location.href='http://" + @host + "/?url='+encodeURIComponent(location.href);" %></p>
  <p class="contents">(drag and drop on your bookmark toolbar)</p>
  </div>
  
  <div class="instructionsection documentation" id="api">
  <p class="title">API</p>
  
  <p class="contents">Send a POST or GET request to <tt><%= @host %></tt> with a "url" parameter, with either an "Accept: application/javascript" or "Accept: text/xml" header. You'll get a simple text response with the shortened URL:</p>
  
  <div class="sample">$ curl --request GET --header "Accept: application/javascript" http://<%= @host %>/\?url=http://kosmaczewski.net/2008/08/11/saving-a-failing-project/<br />
  http://<%= @host %>/blzrur<br />
  
negative.code: </div>
  
  <script type="text/javascript" charset="utf-8" src="javascripts/jquery.js"></script>
  <script type="text/javascript" charset="utf-8" src="javascripts/cortito.js"></script>
  
  </body>
  </html>
  