Skip to content

Instantly share code, notes, and snippets.

@mikekelly
Created July 15, 2012 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikekelly/3114393 to your computer and use it in GitHub Desktop.
Save mikekelly/3114393 to your computer and use it in GitHub Desktop.
<!doctype html>
<head>
<title>An example tweet</title>
</head>
<body xmlns:ht="http://haltalk.herokuapp.com/rels/">
<form class="properties" action="" method="POST">
<input type="hidden" name="_method" value="PUT" />
<input name="content" value="Justin Bieber is grate!111" />
<input name="created_at" value="2012-07-07T22:35:33+00:00" />
<button>Update</button>
</form>
<div class="links">
<a rel="self" href="/tweets/120"></a>
<a rel="ht:author" href="/users/derek" title="Derek"></a>
</div>
<div class="controls">
<form name="ht:make-reply" action="/tweets/120/replies" method="POST">
<input name="content" />
<button>submit</button>
</form>
</div>
<div class="embedded">
<div class="ht:response">
<div class="links">
<a rel="self" href="/tweet/123"></a>
<a rel="ht:author" href="/users/bob" title="Bob"></a>
</div>
<form class="properties" action="/tweet/123" method="POST">
<input type="hidden" name="_method" value="PUT" />
<input name="content" value="No he isn't omgomgomg1!11" />
<input name="created_at" value="2012-07-07T22:37:33+00:00" />
<button>Update</button>
</form>
</div>
<div class="ht:response">
<div class="links">
<a rel="self" href="/tweet/135"></a>
<a rel="ht:author" href="/users/ted" title="Ted"></a>
</div>
<form class="properties" action="/tweet/135" method="POST">
<input type="hidden" name="_method" value="PUT" />
<input name="content" value="Totes agree with you lolol!11!" />
<input name="created_at" value="2012-07-07T22:38:33+00:00" />
<button>Update</button>
</form>
</div>
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment