[<<] [<] Page 1 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Docbook and FAQs
From: Owen ####@####.#### Date: 9 Sep 2003 08:14:39 -0000 Message-Id: <20030909171933.39847a01.rcook@pcug.org.au> I need to write a FAQ(->html) and wonder if Docbook is the way to go. Can anyone point to an FAQ that started out as an xml/Docbook document? Owen -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: SAQIB ####@####.#### Date: 9 Sep 2003 13:34:18 -0000 Message-Id: <Pine.GSO.4.55.0309090620090.5247@sjgcs1.stsj.seagate.com> Owen, I use DocBook/XML to create our internal IT FAQs. The FAQs are served by Tomcat+Cocoon, and stored in a Xindice DB. Here is an e.g http://www.xml-dev.com:8080/cocoon/mount/docbook/linux-faq.html http://www.xml-dev.com/xml/linux-faq.xml In Peace Saqib Ali --------- http://www.xml-dev.com On Tue, 9 Sep 2003, Owen wrote: > I need to write a FAQ(->html) and wonder if Docbook is the way to go. > > Can anyone point to an FAQ that started out as an xml/Docbook document? > > > Owen > > -- > > ______________________ > http://lists.tldp.org/ > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: Dan Richter ####@####.#### Date: 9 Sep 2003 19:23:07 -0000 Message-Id: <5.1.0.14.1.20030909181915.02e2c128@mail.wimba.com> >I need to write a FAQ(->html) and wonder if Docbook is the way to go. We can't answer that question for you. Only you can. But here are some questions to consider. How big do you expect the FAQ to get? A small FAQ can easily be maintained in HTML (and it's easy to make it look pretty, especially using CSS). In a large FAQ, it's hard to check all the links, so DocBook's automatic link generation and checking are welcome. Remember: DocBook = big. Do you expect to merge this FAQ into another document? If so, DocBook is a good choice because it's easy to merge multiple DocBook documents. (Of course, a FAQ in HTML can simply be linked to.) By the way, if you write the FAQ in DocBook, I can show you how to write a stylesheet for it in CSS, which is easier to learn than DSSSL. Note that the CSS stylesheet won't generate the HTML for you, but the HTML document can be generated in such a way that it refers to the CSS stylesheet. >Can anyone point to an FAQ that started out as an xml/Docbook document? My company maintains several FAQs in DocBook, but each is part of a larger document (which is itself written in DocBook). ========== Dan Richter ============== ####@####.#### =========== BOOT MAGAZINE: Do you consider yourself a celebrity? LINUS TORVALDS: Sometimes. ... But at the same time I don't have young girls coming and screaming at me and throwing their underwear! Which is just as well, as I'm a married man! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: Tabatha Marshall ####@####.#### Date: 9 Sep 2003 19:43:13 -0000 Message-Id: <1063137123.6583.3.camel@mysticchild> The LDP FAQ was written in originally DocBook XML (I helped the author convert it from plain text). The link to the html is http://www.tldp.org/FAQ/LDP-FAQ/index.html, and you should be able to get the source in CVS if you're interested in the appearance of the markup. Hope that helps! Tabatha On Tue, 2003-09-09 at 00:19, Owen wrote: > I need to write a FAQ(->html) and wonder if Docbook is the way to go. > > Can anyone point to an FAQ that started out as an xml/Docbook document? > > > Owen -- Tabatha Marshall Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: Owen ####@####.#### Date: 11 Sep 2003 10:05:34 -0000 Message-Id: <20030911200651.570b8822.rcook@pcug.org.au> On Tue, 9 Sep 2003 17:19:33 +1000 Owen ####@####.#### wrote: > I need to write a FAQ(->html) and wonder if Docbook is the way to go. > > Can anyone point to an FAQ that started out as an xml/Docbook document? Thanks to all of you who replied. I realise that if it were a small FAQ, just plain old html would do, but sitting on a help desk will see this faq expand and docbook seems to be the simplest solution. Being new to docbook, the sample docbook FAQs that you pointed out were a great help in getting started. Thank you Owen | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: Togan Muftuoglu ####@####.#### Date: 11 Sep 2003 10:26:57 -0000 Message-Id: <20030911102657.GE1716@dinamizm.com> * Owen; ####@####.#### on 09 Sep, 2003 wrote: >I need to write a FAQ(->html) and wonder if Docbook is the way to go. > >Can anyone point to an FAQ that started out as an xml/Docbook document? > http://susefaq.sf.net is done with Docbook -- Togan Muftuoglu | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Docbook and FAQs
From: Gavin Henry ####@####.#### Date: 11 Sep 2003 10:41:32 -0000 Message-Id: <20030911114100.1b6851a7.gavin.henry@magicfx.co.uk> On Thu, 11 Sep 2003 13:26:57 +0300 Togan Muftuoglu ####@####.#### wrote: > * Owen; ####@####.#### on 09 Sep, 2003 wrote: > >I need to write a FAQ(->html) and wonder if Docbook is the way to go. > > > >Can anyone point to an FAQ that started out as an xml/Docbook document? > > > > http://susefaq.sf.net is done with Docbook Any chance of a cpoy of the source to help me get to grips with docbook?? I like working from examples. -- Regards, Gavin Henry. Trying to be a RHCE..... http://www.magicfx.co.uk --> --> |
<type 'exceptions.IOError'> | Python 2.5.2: /usr/bin/python Wed Jul 3 18:06:46 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/opt/ezmlm-browse-0.20/<string> in |
/opt/ezmlm-browse-0.20/main.py in main() |
424 |
425 if path is not None: |
426 main_path(path) |
427 else: |
428 main_form() |
global main_form = <function main_form at 0x855bc6c> |
/opt/ezmlm-browse-0.20/main.py in main_form() |
378 except ImportError: |
379 die(ctxt, "Invalid command") |
380 module.do(ctxt) |
381 |
382 def main(): |
module = <module 'commands.showthread' from '/opt/ezmlm-browse-0.20/commands/showthread.pyc'>, module.do = <function do at 0x856587c>, global ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'} |
/opt/ezmlm-browse-0.20/commands/showthread.py in do(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}) |
9 ctxt.update(ezmlm.thread(ctxt[THREADID])) |
10 header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread') |
11 do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES], |
12 lambda:sub_showmsg(ctxt, ctxt[MSGNUM])) |
13 footer(ctxt) |
global sub_showmsg = <function sub_showmsg at 0x855b1ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum' |
/opt/ezmlm-browse-0.20/globalfns.py in do_list(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, name='msgs', perpage=10, values=[{'author': u'Owen', 'authorid': 'jhcndmenhemandckabbj', 'date': '9 Sep 2003 08:14:39 -0000', 'month': 200309, 'msgnum': 4981, 'subject': u'Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063095279.0}, {'author': u'SAQIB', 'authorid': 'icjmgahabpdlipbhobhb', 'date': '9 Sep 2003 13:34:18 -0000', 'month': 200309, 'msgnum': 4983, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063114458.0}, {'author': u'Dan Richter', 'authorid': 'cbdbmddbghmoeannpgib', 'date': '9 Sep 2003 19:23:07 -0000', 'month': 200309, 'msgnum': 4984, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063135387.0}, {'author': u'Tabatha Marshall', 'authorid': 'pjodbfhkoeponcdaajjl', 'date': '9 Sep 2003 19:43:13 -0000', 'month': 200309, 'msgnum': 4985, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063136593.0}, {'author': u'Owen', 'authorid': 'jhcndmenhemandckabbj', 'date': '11 Sep 2003 10:05:34 -0000', 'month': 200309, 'msgnum': 4991, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063274734.0}, {'author': u'Togan Muftuoglu', 'authorid': 'meceoekneaiginhclaog', 'date': '11 Sep 2003 10:26:57 -0000', 'month': 200309, 'msgnum': 4992, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063276017.0}, {'author': u'Gavin Henry', 'authorid': 'gjjapfjmjmehogjgjhna', 'date': '11 Sep 2003 10:41:32 -0000', 'month': 200309, 'msgnum': 4993, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063276892.0}, {'author': u'Togan Muftuoglu', 'authorid': 'meceoekneaiginhclaog', 'date': '11 Sep 2003 10:55:33 -0000', 'month': 200309, 'msgnum': 4994, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063277733.0}, {'author': u'Gavin Henry', 'authorid': 'gjjapfjmjmehogjgjhna', 'date': '11 Sep 2003 11:12:08 -0000', 'month': 200309, 'msgnum': 4995, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063278728.0}, {'author': u'Togan Muftuoglu', 'authorid': 'meceoekneaiginhclaog', 'date': '11 Sep 2003 11:17:25 -0000', 'month': 200309, 'msgnum': 4996, 'subject': u'Re: Docbook and FAQs', 'threadid': 'keeeomkcojgooaeibphi', 'timestamp': 1063279045.0}], peritem=<function <lambda> at 0x8565a04>) |
128 write(template % ctxt) |
129 if peritem: |
130 peritem() |
131 ctxt[ROW] += 1 |
132 |
peritem = <function <lambda> at 0x8565a04> |
/opt/ezmlm-browse-0.20/commands/showthread.py in |
9 ctxt.update(ezmlm.thread(ctxt[THREADID])) |
10 header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread') |
11 do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES], |
12 lambda:sub_showmsg(ctxt, ctxt[MSGNUM])) |
13 footer(ctxt) |
global sub_showmsg = <function sub_showmsg at 0x855b1ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum' |
/opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=4993) |
229 format_timestamp(ctxt, ctxt) |
230 write(html('msg-header') % ctxt) |
231 rec_showpart(ctxt, msg, 0) |
232 write(html('msg-footer') % ctxt) |
233 ctxt.pop() |
global rec_showpart = <function rec_showpart at 0x855b1b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msg = <email.message.Message instance at 0x85bf06c> |
/opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x85bf06c>, partnum=1) |
205 else: |
206 for p in part.get_payload(): |
207 partnum = rec_showpart(ctxt, p, partnum+1) |
208 else: |
209 write(html('msg-sep') % ctxt) |
partnum = 1, global rec_showpart = <function rec_showpart at 0x855b1b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, p = <email.message.Message instance at 0x85bf48c> |
/opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x85bf48c>, partnum=2) |
208 else: |
209 write(html('msg-sep') % ctxt) |
210 sub_showpart(ctxt, part) |
211 return partnum |
212 |
global sub_showpart = <function sub_showpart at 0x855b144>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part = <email.message.Message instance at 0x85bf48c> |
/opt/ezmlm-browse-0.20/globalfns.py in sub_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x85bf48c>) |
164 type = ctxt[TYPE] = part.get_content_type() |
165 ctxt[FILENAME] = part.get_filename() |
166 template = html('msg-' + type.replace('/', '-')) |
167 if not template: |
168 template = html('msg-' + type[:type.find('/')]) |
global template = <function template at 0x8553e9c>, global html = <function html at 0x8553ed4>, type = 'application/pgp-signature', type.replace = <built-in method replace of str object at 0x85bdf38> |
/opt/ezmlm-browse-0.20/globalfns.py in html(name='msg-application-pgp-signature') |
40 |
41 def html(name): |
42 return template(name + '.html') |
43 |
44 def xml(name): |
global template = <function template at 0x8553e9c>, name = 'msg-application-pgp-signature' |
/opt/ezmlm-browse-0.20/globalfns.py in template(filename='msg-application-pgp-signature.html') |
31 except IOError: |
32 if not _template_zipfile: |
33 _template_zipfile = zipfile.ZipFile(sys.argv[0]) |
34 try: |
35 f = _template_zipfile.open(n).read() |
global _template_zipfile = None, global zipfile = <module 'zipfile' from '/usr/lib/python2.5/zipfile.pyc'>, zipfile.ZipFile = <class zipfile.ZipFile at 0x84eca7c>, global sys = <module 'sys' (built-in)>, sys.argv = ['-c', '/opt/ezmlm-browse-0.20'] |
/usr/lib/python2.5/zipfile.py in __init__(self=<zipfile.ZipFile instance at 0x85b8f2c>, file='-c', mode='r', compression=0, allowZip64=False) |
337 self.filename = file |
338 modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'} |
339 self.fp = open(file, modeDict[mode]) |
340 else: |
341 self._filePassed = 1 |
self = <zipfile.ZipFile instance at 0x85b8f2c>, self.fp = None, builtin open = <built-in function open>, file = '-c', modeDict = {'a': 'r+b', 'r': 'rb', 'w': 'wb'}, mode = 'r' |
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '-c'
args =
(2, 'No such file or directory')
errno =
2
filename =
'-c'
message =
''
strerror =
'No such file or directory'