unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: generate some html from directory content
Date: Fri, 21 Jan 2005 07:20:08 -0800	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBCEEPCLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <m2brbjks3m.fsf@seki.fr>

    i am looking for an elisp package  or routine that could help
    me to generate
    a list or a table of <a> 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.

  parent reply	other threads:[~2005-01-21 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 10:13 generate some html from directory content Sébastien Kirche
2005-01-21 10:44 ` Matthew Huggett
2005-01-21 15:20 ` Drew Adams [this message]
     [not found] <mailman.14439.1106321685.27204.help-gnu-emacs@gnu.org>
2005-01-21 16:19 ` Sébastien Kirche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FDELKNEBLPKKDCEBEJCBCEEPCLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).