From Jean-Baptiste.Yunes at liafa.jussieu.fr Sun Mar 20 04:53:42 2011 From: Jean-Baptiste.Yunes at liafa.jussieu.fr (=?iso-8859-1?Q?Jean-Baptiste_Yun=E8s?=) Date: Sun, 20 Mar 2011 09:53:42 +0100 Subject: [webgen-users] menu: and menuStyle: Message-ID: Hi, I am new to webgen and trying to do different many things with it. At this moment, I am very satisfied with it! Here is my stupid problem : I want to generate an horizontal menu. Ok generating a simple menu is easy {menu:}. In the doc I found that there is a plugin (menuStyle) for that, but how to install that plugin ? I been unable to find information on this procedure ? I also tried to install the local documentation "rake htmldoc" but it also failed. Why ? Best regards, JB -- M. Jean-Baptiste Yun?s http://www.liafa.jussieu.fr/~yunes/ From Jean-Baptiste.Yunes at liafa.jussieu.fr Sun Mar 20 10:38:23 2011 From: Jean-Baptiste.Yunes at liafa.jussieu.fr (=?iso-8859-1?Q?Jean-Baptiste_Yun=E8s?=) Date: Sun, 20 Mar 2011 15:38:23 +0100 Subject: [webgen-users] Fwd: links to external but same server resources References: Message-ID: > Hi, > > Again, I am unable to handle a simple task. I want to integrate my new webgen website into an existing website. I also want to refer from the webgen site some ressources that reside in the existing old website. How must do I ? Of course, I don't want to use absolute http://.../ links, but some relative naming such as > [MYOLDDIR](/mydir) > As /mydir doesn't exists in the sources of my new website, webgen complains and sets a "empty" link. > > Best regards, JB -- M. Jean-Baptiste Yun?s http://www.liafa.jussieu.fr/~yunes/ From t_leitner at gmx.at Mon Mar 21 10:57:26 2011 From: t_leitner at gmx.at (Thomas Leitner) Date: Mon, 21 Mar 2011 15:57:26 +0100 Subject: [webgen-users] Fwd: links to external but same server resources In-Reply-To: References: Message-ID: <20110321155726.3950f207@noweto> On 2011-03-20 15:38 +0100 Jean-Baptiste Yun?s wrote: > > Again, I am unable to handle a simple task. I want to integrate my > > new webgen website into an existing website. I also want to refer > > from the webgen site some ressources that reside in the existing > > old website. How must do I ? Of course, I don't want to use > > absolute http://.../ links, but some relative naming such as > > [MYOLDDIR](/mydir) As /mydir doesn't exists in the sources of my > > new website, webgen complains and sets a "empty" link. Have a look at the documentation of the "virtual" source handler (http://webgen.rubyforge.org/documentation/sourcehandler/virtual.html) -- Thomas From t_leitner at gmx.at Mon Mar 21 11:02:01 2011 From: t_leitner at gmx.at (Thomas Leitner) Date: Mon, 21 Mar 2011 16:02:01 +0100 Subject: [webgen-users] menu: and menuStyle: In-Reply-To: References: Message-ID: <20110321160201.3f47ed23@noweto> On 2011-03-20 09:53 +0100 Jean-Baptiste Yun?s wrote: > Hi, > > I am new to webgen and trying to do different many things with it. At > this moment, I am very satisfied with it! Here is my stupid problem : > I want to generate an horizontal menu. Ok generating a simple menu is > easy {menu:}. In the doc I found that there is a plugin (menuStyle) > for that, but how to install that plugin ? I been unable to find > information on this procedure ? Have a look at the documentation for the menu tag (http://webgen.rubyforge.org/documentation/tag/menu.html) and for the configuration option `tag.menu.nested` http://webgen.rubyforge.org/documentation/reference_configuration.html#tagmenunested > I also tried to install the local documentation "rake htmldoc" but it > also failed. Why ? Generating the local documentation requires several dependencies to be installed because webgen's own documentation is a rather complex webgen website. It is generally easier to go to http://webgen.rubyforge.org/documentation/ since this is where the resulting documentation gets transferred to. -- Thomas From Jean-Baptiste.Yunes at liafa.jussieu.fr Thu Mar 24 18:13:32 2011 From: Jean-Baptiste.Yunes at liafa.jussieu.fr (=?iso-8859-1?Q?Jean-Baptiste_Yun=E8s?=) Date: Thu, 24 Mar 2011 23:13:32 +0100 Subject: [webgen-users] question again Message-ID: Hi, Please let me state my question again as I am unable to do what I want relatively to virtual paths. I want to use existing files and directory in my website and build some pages with webgen which must have links to the old data. For example: old site something like this public_html/ index.html files/ dir1/ f1.pdf dir2/ p1.pdf etc. The webgen part of my site will be generated in the following path public_html/newsite Now in my source I tried to reference the files but it doesn't work. I must have a relative path generated... src/ index.page dir/ subdir/ some.page Now in some.page I want to introduce a RELATIVE link such that the generated file public_html/newsite/dir/subdir/some.html will links to, say, public_html/files/dir1/f1.pdf I tried to use a virtual file, but it doesn't let me use a relative path. If I use ../ as a prefix, it is removed. if I use a / then the path is relative to the root of the new site (i.e. public_html/newsite). How can I introduce a 'verbatim' link ? I don't want it to be interpreted by webgen. Best regards, JB -- M. Jean-Baptiste Yun?s http://www.liafa.jussieu.fr/~yunes/