<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/webgen-users</id>
  <title type="text">webgen-users Google Group</title>
  <subtitle type="text">
  Welcome to the google group for webgen, a free, powerful static website generator! This is a mirror of the webgen-users mailing on Rubyforge.
  </subtitle>
  <link href="/group/webgen-users/feed/atom_v1_0_msgs.xml" rel="self" title="webgen-users feed"/>
  <updated>2010-03-09T22:51:41Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Paulo Almeida</name>
  <email>p...@dri.cefetmg.br</email>
  </author>
  <updated>2010-03-09T22:51:41Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/a27aabb1a83e1b19?show_docid=a27aabb1a83e1b19</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/a27aabb1a83e1b19?show_docid=a27aabb1a83e1b19"/>
  <title type="text">Re: [webgen-users] Global variables</title>
  <summary type="html" xml:space="preserve">
  Thank you again, Thomas! &lt;br&gt; The first suggestion you gave me is working but, as a matter of &lt;br&gt; fact, I observed that everytime I changed the values inside init.rb, I &lt;br&gt; had to manually &amp;quot;touch&amp;quot; the .page files in order to force their &lt;br&gt; recompilation by webgen, as you mentioned. &lt;br&gt; Just for the records, I had to replace the expression
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-03-09T06:27:47Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/c2d95ae8a8b92498/506dc89c4ee94f90?show_docid=506dc89c4ee94f90</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/c2d95ae8a8b92498/506dc89c4ee94f90?show_docid=506dc89c4ee94f90"/>
  <title type="text">Re: [webgen-users] Conditional sidebar</title>
  <summary type="html" xml:space="preserve">
  The direct use of the variables you use has been deprecated in favour of &lt;br&gt; the `context` object. So your code should read: &lt;br&gt; &amp;lt;% if context.content_node[&#39;has_side bar&#39;] %&amp;gt; &lt;br&gt; [HTML block that generates side-bar] &lt;br&gt; &amp;lt;% end %&amp;gt; &lt;br&gt; Also note that the page meta information block is parsed with YAML, &lt;br&gt; meaning that the keys and values are converted, as far as possible, to
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-03-09T06:42:12Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/5162c48e1c3ed4c8?show_docid=5162c48e1c3ed4c8</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/5162c48e1c3ed4c8?show_docid=5162c48e1c3ed4c8"/>
  <title type="text">Re: [webgen-users] Global variables</title>
  <summary type="html" xml:space="preserve">
  There is no support for such global variables in 0.5.x as there was in &lt;br&gt; 0.4.x. However, you have two possibilities: &lt;br&gt; 1. Define the variables in ext/init.rb by storing them in a new &lt;br&gt; configuration option: &lt;br&gt; Webgen.website_access.config.g lobals({&#39;mykey&#39; =&amp;gt; &#39;value&#39;, &#39;otherkey&#39; =&amp;gt; 5}) &lt;br&gt; Then you can access the values using the following ERB fragment in a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Markus Mayer</name>
  <email>mma...@opencsw.org</email>
  </author>
  <updated>2010-03-09T05:10:53Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/c2d95ae8a8b92498/3ef17c393c6a4351?show_docid=3ef17c393c6a4351</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/c2d95ae8a8b92498/3ef17c393c6a4351?show_docid=3ef17c393c6a4351"/>
  <title type="text">[webgen-users] Conditional sidebar</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I am obviously new to webgen, as my problem is a fairly simple yet one &lt;br&gt; that I can&#39;t seem to solve on my own. &lt;br&gt; I am using webgen 0.5.11. &lt;br&gt; I only want those pages that have &amp;quot;has_sidebar: true&amp;quot; is set in their &lt;br&gt; page header to have a side bar. Like so: &lt;br&gt; --- &lt;br&gt; title: Welcome &lt;br&gt; in_menu: true &lt;br&gt; routed_title: Home
  </summary>
  </entry>
  <entry>
  <author>
  <name>Paulo Almeida</name>
  <email>p...@dri.cefetmg.br</email>
  </author>
  <updated>2010-03-06T14:41:04Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/19778ed494dd68ff?show_docid=19778ed494dd68ff</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/19778ed494dd68ff?show_docid=19778ed494dd68ff"/>
  <title type="text">Re: [webgen-users] Global variables</title>
  <summary type="html" xml:space="preserve">
  Hi Thomas, &lt;br&gt; Thx for your response. I think I mixed up something here. Actually, &lt;br&gt; I am using version 0.5.11 and used FAQ from version 0.4, sorry for my &lt;br&gt; mistake. Anyway, is there a way to create global variables or a &lt;br&gt; similar resource in version 0.5? &lt;br&gt; My problem is: I have some values (integers and strings) which may
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-03-06T08:21:49Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/5c3b2ed05a26f61f?show_docid=5c3b2ed05a26f61f</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/5c3b2ed05a26f61f?show_docid=5c3b2ed05a26f61f"/>
  <title type="text">Re: [webgen-users] Global variables</title>
  <summary type="html" xml:space="preserve">
  Which version of webgen are you using? From the example above, it seems &lt;br&gt; that you are using webgen 0.4.x (and therefore the FAQ from &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://webgen.rubyforge.org/documentation/0.4.x/documentation/howto.html&quot;&gt;[link]&lt;/a&gt;). &lt;br&gt; Note that there is an error in your example above: You need to indent &lt;br&gt; customVars with two spaces:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Paulo Almeida</name>
  <email>p...@dri.cefetmg.br</email>
  </author>
  <updated>2010-03-05T23:15:31Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/8a4c28bea6e133b2?show_docid=8a4c28bea6e133b2</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/bc76588099fa1074/8a4c28bea6e133b2?show_docid=8a4c28bea6e133b2"/>
  <title type="text">[webgen-users] Global variables</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I am trying to use global variables, as pointed out at webgen FAQ &lt;br&gt; page, but no success. I am trying to put the following lines at &lt;br&gt; config.yaml file: &lt;br&gt; Core/Configuration: &lt;br&gt; customVars: &lt;br&gt; {myVar: This is really nice!} &lt;br&gt; I always get the error message: &lt;br&gt; What am I missing here? &lt;br&gt; Is there another way to define global values (numbers, strings etc.)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-02-26T14:14:47Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/7d299e0a8b5a654b?show_docid=7d299e0a8b5a654b</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/7d299e0a8b5a654b?show_docid=7d299e0a8b5a654b"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  This is due to a change in the meta info tag. The meta info values are &lt;br&gt; assumed to be output format agnostic. Therefore I added automatic &lt;br&gt; escaping of meta info values inserted by the metainfo tag. I have added &lt;br&gt; an option for disabling the escaping. The Github repo has been updated. &lt;br&gt; -- Thomas &lt;br&gt; ______________________________ _________________
  </summary>
  </entry>
  <entry>
  <author>
  <name>Damien Pollet</name>
  <email>damien.pol...@gmail.com</email>
  </author>
  <updated>2010-02-26T13:02:22Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/69c4efbbb3e0b4e8?show_docid=69c4efbbb3e0b4e8</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/69c4efbbb3e0b4e8?show_docid=69c4efbbb3e0b4e8"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  And in_menu: false is ignored (for at least one of the subdirectories)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Damien Pollet</name>
  <email>damien.pol...@gmail.com</email>
  </author>
  <updated>2010-02-26T12:41:52Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/d4ce4e1079eda807?show_docid=d4ce4e1079eda807</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/d4ce4e1079eda807?show_docid=d4ce4e1079eda807"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  OK, I pulled that… &lt;br&gt; - at first I got a bunch of errors due to mis-initialization of the &lt;br&gt; metainfo tag… switched from require to load in ex/init.rb and that &lt;br&gt; fixed those. &lt;br&gt; - everything looks nice, the link#targets work, the feed metadata too, but… &lt;br&gt; …some pieces of markdown code appear as-is in the output, e.g. the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-02-26T12:04:02Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/5baae94028cbeaef?show_docid=5baae94028cbeaef</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/5baae94028cbeaef?show_docid=5baae94028cbeaef"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  It now is. &lt;br&gt; -- Thomas &lt;br&gt; ______________________________ _________________ &lt;br&gt; webgen-users mailing list &lt;br&gt; webgen-us...@rubyforge.org &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://rubyforge.org/mailman/listinfo/webgen-users&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Damien Pollet</name>
  <email>damien.pol...@gmail.com</email>
  </author>
  <updated>2010-02-25T12:38:58Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/61884f1312250f69?show_docid=61884f1312250f69</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/61884f1312250f69?show_docid=61884f1312250f69"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  Is it pushed to github ?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-02-23T06:09:31Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/a05ee191d26837aa?show_docid=a05ee191d26837aa</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/a05ee191d26837aa?show_docid=a05ee191d26837aa"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  This is a bug in the content processor head which I have fixed in my &lt;br&gt; repo. &lt;br&gt; -- Thomas &lt;br&gt; ______________________________ _________________ &lt;br&gt; webgen-users mailing list &lt;br&gt; webgen-us...@rubyforge.org &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://rubyforge.org/mailman/listinfo/webgen-users&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thomas Leitner</name>
  <email>t_leit...@gmx.at</email>
  </author>
  <updated>2010-02-22T17:38:11Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/6e73898429863959/100a64404c4426c6?show_docid=100a64404c4426c6</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/6e73898429863959/100a64404c4426c6?show_docid=100a64404c4426c6"/>
  <title type="text">Re: [webgen-users] [ANN] webgen 0.5.11 released</title>
  <summary type="html" xml:space="preserve">
  You can use &#39;require&#39;, however, all things done with the &lt;br&gt; `website.config` object have to be done each time ext/init.rb is loaded &lt;br&gt; (webgen really `load`s it instead of `require&#39;ing it). Otherwise the &lt;br&gt; necessary information may not be set. &lt;br&gt; -- Thomas &lt;br&gt; ______________________________ _________________ &lt;br&gt; webgen-users mailing list
  </summary>
  </entry>
  <entry>
  <author>
  <name>Damien Pollet</name>
  <email>damien.pol...@gmail.com</email>
  </author>
  <updated>2010-02-22T16:10:46Z</updated>
  <id>http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/e817fe3b83ca6a07?show_docid=e817fe3b83ca6a07</id>
  <link href="http://groups.google.com/group/webgen-users/browse_thread/thread/902b10626ac4fbe2/e817fe3b83ca6a07?show_docid=e817fe3b83ca6a07"/>
  <title type="text">Re: [webgen-users] Adding custom &lt;link&gt;s to the &lt;head&gt; via the contentprocessor head</title>
  <summary type="html" xml:space="preserve">
  Back on this… &lt;br&gt; I now have webgen complain: &lt;br&gt; ERROR -- No link target specified for link type &#39;alternate&#39; in &#39;link&#39; &lt;br&gt; meta information in &amp;lt;/notes/index.en.html&amp;gt; &lt;br&gt; and so on… from reading the code it seems that the href is not found &lt;br&gt; in the metainfo, but here&#39;s what I have: &lt;br&gt; link: &lt;br&gt; alternate: &lt;br&gt; - type: application/atom+xml
  </summary>
  </entry>
</feed>
