Puppet_Master
2010-Aug-19 07:12 UTC
[webgen-users] building basic site with internal links.
Hello I''m trying to build a basic website with internal links. I use webgen (0.5.14) with ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux] and I use webgen (0.5.14) with ruby 1.8.5 (2006-08-25) [x86_64-linux] this is my tree : |-- README |-- Rakefile |-- config.yaml |-- ext | `-- init.rb |-- out | |-- browserfix.css | |-- default.css | `-- index.html |-- src | |-- browserfix.css | |-- default.css | |-- default.template | |-- images | | |-- bodybg.gif | | `-- sidebarbg.gif | |-- index.page | `-- pages | `-- mypage.page `-- webgen.cache my index.page : --- title: Empty Index Page in_menu: true routed_title: New webgen Website --- ## Welcome to *webgen*! This is just a place holder for the start page for your new website! You can start by adjusting the meta information for this page file and adding some real content and then adding some more page files! For more information about webgen have a look at the [documentation]! and take a look to [mypage] ! [documentation]: http://webgen.rubyforge.org/documentation/index.html [mypage]: (/pages/mypage.html) my src/pages/mypage.page : --- title: My page --- ## Yo boy it''s my page And this is my error on running webgen -v -l 0 : Starting webgen... Updating tree... ...done in 0.0469 seconds Writing changed nodes... /index.en.html ...done in 0.0607 seconds Updating tree... ...done in 0.0085 seconds Writing changed nodes... /index.en.html ...done in 0.0189 seconds Finished Log messages: INFO -- Log messages for run 1 are following INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language ''en'' for </index.en.html> INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language ''en'' for </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag lang with data '''' and body '''' in </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data '' default.css'' and body '''' in </ default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data '' browserfix.css'' and body '''' in </ default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag title with data '''' and body '''' in </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag menu with data '' {max_levels: 1, used_nodes: files}'' and body '''' in </ default.template> ERROR -- Webgen::Tag::Relocatable#resolve_path: Could not resolve path ''(/pages/mypage.html)'' in </index.en.html> INFO -- Log messages for run 2 are following INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language ''en'' for </index.en.html> INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language ''en'' for </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag lang with data '''' and body '''' in </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data '' default.css'' and body '''' in </ default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data '' browserfix.css'' and body '''' in </ default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag title with data '''' and body '''' in </default.template> DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag menu with data '' {max_levels: 1, used_nodes: files}'' and body '''' in </ default.template> ERROR -- Webgen::Tag::Relocatable#resolve_path: Could not resolve path ''(/pages/mypage.html)'' in </index.en.html> Thanks for you help.
Thomas Leitner
2010-Aug-23 09:20 UTC
[webgen-users] building basic site with internal links.
On 2010-08-19 00:12 -0700 Puppet_Master wrote:> and take a look to [mypage] ! > > [documentation]: http://webgen.rubyforge.org/documentation/index.html > [mypage]: (/pages/mypage.html)You need to write: [mypage]: /pages/mypage.html Then it will work. -- Thomas
Puppet_Master
2010-Aug-24 08:12 UTC
[webgen-users] building basic site with internal links.
hello Thanks for you answer. I have exactly the same error with [mypage]: /pages/mypage.html I never saw on debug message when my "/pages" files are parsed is this normal ? Thanks for your help. -- Philippe Caseiro On 23 ao?t, 11:20, Thomas Leitner <t_leit... at gmx.at> wrote:> On 2010-08-19 00:12 -0700 Puppet_Master wrote: > > > and take a look to [mypage] ! > > > [documentation]:http://webgen.rubyforge.org/documentation/index.html > > [mypage]: (/pages/mypage.html) > > You need to write: > > ? ? [mypage]: /pages/mypage.html > > Then it will work. > > -- Thomas > _______________________________________________ > webgen-users mailing list > webgen-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/webgen-users
Puppet_Master
2010-Aug-24 08:30 UTC
[webgen-users] building basic site with internal links.
I don''t know if it helps but when a use this : webgen create -b default -b style-andreas04 mywebsite and I run webgen in mywebsite directory the provided website don''t show images and no images are copied to "out" directory. On 23 ao?t, 11:20, Thomas Leitner <t_leit... at gmx.at> wrote:> On 2010-08-19 00:12 -0700 Puppet_Master wrote: > > > and take a look to [mypage] ! > > > [documentation]:http://webgen.rubyforge.org/documentation/index.html > > [mypage]: (/pages/mypage.html) > > You need to write: > > ? ? [mypage]: /pages/mypage.html > > Then it will work. > > -- Thomas > _______________________________________________ > webgen-users mailing list > webgen-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/webgen-users