
If I remember correctly, someone was creating PG texts using CSS and XHTML, but I don't remember who it was. I would like to see an example that uses these technologies. The W3.org website has all of the information, but sometimes it's like trying to find a needle in a haystack to find the answer to a specific question. If someone could provide the name of the poster or an e-book number, that would be very helpful. Thank you.

On 10/1/06, John Hagerson <j.hagerson@comcast.net> wrote:
If I remember correctly, someone was creating PG texts using CSS and XHTML, but I don't remember who it was. I would like to see an example that uses these technologies. The W3.org website has all of the information, but sometimes it's like trying to find a needle in a haystack to find the answer to a specific question.
If someone could provide the name of the poster or an e-book number, that would be very helpful. Thank you.
Many of the books processed by the DP site in the last few years have had an XHTML version created. We even have very rough guidelines for the marking up of things like poetry and page numbers, although there's a lot of variation between individual projects. 'Uberprojects' like periodicals often have a style-guide which is followed by almost all the posted issues. You could take a look at individual issues to see which styles you like (or dislike). Here's a random Punch issue: http://www.gutenberg.org/etext/17397 And a random Scientific American issue: http://www.gutenberg.org/etext/11649 Everyone will have their favourite example of HTML/XHTML texts on PG. Personally I've been very impressed with some of the work that people have done on books I've scanned (which for some reason means that my name goes on the PG 'Produced by' line before them, which isn't a particularly fair reflection on the amount of work put in). Take a look for example at Tintinnalogia, or, the Art of Ringing, by Fabian Stedman http://www.gutenberg.org/etext/18567 Amusements in Mathematics, by Henry Dudeney http://www.gutenberg.org/etext/16713 The Tatler, Volume 1, by Richard Steele et al., ed. George Aitken http://www.gutenberg.org/etext/13645 If you give more information about what particularly you're looking for, I might be able to be a bit more selective rather than throwing out random links to books I like! -- Jon Ingram

Also, you might want to check out the experiences of DP volunteers in preparing html. I believe the general consesus has been that there is enough variation of needs between different projects, that trying to define one strict standard does not work. But some general guidelines have emerged. Start at the page: http://www.pgdp.net/wiki/HTML That includes a link to a "CSS bookbook" that you might find to be of interest. Andrew On Sun, 1 Oct 2006, Jon Ingram wrote:
On 10/1/06, John Hagerson <j.hagerson@comcast.net> wrote:
If I remember correctly, someone was creating PG texts using CSS and XHTML, but I don't remember who it was. I would like to see an example that uses these technologies. The W3.org website has all of the information, but sometimes it's like trying to find a needle in a haystack to find the answer to a specific question.
If someone could provide the name of the poster or an e-book number, that would be very helpful. Thank you.
Many of the books processed by the DP site in the last few years have had an XHTML version created. We even have very rough guidelines for the marking up of things like poetry and page numbers, although there's a lot of variation between individual projects.
'Uberprojects' like periodicals often have a style-guide which is followed by almost all the posted issues. You could take a look at individual issues to see which styles you like (or dislike). Here's a random Punch issue: http://www.gutenberg.org/etext/17397 And a random Scientific American issue: http://www.gutenberg.org/etext/11649
Everyone will have their favourite example of HTML/XHTML texts on PG. Personally I've been very impressed with some of the work that people have done on books I've scanned (which for some reason means that my name goes on the PG 'Produced by' line before them, which isn't a particularly fair reflection on the amount of work put in). Take a look for example at
Tintinnalogia, or, the Art of Ringing, by Fabian Stedman http://www.gutenberg.org/etext/18567
Amusements in Mathematics, by Henry Dudeney http://www.gutenberg.org/etext/16713
The Tatler, Volume 1, by Richard Steele et al., ed. George Aitken http://www.gutenberg.org/etext/13645
If you give more information about what particularly you're looking for, I might be able to be a bit more selective rather than throwing out random links to books I like!

Thank you very much Jon and Andrew. Between the samples listed, the cookbook, and the other resources noted on the PG wiki, I think I will be able to mark up the text I'm working on. I need to think more of semantic tags rather than presentation tags. There is a gestalt to this that I haven't quite mastered.

John Hagerson wrote:
Thank you very much Jon and Andrew. Between the samples listed, the cookbook, and the other resources noted on the PG wiki, I think I will be able to mark up the text I'm working on. I need to think more of semantic tags rather than presentation tags. There is a gestalt to this that I haven't quite mastered.
Glad to have been of help. My call for alternate style sheets for my version of "My Antonia" is possible only because the markup is strictly structural/semantic. Had I done old-fashioned HTML markup (where I mix in presentational tags along with the structural/semantic tags), it is no longer possible to have the flexibility of presentation. (It's also important NOT to use tables for layout purposes.) An interesting site which demonstrates the full power of CSS and the separation of presentation from structure is the CSS Zen Garden site: http://www.csszengarden.com/ where the same XHTML 1.0 Strict document (well essentially the same with respect to structural/semantic markup) is presented in hundreds of different ways solely by swapping the CSS style sheet (background images are also customized and applied using CSS). It's amazing what can be done with CSS applied to purely structural/semantic markup. Another important aspect of having structural/semantic-only markup is accessibility. Such documents have a high degree of accessibility (again, it is important NOT to use table markup for layout purposes if one wants maximal accessibility -- CSS Zen Garden shows that tables are not necessary for complex layouts.) A while back I did some XHTML markup on the "We Media" document for JD Lasica and the OurMedia project. I asked the CSS authoring community for alternate CSS style sheets for that document. Two people supplied CSS: http://www.openreader.org/wemedia/ (I like Bob's a little better. Note how readable the document is even without CSS, which is accomplished by proper XHTML markup.) Jon Noring

John Hagerson wrote:
If I remember correctly, someone was creating PG texts using CSS and XHTML, but I don't remember who it was. I would like to see an example that uses these technologies. The W3.org website has all of the information, but sometimes it's like trying to find a needle in a haystack to find the answer to a specific question.
If someone could provide the name of the poster or an e-book number, that would be very helpful. Thank you.
I've placed online the book "My Antonia" by Willa Cather. It is valid to XHTML 1.1 with three different CSS style sheet options (and a version with no style sheet applied -- only browser defaults used): http://www.openreader.org/myantonia Jose Menendez has an HTML 4.01 version of the same book (and my version essentially relied on his for final proofing to catch the last remaining transcription errors) with an internal CSS style sheet: http://www.ibiblio.org/ebooks/Cather/ (I'm not sure, but Jose may have donated his text version to PG. Our versions differ in that mine is faithful to the original 1918 edition including some text errors found in the original printing -- Jose's is a corrected "reader" edition. But my edition does include markup to flag the text errors and provide what the correct text should be per Jose's corrections, plus a few listed at the UNL Cather site.) ***** Now, my text layout skills are downright pitiful, and anyone wishing to submit alternative CSS style sheets for my version of "My Antonia" is welcome to do so -- the more the merrier (every person submitting CSS will be acknowledged.) I believe the markup has sufficient structural and semantic granularity to do some pretty advanced CSS presentation. Jon Noring
participants (4)
-
Andrew Sly
-
John Hagerson
-
Jon Ingram
-
Jon Noring