Thanks a lot. It worked now.
Just one last question. I used to have this extension that provided me the last time the node files were updated:
«
# = webgen extensions directory
#
# All init.rb files anywhere under this directory get automatically loaded on a webgen run. This
# allows you to add your own extensions to webgen or to modify webgen's core!
#
# If you don't need this feature you can savely delete this file and the directory in which it is!
#
# The +config+ variable below can be used to access the Webgen::Configuration object for the current
# website.
config = Webgen::WebsiteAccess.website.config
config['contentprocessor.tags.map']['filemdate'] = 'FileMDateTag'
class FileMDateTag #< Tags::DefaultTag
include Webgen::Tag::Base
#infos( :name => 'Tag/FileMDate',
# :summary =>
# "Prints out the date of last modification of the current file")
#register_tag 'filemdate'
#param 'format', '%d/%m/%Y %H:%M', 'The format of the date (same options as Time#strftime).'
def call(tag, body, context)
return File.mtime( 'src' + context.content_node.node_info[:src]).strftime('%b %-d, %Y')
end
end