Subject:
|
Re: FAQ data format possibilities
|
Newsgroups:
|
lugnet.faq
|
Date:
|
Fri, 23 Apr 1999 21:27:33 GMT
|
Viewed:
|
1754 times
|
| |
| |
In lugnet.faq, lehman@javanet.com (Todd Lehman) writes:
> [...]
> If HTML is allowed in the core content, then I think it ought to be highly
> restrictive HTML, with strict usage rules. For example, no frames, no
> tables, no JavaScript, no embedded images, no centering, no forms, etc.:
> basically nothing that can't be easily converted to plain ASCII. Just the
> basic necessities: paragraphs, italics (for names/citations), boldface (so
> long as it's not abused), preformatted text, and of course hyperlinks.
>
> I have routines to convert HTML entities like ü and ® to ISO-8859-1
> ASCII and back, and a routine to line-wrap arbitrary paragraphs of text, so
> handling <P>, <I>, <B>, <PRE>, and <A> would be pretty straightforward.
> [...]
Whoops, I forgot to list <UL>/<OL>/<LI> and <DL>/<DT>/<DD> -- gotta have
those!
Now this is getting into nesting... :) There are some good Perl5 modules
that already exist for doing all of this (the HTML->text conversion, not the
FAQing).
--Todd
|
|
Message is in Reply To:
| | FAQ data format possibilities
|
| (...) Separate files would make it even easier to parse. Also easier for editing, maintenance, and division of labor. Plenty simple to organize the individual translations using ISO 639 suffixes too, just like webpages, because then you can 'grep' (...) (26 years ago, 23-Apr-99, to lugnet.faq)
|
19 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|