Hi everybody, since webgen 0.5.0 is now out of the door, the focus lies on 0.5.1 and its new features. Planned release date for this release will be end of July. I think I will start with the easier ones that many people will want to use again: * all missing content processors * the following tags: breadcrumbtrail, langbar, highlight, includefile, executecmd * add missing documentation for content processors, source handlers, tags, ... If you need a particular feature in the next release, please write a mail to this ML! Side note: Since I''m on a vacation from 12.7 till 20.7 no webgen development will be done during this time. Cheers, Thomas
> I think I will start with the easier ones that many people will want > to use again: > * all missing content processors > * the following tags: breadcrumbtrail, langbar, highlight, > includefile, executecmd > * add missing documentation for content processors, source handlers, > tags, ...All the features above are now implemented and in the git repos on Rubyforge and github. I will make the release on 30.7 or 31.7. Till then I will add some more features if I have time. Does anyone want a particular feature implemented in this release? -- Thomas
Hi, Thomas, Actually I''m not sure that this is a feature, maybe it''s just a newbie question, but: 1. In older webgen release it was clear for me how to copy files - *.doc, *xls -- I don''t know (just lazy to look at the source) how to specify, that webgen should copy all *.xls and *.doc files. That''s why I''m editing default config file - from webgen source for fixing it for me. 2. After 0.5 release I started to port my site, but it fails immediately with Maruku specific errors. I''m using textile. That''s why I also specified redcloth in the webgen default config file(source). Please, point me how I can avoid this ugly methods, and just use config.yml Thanks, Sincerely, Igor
Hi Igor,> 1. In older webgen release it was clear for me how to copy files - > *.doc, *xls > -- I don''t know (just lazy to look at the source) how to specify, > that webgen should copy all *.xls and *.doc files. > That''s why I''m editing default config file - from webgen > source for fixing it for me.You need to adjust the path pattern for Webgen::SourceHandler::Copy. This can be done using the ext/init.rb file: Webgen::WebsiteAccess.website.config[''sourcehandler.patterns''][''Webgen::SourceHandler::Copy'']+= [''**/*.doc'', ''**/*.xls''] You could also set this using the config.yaml file but by using ext/init.rb you can more precisely specify/change the configuration values.> 2. After 0.5 release I started to port my site, but it fails > immediately with Maruku specific errors. > I''m using textile. That''s why I also specified redcloth in the > webgen default config file(source).This could be done in ext/init.rb as well, like this: Webgen::WebsiteAccess.website.config[''sourcehandler.default_meta_info''][''Webgen::SourceHandler::Page''][''blocks''][''default''][''pipeline''] = ''erb,tags,redcloth,blocks'' or you can set this in your config.yaml file: default_meta_info: Webgen::SourceHandler::Page: blocks: default: pipeline: erb,tags,redcloth,blocks This specifies that the default meta information for files handled by Webgen::SourceHandler::Page should be updated with the provided data. The only difference to the default is the use of ''redcloth'' instead of ''maruku''. I will provide some helpers for setting these more complex configuration options in the next release. Regards, Thomas
Thank you, Thomas I thought about the same solutions, but for me it was much easy to just change webgen source. That config lines, which you provided, looks like C# or long C++ statements, which we can avoid in ruby, I believe. So, for now I''ll wait new helpers, and leave this changes in the webgen source. Once again, thank you for helping me. Sincerely, Igor