Browse files

tweak wording, add info model image, tweak styling

  • Loading branch information...
1 parent dde28a6 commit 71ea39cb38770186b8a96054c87f08029050dbd5 @mikekelly committed Nov 17, 2011
Showing with 11 additions and 1 deletion.
  1. +9 −0 hal.css
  2. +2 −1 hal_specification.html
  3. BIN info-model.png
@@ -50,6 +50,7 @@ table {
/* HAL.css */
body {
font-family: sans-serif;
+ font-size: 20px;
h1, h2, h3 {
@@ -97,6 +98,10 @@ ul {
list-style-type: disc;
+strong {
+ font-weight: bold;
#wrapper {
margin: 30px;
width: 960px;
@@ -114,3 +119,7 @@ ul {
background-color: #E3E3E3;
border: 1px solid #999;
+#examples .gist {
+ font-size: 14px;
@@ -56,8 +56,9 @@
The difference between HTML and HAL is that the former is GUI based and designed to be consumed by people, and the latter is machine-readable and designed to be consumed by automated 'agents'.
- HAL consists of two reserved elements: <strong>Resource</strong> and <strong>Link</strong>. Any and all elements are legal in a HAL representation provided they do not conflict with HAL's reserved elements.
+ HAL has two main components: Resources and Links. Resources have their own state, links, and embedded resources (which are resources in their own right). Links map link relations to href values/URIs, in a key/value fashion. Below is an image illustrating this information model:
+ <img src="info-model.png" />
HAL is a media type with which applications are described and controlled via link relations. It encourages the use of link relations to:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 71ea39c

Please sign in to comment.