From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: generate some html from directory content Date: Fri, 21 Jan 2005 07:20:08 -0800 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106320975 22054 80.91.229.6 (21 Jan 2005 15:22:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2005 15:22:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 21 16:22:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cs0ca-000138-00 for ; Fri, 21 Jan 2005 16:22:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cs0oe-0002BM-Hg for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2005 10:35:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cs0nw-00025k-FU for help-gnu-emacs@gnu.org; Fri, 21 Jan 2005 10:34:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cs0nt-00024b-Fx for help-gnu-emacs@gnu.org; Fri, 21 Jan 2005 10:34:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cs0nt-00023F-9s for help-gnu-emacs@gnu.org; Fri, 21 Jan 2005 10:34:29 -0500 Original-Received: from [148.87.2.204] (helo=inet-mail4.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cs0a9-0004FA-Bw for help-gnu-emacs@gnu.org; Fri, 21 Jan 2005 10:20:17 -0500 Original-Received: from inet-mail4.oracle.com (localhost [127.0.0.1]) by inet-mail4.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0LFKErD020112; Fri, 21 Jan 2005 07:20:14 -0800 (PST) Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by inet-mail4.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0LFK9Aw020017; Fri, 21 Jan 2005 07:20:09 -0800 (PST) Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j0LFK8Sl026027; Fri, 21 Jan 2005 08:20:08 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-73-252.vpn.oracle.com [141.144.73.252]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j0LFK7QL026006 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 21 Jan 2005 08:20:08 -0700 Original-To: =?iso-8859-1?Q?S=E9bastien_Kirche?= , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23523 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23523 i am looking for an elisp package or routine that could help me to generate a list or a table of tags in a html file corresponding to the content of a directory. The directory consist mainly of elisp files with few binaries and pics. I would use such a helper to generate a index file of files and then to document that list. My library `mkhtml.el' (Make HTML) does just that. It uses Hrvoje Niksic's `htmlize.el', which creates HTML files from fontified buffers. `htmlize.el' does not create HTML links from Emacs links (mouse-2 in Dired, to open a file, for instance). `mkhtml.el' extends `htmlize.el' to recognize such Emacs mouse links and convert them to HTML links. That sounds like what you want to do, at least for a Dired buffer. The only problem is that I have not had a chance to update `mkhtml.el' in a number of years, and it will not work with the newer versions of `htmlize.el'. You will have to find an old version of `htmlize.el' (I don't know which one) to use with it. Also `mkhtml.el' works with Emacs 20; it has not been updated to work with Emacs 21. You can find `mkhtml.el' here: http://www.emacswiki.org/elisp/mkhtml.el. Perhaps you can find an old copy of `htmlize.el' or perhaps you can update `mkhtml.el' to work with a recent version (and with Emacs 21, if that's what you have). At the least, you may be able to create what you want using some of the `mkhtml.el' code as a guide. The Dired part of `mkhtml.el' is quite simple, if I remember right (the Info part is more complex - see P.S.). HTH, Drew P.S. `mkhtml.el' also does the same thing for Info buffers: It creates an HTML page or set of HTML pages that correspond to Info buffers, complete with hypertext links. You can also ask it to merge a set of Info nodes together, to put them on the same Info page.