473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,385 developers and data experts.

Literature and poetry text markup with the Curl web-content language

8
I have posted a few examples of using Curl for poetry markup and I have several pages at poets.aule-browser.com

Most often I use a single Curl outer element, e.g., {poem }
{poem
|| poem text goes here
}
to wrap the entire text of a poem.
Each stanza is then wrapped by a {stanza } element as follows, e.g.,
{poem
{stanza
|| lines here
}
{stanza
|| second here
}
} || end of poem markup
Because Curl allows both user-defined tags such as {poem } and {stanza } and permits macros, on any given page these elements not only have the style that you choose, but the behaviour that you choose.
For example:
{poem
{stanza
|| lines here
}
{pg 2}
{stanza
|| second here
}
} || end of poem markup
What the {pg } element does depends on your own definition for either that document or for that web page. It might be merely an invisible target for a link anchor.
Note that there are no closing tags as required for XML elements.
What becomes more interesting are annotations and glosses, which can be visible on one web page and not on another - but for the very same markup !
I know of nothing for markup which is more elegant, effective and mature (now in version 7.0.)
Curl was developed at MIT is now licensed by Sumisho but with open-source projects at sourceforge.

For more of my notes on my hobby, poetry markup, see developers.curl.com

For other approaches to poetry markup for web pages, see LML or Literature Markup Language by Prof. Hoffman. There are several university sites devoted to e-texts for poetry, ancient texts (often in rhyme or metre) and other source texts in the humanities.

A string-processing language for the humanities was the first inadvertant open-source project: SNOBOL (which escaped the lawyers at Bell Labs and was followed by ICON from U. AZ, Tucson as a replacement for SNOBOL and SPITBOL.) ObjectIcon is now available at code.goggle and Converge is a pythonic variant available at the convergepl site.
Jun 6 '10 #1
0 3663

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jan K. | last post by:
Hi there, I have edited some php-source (a Stringychat 'shoutbox' on the webpage) By default, all the text was not marked up at all. I have tried to markup the text, and succeeded partly. Can...
7
by: Jacek Generowicz | last post by:
:::Title::: A simple text markup utility :::/Title::: :::Section Introduction ::: I'm looking for something to help developers wirte documentation for bits of software they are writing. The...
16
by: Jeremy Clulow | last post by:
One disadvantage of designing with CSS and without tables appears to be that selecting specific block of text from a web page to copy and paste, or in order for it to be read by a text-to-speech...
0
by: Marshal Antony | last post by:
Hi, I have a web service creates a # delimited text file on a server different than the web server per day for tracking databse transactions.All transactions will be writing to this same text...
20
by: John Bailo | last post by:
CSS shills Bill Gate and Skieve Balmy make comparisons of quality between CSS and GLOSS (Gnu Linux Open Source Software ). Ok, let's test that theory. I work on both a FedoraRC1 and w2k machine....
2
by: FrodoBaggins | last post by:
Dear Team, I am trying to use stylesheets on a web form. Initially, I created a folder named 'styles' within the WebUI project. In this I created the following stylesheet named...
1
by: VM | last post by:
Where can I get information on building a web application that can send, via the Web, a text message to a portable device or another computer? And where can I get information on sending the same...
0
by: Rob Webster | last post by:
I'm building a messenger like interface to a Chabot type program. It is appending text to the contents of a text field. How can I get it to scroll to the end after each append as there is no...
2
by: Michael Kremser | last post by:
Hi NG! Is there a function in the .net FX that returns a System.Web.UI.Control's inherited class for a specified text? Means, if you specify <a href="http://www.microsoft.com/"...
10
by: Sillu | last post by:
I'ld like to create a web page, from which no one can select the text simply, copy frm there n paste at another location. In simple means, i'ld like to stop copy process from my web page. Plz...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.