Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Yves Lefebvre
RE: renaming file [ reply ]  
2012-01-23 01:54
Thanks Thomas,

I put the output_path_style in my .page file and that did the trick. I had previously tried in the metainfo file, but I probably type something wrong at that time.

Yves

By: Thomas Leitner
RE: renaming file [ reply ]  
2012-01-16 15:44
Just use the meta information key output_path_style (see http://webgen.rubyforge.org/documentation/reference_metainfo.html#outputpathstyle). With this you can set any output name you like.

Also see http://webgen.rubyforge.org/documentation/manual.html#source-output

By: Yves Lefebvre
renaming file [ reply ]  
2012-01-15 16:54
Hi,

I am in the process of re-creating the webgen source of my website from scratch : Last year, someone break into my house and steal my work computer and my old crappy laptop I used for backup!

This time I use webgen 0.5 instead of 0.4. I almost got everything back on track except I am not able to find how to change the output filename of specific files. For example :

What I have in my source :

dir1/index.page
dir1/index.fr.page

What I want in output:

dir1/english_page.html
dir1/page_francais.html

I got how to remap the menu index name via the metainfo. I just can't find how to change the filename.

Btw : I can't simply change the source file name to reflect what I need in the output : Since the 2 pages reflect the same content in different langage, webgen won't know they are related if I change the .page name.