Thursday, August 27, 2009

The poetry of Curl macros, or, poem markup for the web

Here is a snippet from an American poetry e-book on the web:

Stanza:

<div class="lg" ID="LG24">
<a name="L185"></a><div class="line" ID="L185">"In the name of all created,</div>
<a name="L186"></a><div class="line" ID="L186">Let us hear no more, my brothers;</div>
<a name="L187"></a><div class="line" ID="L187">Are we older than all others?</div>
<a name="L188"></a><div class="line" ID="L188">Are the planets in our way?"—</div>
<a name="L189"></a><div class="line" ID="L189">"Hark," said one; "I hear the River,</div>
<a name="L190"></a><div class="line" ID="L190">Calling always, night and day."—</div>
<a name="L191"></a><div class="line" ID="L191">"Forward, then! The lights are shining,"</div>
<a name="L192"></a><div class="line" ID="L192">Said the Watcher by the Way.</div>
</div>

and here is my Curl macros alternative markup:

{para
{ln L185, In the name of all created,}
{ln L186, Let us hear no more, my brothers;}
{ln L187, Are we older than all others?}
{ln L188, Are the planets in our way?"}
{ln L189, "Hark," said one; "I hear the River,}
{ln L190, Calling always, night and day."}
{ln L191, "Forward, then! The lights are shining,"}
{ln L192, Said the Watcher by the Way.}
}

even better:

{stanza 24 lines 185-192
In the name of all created,
Let us hear no more, my brothers;
Are we older than all others?
Are the planets in our way?"
"Hark," said one; "I hear the River,
Calling always, night and day."
"Forward, then! The lights are shining,"
Said the Watcher by the Way.
}

Now is the markup in the way of the content when you have to look over the output?

There ia an interest group devoted to Curl markup for the Semantic Web over at developers.curl.com - just register as a developer member to join.

2 comments:

  1. Dr. Olaf Hoffmann now has version 1.0 of LML, the Literature Markup Language at http://hoffmann.bplaced.net/lml/

    For related resources see http://www.openannotation.org/
    and
    http://www.balisage.net
    in addition to the usual "digital" and "computing" humanitites links.

    ReplyDelete
  2. The URL for developers.curl.com is now http://communities.curl.com

    ReplyDelete