On 20 Jul 2000, Grant Bowman wrote:
> How about a "sed" script that will change any <p> to include information
> such as the "little purple numbers" and a silent # anchor in html. I
> know it's actually not quite that simple.
> If I have this script I can plug it into a proxy server and boom,
> instant demo.
I think that would be great. Doing it in sed would be challenging
(perhaps impossible), because you would have to determine the position of
each paragraph in the document's hierarchy in order to come up with the
proper numbers. But it could easily be done in other languages.
I think a more worthwhile project would be to develop a very small XML
DTD, perhaps a subset of XHTML or DocBook, specifically for writing
documents that we plan on posting on the bootstrap.org web site. You
could then write a program to add the purple numbers. From my perspective
as an XML novice, it would be more interesting to do the conversion by
writing an XSL stylesheet that creates HTML output with the purpose
numbers, just to see what the corresponding XSL would look like.
What makes this an even more worthwhile, small project, is that we can
bootstrap on top of it, taking advantage of the knowledge gained from
developing this, and possibly even incorporating code into the OHS.
-- +=== Eugene Eric Kim ===== email@example.com ===== http://www.eekim.com/ ===+ | "Writer's block is a fancy term made up by whiners so they | +===== can have an excuse to drink alcohol." --Steve Martin ===========+
This archive was generated by hypermail 2.0.0 : Tue Aug 21 2001 - 17:57:47 PDT