Re: [WSG] Markup for Poetry?

2007-04-03 Thread Ben Buchanan

I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry? I haven't started doing markup yet, but if it would help
folks on the list, I could that and post the links.


As is usually the case, the bare markup really guides things - ie. be
careful of solutions using span + CSS to generate lines, since that
disappears without CSS.

Generally, p with br / is best where the lines are important but
there's no special whitespace (the majority of poetry). It's one of
the extremely rare situations where br / really is a part of the
content.

For unusual whitespace pre is generally the best solution.

Then style accordingly.

cheers,

Ben

--
--- http://www.200ok.com.au/
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Markup for Poetry?

2007-03-29 Thread Jeremy Boggs

Hello,

I'm working on a website that contains a number of poems. Are there  
any discussions or examples on strategies for marking up and styling  
poetry? I haven't started doing markup yet, but if it would help  
folks on the list, I could that and post the links.


Thanks in advance!
Jeremy




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Blake

On 3/30/07, Jeremy Boggs [EMAIL PROTECTED] wrote:


I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry?


Poetry is one of the few times when it's semantically correct to use
br, IMO. For example, something like this could be okay:

h1Dulce Et Decorum Est/h1
blockquote
pBent double, like old beggars under sacks,br
Knock-kneed, coughing like hags, we cursed through sludge,br
Till on the haunting flares we turned our backsbr
And towards our distant rest began to trudge.br
Men marched asleep. Many had lost their bootsbr
But limped on, blood-shod. All went lame; all blind;br
Drunk with fatigue; deaf even to the hootsbr
Of disappointed shells that dropped behind./p
pGAS! Gas! Quick, boys!#8212; An ecstasy of fumbling,br
Fitting the clumsy helmets just in time;br
But someone still was yelling out and stumblingbr
And floundering like a man in fire or lime.#8212;br
Dim, through the misty panes and thick green lightbr
As under a green sea, I saw him drowning./p
pIn all my dreams, before my helpless sight,br
He plunges at me, guttering, choking, drowning./p
pIf in some smothering dreams you too could pacebr
Behind the wagon that we flung him in,br
And watch the white eyes writhing in his face,br
His hanging face, like a devil#8217;s sick of sin;br
If you could hear, at every jolt, the bloodbr
Come gargling from the froth-corrupted lungs,br
Obscene as cancer, bitter as the cudbr
Of vile, incurable sores on innocent tongues,#8212;br
My friend, you would not tell with such high zestbr
To children ardent for some desperate glory,br
The old Lie: Dulce et decorum estbr
Pro patria mori./p
p
citeWilfred Owen/cite
/p
/blockquote

--
Australian Web Designer - http://www.blakehaswell.com/


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Christian Montoya

On 3/29/07, Jeremy Boggs [EMAIL PROTECTED] wrote:

Hello,

I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry? I haven't started doing markup yet, but if it would help
folks on the list, I could that and post the links.


If the visual formatting of the poem is important to you (say, visual
poems that have extra whitespace a the beginning or middle of lines)
then you will probably need to use the pre tag.

--
--
Christian Montoya
christianmontoya.net .. designtocss.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Tee G. Peng


On Mar 29, 2007, at 5:24 PM, Christian Montoya wrote:


On 3/29/07, Jeremy Boggs [EMAIL PROTECTED] wrote:

Hello,

I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry? I haven't started doing markup yet, but if it would help
folks on the list, I could that and post the links.


If the visual formatting of the poem is important to you (say, visual
poems that have extra whitespace a the beginning or middle of lines)
then you will probably need to use the pre tag.



Hi Jeremy, I was going to ask this question last week :), but decided  
to do a google search first... and ended in this article by Molly E.  
Holzschlag.


http://www.molly.com/2005/04/29/p-vs-pre/

No conclusive answer there however I decided to go with one of the  
comment left.


divbr/ 
br/ 

/div


Thanks for asking the question!

tee


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Markup for Poetry?

2007-03-29 Thread Philip Kiff
Jeremy Boggs wrote:
 Are there
 any discussions or examples on strategies for marking up and styling
 poetry?

I don't know of a set of guidelines for simple markup of poetry in X/HTML,
but you can find some discussions about it as well as some more involved
methods of marking up such texts through the Text Encoding Initiative
(TEI):
http://www.tei-c.org/

TEI uses SGML markup, which theoretically could then be run through a parser
to produce whatever flavour of X/HTML one wanted.  But because it requires
its own DTD or a server-side XSLT/translator of some sort, it is probably
not what you are looking for.  If you are really interested in poetry markup
however, they have done some fairly extensive thinking about it.

For e.g., check out

A Gentle Introduction to SGML:
http://xml.coverpages.org/gentle.html

or

TEI - 4 Encoding the Body - 4.3. Prose, Verse and Drama:
http://www.tei-c.org/Lite/U5-body.html#vedr

In actual practice, if you are just encoding a couple poems, then I think
that the simple use of either pre or p + br as suggested by others
makes more sense.

Phil.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Marghanita da Cruz

Tee G. Peng wrote:


On Mar 29, 2007, at 5:24 PM, Christian Montoya wrote:


On 3/29/07, Jeremy Boggs [EMAIL PROTECTED] wrote:


Hello,

I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry? I haven't started doing markup yet, but if it would help
folks on the list, I could that and post the links.



If the visual formatting of the poem is important to you (say, visual
poems that have extra whitespace a the beginning or middle of lines)
then you will probably need to use the pre tag.



Hi Jeremy, I was going to ask this question last week :), but decided  
to do a google search first... and ended in this article by Molly E.  
Holzschlag.


http://www.molly.com/2005/04/29/p-vs-pre/

No conclusive answer there however I decided to go with one of the  
comment left.


divbr/ 
br/ 

/div


Thanks for asking the question!

ditto,
some time ago, I came across the poems of Du Fu...
see
http://www.chinese-poems.com/due.html

Also check out
http://www.sonnets.org/shakespeare.htm#018
which uses dt - which I don't recognise.

Marghanita
--
Marghanita da Cruz
http://www.ramin.com.au/linux
Telephone: 0414-869202
Ramin Communications Pty Ltd
ABN: 027-089-713-084





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread David Hucklesby
On Thu, 29 Mar 2007 17:50:09 -0400, Jeremy Boggs wrote:
 Hello,

 I'm working on a website that contains a number of poems. Are there any 
 discussions or
 examples on strategies for marking up and styling poetry? I haven't started 
 doing
 markup yet, but if it would help folks on the list, I could that and post the 
 links.


Does this help? -

http://webtypography.net/Rhythm_and_Proportion/Blocks_and_Paragraphs/2.3.4/

Cordially,
David
--



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Joshua Street

On 3/30/07, Jeremy Boggs [EMAIL PROTECTED] wrote:

I'm working on a website that contains a number of poems. Are there
any discussions or examples on strategies for marking up and styling
poetry? I haven't started doing markup yet, but if it would help
folks on the list, I could that and post the links.


We discussed this sometime back in 2004, and I've got a bit of an
overview of everything that happened here:
http://josh.st/blog/2004/10/24/the-indentation-problem

My preferred solution to come out of it was:

p class=stanza
   spanLine 1br /
   Line 2/span
   spanLine 3br /
   Line 4/span
/p

There are a range of other possibilities listed on that page, also.

In most real-world practice, most websites use non-breaking spaces
extensively. This is, obviously, less than ideal in terms of unbloated
 semantic markup!

--
Joshua Street

http://josh.st/blog/
+61 (0) 425 808 469


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Markup for Poetry?

2007-03-29 Thread Kenny Graham

Are there any discussions or examples
on strategies for marking up and styling
poetry?


If you're simply looking for line breaks where they belong, use br/
[1]. If you're including poems where whitespace plays a bigger
role[2], use pre.

[1] until xhtml2, with its l element (which i reallly hope gets renamed)
[2] e.e cummings, dylan thomas, etc.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***