nxhtml team mailing list archive
-
nxhtml team
-
Mailing list archive
-
Message #00260
Re: [Question #123977]: How do I define a site ?
Question #123977 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/123977
Status: Needs information => Solved
Alexandre René confirmed that the question is solved:
Ok, so I removed (require 'html-toc) from .emacs; the relevant lines now
look like this :
;;nXhtml
(load "~/.emacs.d/nxhtml/autostart.el")
(require 'html-site)
With the working custom interface, I tried defining a site list with only the following variables:
Site name
Site root directory
Ftp host address
Ftp user
Ftp password
Ftp directory root
and now it seems valid. So it seems whatever I was putting as the Web host address or Web directory root was making it balk. Now I've got basic functionality working, although it seems some of the ftp settings need some tinkering because my first attempt at uploading didn't work well. So my main problem is solved. I still have a couple questions though :
- What exactly is expected for the three last options (Web host address, Web directory root, Web directory root for pages with TOC) ?
- What is the effect of the different variables related to TOC and frames, and how is the resulting site built.
Finally, I have only one actual problem left. My site definiton works,
and I can correctly search for files on my site. However, the available
files are only those that are "0 or 1 level down". In other words, if my
root directory is "~/site", then the files "~/site/index.html" and
"~/site/en/welcome.html" are considered part of the site, but
"~/site/files/images/welcome.gif" is not. Is there a way for sites to
include files of an arbitrary depth ?
Note : Although I can't yet access the full possibilities of the site
feature, my basic problem is solved, so I'm marking the issue as such.
--
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.