From michaelfranzl at gmx.at Wed Apr 7 06:51:35 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Wed, 07 Apr 2010 12:51:35 +0200 Subject: [webgen-users] Error: Invalid input format selected: Message-ID: <4BBC63B7.6030001@gmx.at> I'm getting this error with the recent webgen version, but can't figure out what's wrong. Does anybody know what it's about? An error has occurred: Error while rendering : Invalid input format selected: Michael From t_leitner at gmx.at Wed Apr 7 10:43:24 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 7 Apr 2010 16:43:24 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <4BBC63B7.6030001@gmx.at> References: <4BBC63B7.6030001@gmx.at> Message-ID: <20100407164324.51df5274@noeato.local> On Wed, 07 Apr 2010 12:51:35 +0200, Michael Franzl wrote: > I'm getting this error with the recent webgen version, but can't > figure out what's wrong. Does anybody know what it's about? > > An error has occurred: > Error while rendering : > Invalid input format selected: The error does not seem to come from webgen itself, so it probably comes from an external library or a Ruby library. Which rendering pipeline does the file in question have? If you want, you can send me the files which generate the error in private. -- Thomas From michaelfranzl at gmx.at Wed Apr 7 14:46:09 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Wed, 07 Apr 2010 20:46:09 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <20100407164324.51df5274@noeato.local> References: <4BBC63B7.6030001@gmx.at> <20100407164324.51df5274@noeato.local> Message-ID: <4BBCD2F1.7060407@gmx.at> Thomas Leitner wrote: > The error does not seem to come from webgen itself, so it probably comes > from an external library or a Ruby library. Which rendering pipeline > does the file in question have? If you want, you can send me the files > which generate the error in private. I use the standard rendering pipeline, but I figured it out. The error was coming from kramdown. Two paragraphs weren't separated by an empty line. Maybe the error message could be more descriptive? Michael From t_leitner at gmx.at Wed Apr 7 15:33:25 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 7 Apr 2010 21:33:25 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <4BBCD2F1.7060407@gmx.at> References: <4BBC63B7.6030001@gmx.at> <20100407164324.51df5274@noeato.local> <4BBCD2F1.7060407@gmx.at> Message-ID: <20100407213325.2fc8af0b@noeato.local> On Wed, 07 Apr 2010 20:46:09 +0200, Michael Franzl wrote: > Thomas Leitner wrote: > > The error does not seem to come from webgen itself, so it probably > > comes from an external library or a Ruby library. Which rendering > > pipeline does the file in question have? If you want, you can send > > me the files which generate the error in private. > > I use the standard rendering pipeline, but I figured it out. The > error was coming from kramdown. Two paragraphs weren't separated by > an empty line. Maybe the error message could be more descriptive? That's interesting - could you send me some text that reproduces the error? This would be very helpful! The error itself comes from Kramdown::Document and normally indicates the the input format was not properly selected (the only currently supported input format is kramdown). -- Thomas From t_leitner at gmx.at Thu Apr 8 03:02:07 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Thu, 8 Apr 2010 09:02:07 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <4BBCD2F1.7060407@gmx.at> References: <4BBC63B7.6030001@gmx.at> <20100407164324.51df5274@noeato.local> <4BBCD2F1.7060407@gmx.at> Message-ID: <20100408090207.7d1056c1@noeato.local> On Wed, 07 Apr 2010 20:46:09 +0200, Michael Franzl wrote: > Thomas Leitner wrote: > > The error does not seem to come from webgen itself, so it probably > > comes from an external library or a Ruby library. Which rendering > > pipeline does the file in question have? If you want, you can send > > me the files which generate the error in private. > > I use the standard rendering pipeline, but I figured it out. The > error was coming from kramdown. Two paragraphs weren't separated by > an empty line. Maybe the error message could be more descriptive? That's interesting - could you send me some text that reproduces the error? This would be very helpful! The error itself comes from Kramdown::Document and normally indicates the the input format was not properly selected (the only currently supported input format is kramdown). -- Thomas From michaelfranzl at gmx.at Thu Apr 8 09:51:50 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Thu, 08 Apr 2010 15:51:50 +0200 Subject: [webgen-users] different output file extensions Message-ID: <4BBDDF76.2050400@gmx.at> I would like to generate .php file extension for all files. I use this in config.yaml (wegben 0.5.11): default_meta_info: Page: output_path_style: [:parent, :basename, ['.', :lang], '.php'] This worked in previous versions of webgen, but now it outputs an error for extensions different than '.html' In the page file index.page: [Link to]({relocatable: b.html}) The error message ... ERROR -- Could not resolve path 'b.php' in ... although b.php is present. Michael From michaelfranzl at gmx.at Thu Apr 8 10:03:03 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Thu, 08 Apr 2010 16:03:03 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <20100408090207.7d1056c1@noeato.local> References: <4BBC63B7.6030001@gmx.at> <20100407164324.51df5274@noeato.local> <4BBCD2F1.7060407@gmx.at> <20100408090207.7d1056c1@noeato.local> Message-ID: <4BBDE217.40202@gmx.at> Thomas Leitner wrote: > That's interesting - could you send me some text that reproduces the > error? This would be very helpful! I isolated it from a 145k text file. This was a tough one! Nam liber tempor "...At vero eos et accusam" Michael From t_leitner at gmx.at Fri Apr 9 04:31:38 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Fri, 9 Apr 2010 10:31:38 +0200 Subject: [webgen-users] Error: Invalid input format selected: In-Reply-To: <4BBDE217.40202@gmx.at> References: <4BBC63B7.6030001@gmx.at> <20100407164324.51df5274@noeato.local> <4BBCD2F1.7060407@gmx.at> <20100408090207.7d1056c1@noeato.local> <4BBDE217.40202@gmx.at> Message-ID: <20100409103138.45b790ad@noeato.local> On Thu, 08 Apr 2010 16:03:03 +0200, Michael Franzl wrote: > Thomas Leitner wrote: > > That's interesting - could you send me some text that reproduces the > > error? This would be very helpful! > > I isolated it from a 145k text file. This was a tough one! > > Nam liber tempor > "...At vero eos et accusam" Thanks for the test case!! It revealed the problem with smart quotes parsing and also lead to another, related problem that I have also fixed now. -- Thomas From t_leitner at gmx.at Fri Apr 9 04:37:27 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Fri, 9 Apr 2010 10:37:27 +0200 Subject: [webgen-users] different output file extensions In-Reply-To: <4BBDDF76.2050400@gmx.at> References: <4BBDDF76.2050400@gmx.at> Message-ID: <20100409103727.7356fde4@noeato.local> > In the page file index.page: > > [Link to]({relocatable: b.html}) > > The error message ... > > ERROR -- Could not resolve path 'b.php' in > > ... although b.php is present. This most probably comes from the fact that the kramdown processor automatically uses the relocatable tag internally to resolve all paths. Since you explicitly use the relocatable tag, it correctly resolves the `b.html` path to `b.php` which then is tried to be resolved again when kramdown converts the page to HTML - and naturally can't be resolved. I suggest either not using the relocatable tag or setting the option `contentprocessor.kramdown.handle_links` to `false`. -- Thomas From michaelfranzl at gmx.at Sat Apr 10 03:11:39 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Sat, 10 Apr 2010 09:11:39 +0200 Subject: [webgen-users] different output file extensions In-Reply-To: <20100409103727.7356fde4@noeato.local> References: <4BBDDF76.2050400@gmx.at> <20100409103727.7356fde4@noeato.local> Message-ID: <4BC024AB.80900@gmx.at> Thomas Leitner wrote: > I suggest either not using the relocatable tag or setting the option > `contentprocessor.kramdown.handle_links` to `false`. That worked! Thanks a lot! Michael From t_leitner at gmx.at Wed Apr 14 14:47:16 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 14 Apr 2010 20:47:16 +0200 Subject: [webgen-users] [ANN] webgen 0.5.11 released In-Reply-To: References: <20100215110112.23e606ad@noeato> Message-ID: <20100414204716.381a6153@noeato.local> On Mon, 15 Feb 2010 21:00:18 +0100, Thomas Deselaers wrote: > Hi Thomas, > > > > webgen 0.5.11 has just been released! If you don't know what webgen > > is, read the "What's webgen?" section down below. > > Great! Thanks a lot. > > I just tested it and also have some feedback: > > 1. I have reverted to the maruku processor, because there are some > problems with links, if > a) umlauts are contained. > b) email addresses are contained (the @ is lost?) > c) other characters like ? or / are contained > d) Third level headlines do not work. > > Maybe I got this wrong and kramdown is meant for another markup > language than maruku, but I thought they should do about the same, > right? Do you still have the above problems with newer version of kramdown? If yes, could you provide test cases? Best regards, Thomas From t_leitner at gmx.at Wed Apr 14 14:57:00 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 14 Apr 2010 20:57:00 +0200 Subject: [webgen-users] [ANN] webgen 0.5.12 released Message-ID: <20100414205700.5da59f3d@noeato.local> Hey everybody! -------------- webgen 0.5.12 has just been released! If you don't know what webgen is, read the "What's webgen?" section down below. This announcement is also available at http://webgen.rubyforge.org/news/release_0_5_12.html This release includes two minor changes and some bug fixes: The output of the [meta information tag][1] is now escaped by default. This can be changed by setting the `tag.metainfo.escape_html` option in the configuration file. And a rake task for showing outdated translations has been added. Changes ------- * Minor changes: - Added a rake task to show outdated translations - Added a [configuration option][2] for specifying whether a meta info value should be escaped * Bug fixes: - All error messages now display useful path names (reported by Eric Sunshine) - Fixed another CSS bug with sub directories in style bundle 'andreas07' (reported by Thomas Deselaers) - Fixed problem with unintentionally modified `link` meta information that lead to errors - Commands are now correctly shown when running `webgen --help` - Fixed a problem where an incorrect path was shown in error messages [1]: http://webgen.rubyforge.org/documentation/tag/metainfo.html [2]: http://webgen.rubyforge.org/documentation/reference_configuration.html#tagmetainfoescapehtml What's webgen? -------------- webgen is a tool to generate static websites by combining content with template files. You create one or more template files in which you define the layout of your page and where the content should go. After that you create page files in which you only define the content. You can use a variety of markup languages like Textile or Markdown or Haml to define your content and you can add dynamic parts via ERB or by using webgen tags. This allows the automatic generation of menus, breadcrumb trails and much more! Installation ------------ gem install webgen Usage ----- See http://webgen.rubyforge.org/documentation/ From damien.pollet at gmail.com Wed Apr 21 08:47:29 2010 From: damien.pollet at gmail.com (Damien Pollet) Date: Wed, 21 Apr 2010 14:47:29 +0200 Subject: [webgen-users] Hovering footnotes Message-ID: Just a quick heads-up :) Lukas Mathis wrote a small javascript to look for the footnotes in a markdown-generated page and have the footnote text appear when you point at a footnote call. It works flawlessly with kramdown output. Here's his post on it, and my slightly adapted version: http://ignorethecode.net/blog/2010/04/20/footnotes/ http://github.com/cdlm/website/blob/master/src/scripts/footnotes.js -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet From thomas at deselaers.de Wed Apr 21 09:12:26 2010 From: thomas at deselaers.de (Thomas Deselaers) Date: Wed, 21 Apr 2010 15:12:26 +0200 Subject: [webgen-users] Hovering footnotes In-Reply-To: References: Message-ID: Hi, Not sure how this interacts with my overlib extension: http://groups.google.com/group/webgen-users/browse_thread/thread/cbee5502d1fd0b08/605a45f94c1ef022 but it might be related. cheers, thomas On Wed, Apr 21, 2010 at 14:47, Damien Pollet wrote: > Just a quick heads-up :) > Lukas Mathis wrote a small javascript to look for the footnotes in a > markdown-generated page and have the footnote text appear when you > point at a footnote call. It works flawlessly with kramdown output. > > Here's his post on it, and my slightly adapted version: > http://ignorethecode.net/blog/2010/04/20/footnotes/ > http://github.com/cdlm/website/blob/master/src/scripts/footnotes.js > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet > _______________________________________________ > webgen-users mailing list > webgen-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/webgen-users > -- http://thomas.deselaers.de