Part of the work I am doing with The Perl Review involves transforming some of the past articles to HTML. I want to let people apply their own style sheets to it: at some point, readers will be able to set a cookie that a script uses to figure out where the style should come from.
I have a hand crafted (converted from the original TeX source, internal references still broken) example: http://www.theperlreview.com/rss.html
Play with it if you like, and tell me how to make it easier to do whatever you want to do to make it work with style sheet you want to use.
Re:Working in one...
ambs on 2004-05-22T12:32:18
Forgot that HTML tags can be problematic.
I mean you should use <span class="term"> instead of <font class="term">Re:Working in one...
vsergu on 2004-05-22T13:45:38
I agree thatfont
is silly, but I wouldn't usespan
unless there's no semantically appropriate tag. Whenever possible, it's good to have markup that provides a fallback presentation even without the stylesheet. Thespan
tag should be a last resort. How about<dfn class="term">
or<em class="term">
? And surely<font class="code">
should be<code>
.Re:Working in one... check it here
ambs on 2004-05-22T12:48:05
This classic format tries to be like the scientific papers on international conferences. I would like to add some more style, but for that I need xhtml instead of html.
Inserted directly the CSS in the head of the document for simplicity. Of course it can then be extracted for a separate file.
Re:xhtml vs html
brian_d_foy on 2004-05-22T13:29:18
Just about anything is possible. The HTML is a quick hack job. I wanted to get it done today, but Shrek 2 had to be seen. I figured I'd let people throw tomatoes at it until I could get back to it.
I'll turn everything into XTML on the next pass.