From t_leitner at gmx.at Thu Jun 7 14:38:27 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Thu, 7 Jun 2007 20:38:27 +0200 Subject: [webgen-users] Plugin installation similar to rails Message-ID: <7FB49C7C-EDBA-4554-B94C-30CD9A1353C3@gmx.at> Hey all, I'm considering including a plugin installation mechanism similar to the one available with the rails script/plugin command in the next major webgen version. There would be a repository index located on the webgen homepage, something like http://webgen.rubyforge.org/plugin-repository.yaml. This file contains a list of repositories (http and ftp) which provide webgen plugin bundles. Each such repository then needs a file describing the available plugin bundles. And a plugin bundle is shipped as .tar.gz or .zip file (using minitar or rubyzip - what's better?). An example: The file http://webgen.rubyforge.org/webgen-plugin-repositories.yaml contains: http://webgen.rubyforge.org: Main webgen plugin repository http://other.website.org: An other webgen plugin repository Then their exists a file http://webgen.rubyforge.org/webgen- plugins.yaml which contains: NameOfPluginBundle: plugins: Support/MyTestPlugin: summary: Just a sample plugin author: Thomas Leitner OtherPlugin: summary: other summary author: My Name resources: sample/resource/name: desc: description of resource Then webgen provides a plugin command which can be used to * show the available plugin bundles with several levels of detail (only plugin bundle names, plugin bundles with plugin/resource names, all information) * install a plugin to a webgen website or the users webgen plugin directory * anything else? Does this sound good? Any comments? Is something like this useful for webgen? Thomas From jeremy at hinegardner.org Fri Jun 8 14:04:22 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Fri, 8 Jun 2007 12:04:22 -0600 Subject: [webgen-users] Plugin installation similar to rails In-Reply-To: <7FB49C7C-EDBA-4554-B94C-30CD9A1353C3@gmx.at> References: <7FB49C7C-EDBA-4554-B94C-30CD9A1353C3@gmx.at> Message-ID: <20070608180422.GO13095@hinegardner.org> On Thu, Jun 07, 2007 at 08:38:27PM +0200, Thomas Leitner wrote: > Hey all, > > I'm considering including a plugin installation mechanism similar to > the one available with the rails script/plugin command in the next > major webgen version. Very cool. > There would be a repository index located on the webgen homepage, > something like http://webgen.rubyforge.org/plugin-repository.yaml. > This file contains a list of repositories (http and ftp) which > provide webgen plugin bundles. Each such repository then needs a file > describing the available plugin bundles. And a plugin bundle is > shipped as .tar.gz or .zip file (using minitar or rubyzip - what's > better?). How about piggy-backing on rubygems and 'gem_plugin'? I'm doing some work with gem_plugin right now and its dead simple to use and elegant to boot. [... snip example ...] > Then webgen provides a plugin command which can be used to > * show the available plugin bundles with several levels of detail > (only plugin bundle names, plugin bundles with plugin/resource names, > all information) > * install a plugin to a webgen website or the users webgen plugin > directory > * anything else? > > Does this sound good? Any comments? Is something like this useful for > webgen? It does sound useful, and I think what I'm working on right now might provide some useful items to this effort. Keep an eye out for 'rabal' on ruby-talk in the near future. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Sun Jun 10 02:34:28 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Sun, 10 Jun 2007 08:34:28 +0200 Subject: [webgen-users] Website templates for webgen Message-ID: <20DA5078-C878-41B4-8F5C-CE90E97E6F07@gmx.at> Hey all, any suggestions for additional free website templates that could/ should be included in webgen? Thanks, Thomas From t_leitner at gmx.at Mon Jun 11 08:14:03 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Mon, 11 Jun 2007 14:14:03 +0200 Subject: [webgen-users] User documentation for webgen 0.5.0 Message-ID: Hey all, I'm considering restructuring of the user documentation for the next webgen release (developer documentation will be/is already generated via RDOC). Currently, all documentation is more or less 'available' but not really connected: there is the basic documentation and the tutorial, the various reference (meta information reference, WebPage Format reference, ...) and the plugin documentation; and some important things are only in the plugin documentation (e.g. information about Core/FileHandler). The new documentation should be (I think, comments appreciated!) structured more like a book with: 1) a quick overview ("5min tutorial") 2) a longer tutorial/documentation showing how webgen works (naming of input files, output files, metainfo.yaml, config.yaml,...), how things are done (creating menus, chaining templates, creating a gallery) and so on 3) a reference part which will include references for all used meta information, the plugins, the file formats used etc. The parts 1) and 3) should be fairly easy to create. However, I haven't decided on the internal structure of part 2, yet. So, please post any ideas/comments/etc about part 2 and what you would like to see in it! webgen 0.5.0 is coming along fine, the major parts, except the webgen tags system and the gallery generator, are implemented, documented (user and developer documentation) and have basic test cases. I plan to release 0.5.0 at the end of the summer, however, you can already try it out by checking out the source from the Subversion repository and using the sources found in the /devel directory. Comments and bug reports are welcome! :-) Regards, Thomas From jeremy at hinegardner.org Wed Jun 20 04:19:50 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Wed, 20 Jun 2007 02:19:50 -0600 Subject: [webgen-users] custom menu plugin not working in 0.4.4 Message-ID: <20070620081950.GU13095@hinegardner.org> I was pushing out a new version of a site I have that I think was last generated with webgen 0.4.1. Since my gems are updated to 0.4.4 I'm getting this error when running 'webgen'. I've reverted back to 0.4.2 and that is the version where this custom vertical menu plugin starts breaking. So I'm not sure what has changed to cause this. I get this error on webgen 0.4.2, and 0.4.4, but not on 0.4.1 when using a custom site plugin. Any hints? proj/keybox/webgen/plugin/jjh-vertical.rb:27:in `load_plugin': uninitialized constant #::MenuStyles::DefaultMenuStyle (NameError) from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:in `load_from_file' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:223:in `catch' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:223:in `load_from_file' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:237:in `load_from_block' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:237:in `catch' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:237:in `load_from_block' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:236:in `catch' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:236:in `load_from_block' ... 11 levels... from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/cli.rb:454:in `cli_main' from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/bin/webgen:4 from /usr/bin/webgen:16:in `load' from /usr/bin/webgen:16 enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Wed Jun 20 05:03:41 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 20 Jun 2007 11:03:41 +0200 Subject: [webgen-users] custom menu plugin not working in 0.4.4 In-Reply-To: <20070620081950.GU13095@hinegardner.org> References: <20070620081950.GU13095@hinegardner.org> Message-ID: <1B010999-2C31-41EF-B75D-C5D6512DBDC7@gmx.at> > I was pushing out a new version of a site I have that I think was last > generated with webgen 0.4.1. Since my gems are updated to 0.4.4 > I'm getting > this error when running 'webgen'. I've reverted back to 0.4.2 and > that is the > version where this custom vertical menu plugin starts breaking. So > I'm not > sure what has changed to cause this. I get this error on webgen > 0.4.2, and > 0.4.4, but not on 0.4.1 when using a custom site plugin. > > Any hints? > > proj/keybox/webgen/plugin/jjh-vertical.rb:27:in `load_plugin': > uninitialized constant # 0xb7e52f88>::MenuStyles::DefaultMenuStyle (NameError) > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:224:in `load_from_file' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:223:in `catch' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:223:in `load_from_file' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:237:in `load_from_block' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:237:in `catch' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:237:in `load_from_block' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:236:in `catch' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > plugin.rb:236:in `load_from_block' > ... 11 levels... > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > cli.rb:454:in `cli_main' > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/bin/webgen:4 > from /usr/bin/webgen:16:in `load' > from /usr/bin/webgen:16 It may be possible that the plugin system tries to load your plugin before MenuStyle/Default. Did you use the 'load_plugin' at the top of your plugin file? The following line should be at the top of your plugin: load_plugin 'webgen/plugins/menustyles/default' If this does not solve the problem, I will investigate further! Best regards, Thomas From jeremy at hinegardner.org Wed Jun 20 11:18:18 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Wed, 20 Jun 2007 09:18:18 -0600 Subject: [webgen-users] custom menu plugin not working in 0.4.4 In-Reply-To: <1B010999-2C31-41EF-B75D-C5D6512DBDC7@gmx.at> References: <20070620081950.GU13095@hinegardner.org> <1B010999-2C31-41EF-B75D-C5D6512DBDC7@gmx.at> Message-ID: <20070620151818.GV13095@hinegardner.org> On Wed, Jun 20, 2007 at 11:03:41AM +0200, Thomas Leitner wrote: > >I was pushing out a new version of a site I have that I think was last > >generated with webgen 0.4.1. Since my gems are updated to 0.4.4 > >I'm getting > >this error when running 'webgen'. I've reverted back to 0.4.2 and > >that is the > >version where this custom vertical menu plugin starts breaking. So > >I'm not > >sure what has changed to cause this. I get this error on webgen > >0.4.2, and > >0.4.4, but not on 0.4.1 when using a custom site plugin. > > > >Any hints? > > > >proj/keybox/webgen/plugin/jjh-vertical.rb:27:in `load_plugin': > >uninitialized constant # >0xb7e52f88>::MenuStyles::DefaultMenuStyle (NameError) > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:224:in `load_from_file' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:223:in `catch' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:223:in `load_from_file' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:237:in `load_from_block' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:237:in `catch' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:237:in `load_from_block' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:236:in `catch' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >plugin.rb:236:in `load_from_block' > > ... 11 levels... > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/ > >cli.rb:454:in `cli_main' > > from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/bin/webgen:4 > > from /usr/bin/webgen:16:in `load' > > from /usr/bin/webgen:16 > > It may be possible that the plugin system tries to load your plugin > before MenuStyle/Default. Did you use the 'load_plugin' at the top of > your plugin file? The following line should be at the top of your > plugin: > > load_plugin 'webgen/plugins/menustyles/default' > > If this does not solve the problem, I will investigate further! Yup, that's there... here's the basic layout of the plugin load_plugin 'webgen/plugins/menustyles/default' module MenuStyles class JJHVerticalMenuStyle < MenuStyles::DefaultMenuStyle infos( ... ) register_handler 'jjh-vertical' param ... param ... param ... param ... def internal_build_menu(src_node,menu_tree) ... end end thanks for taking a look. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Thu Jun 21 03:04:40 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Thu, 21 Jun 2007 09:04:40 +0200 Subject: [webgen-users] custom menu plugin not working in 0.4.4 In-Reply-To: <20070620151818.GV13095@hinegardner.org> References: <20070620081950.GU13095@hinegardner.org> <1B010999-2C31-41EF-B75D-C5D6512DBDC7@gmx.at> <20070620151818.GV13095@hinegardner.org> Message-ID: On 20.06.2007, at 17:18, Jeremy Hinegardner wrote: >> It may be possible that the plugin system tries to load your plugin >> before MenuStyle/Default. Did you use the 'load_plugin' at the top of >> your plugin file? The following line should be at the top of your >> plugin: >> >> load_plugin 'webgen/plugins/menustyles/default' >> >> If this does not solve the problem, I will investigate further! > > Yup, that's there... here's the basic layout of the plugin > > load_plugin 'webgen/plugins/menustyles/default' > > module MenuStyles > > class JJHVerticalMenuStyle < MenuStyles::DefaultMenuStyle > > infos( ... ) > > > register_handler 'jjh-vertical' > > param ... > param ... > param ... > param ... > > > def internal_build_menu(src_node,menu_tree) > ... > end > > end Okay, I have tried this out and realized that I have seen the problem before: it is the way webgen loads plugins. It loads custom plugins in a slightly different way than plugins shipped with webgen. I didn't realize this when coding the plugin system. One thing that makes problems is when you define your class inside a module. So if you remove the top level MenuStyles module and declare the JJHVerticalMenuStyle at the top level of the source file, it should work. Another way is to include the top level environment in the module, something like: WEBGEN_ENV=self module MenuStyles include WEBGEN_ENV ... end This behaviour does not occur in the current development version of webgen since their "all plugins are equal". Regards, Thomas From jeremy at hinegardner.org Fri Jun 22 03:08:33 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Fri, 22 Jun 2007 01:08:33 -0600 Subject: [webgen-users] custom menu plugin not working in 0.4.4 In-Reply-To: References: <20070620081950.GU13095@hinegardner.org> <1B010999-2C31-41EF-B75D-C5D6512DBDC7@gmx.at> <20070620151818.GV13095@hinegardner.org> Message-ID: <20070622070833.GU13095@hinegardner.org> On Thu, Jun 21, 2007 at 09:04:40AM +0200, Thomas Leitner wrote: > Okay, I have tried this out and realized that I have seen the problem > before: it is the way webgen loads plugins. It loads custom plugins > in a slightly different way than plugins shipped with webgen. I > didn't realize this when coding the plugin system. One thing that > makes problems is when you define your class inside a module. So if > you remove the top level MenuStyles module and declare the > JJHVerticalMenuStyle at the top level of the source file, it should > work. Yup, this worked. Thanks! > This behaviour does not occur in the current development version of > webgen since their "all plugins are equal". I'm Looking forward to the new version when it comes along. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Tue Jun 26 08:25:12 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Tue, 26 Jun 2007 14:25:12 +0200 Subject: [webgen-users] Poll for new default website style Message-ID: Hi everybody, after looking a bit around the Internet and checking which website style some users of webgen are using, I found that many people just stay at the default webgen website style (which is not really pretty ;-) So, I'm thinking about changing the default webgen website style to something more Web-2.0-ish, and I would like to know if there is a particular website style (either currently included with webgen or any other free website template) you would like to have as the default website style! Thanks! Regards, Thomas From jeremy at hinegardner.org Tue Jun 26 12:18:14 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Tue, 26 Jun 2007 10:18:14 -0600 Subject: [webgen-users] Poll for new default website style In-Reply-To: References: Message-ID: <20070626161814.GE1832@hinegardner.org> On Tue, Jun 26, 2007 at 02:25:12PM +0200, Thomas Leitner wrote: > Hi everybody, > > after looking a bit around the Internet and checking which website > style some users of webgen are using, I found that many people just > stay at the default webgen website style (which is not really pretty ;-) Well, I'll have to agree on the 'not-really-pretty' thing. If it makes you feel better I've never used the default webgen website style. I've always gone through openwebdesign.org or similar. > So, I'm thinking about changing the default webgen website style to > something more Web-2.0-ish, and I would like to know if there is a > particular website style (either currently included with webgen or > any other free website template) you would like to have as the > default website style! Thanks! Personally I like the styleshout themes, they are also on openwebdesign.org and owsd.org, creative commons attribution 2.5 lincensed. http://www.styleshout.com/free-templates.php AzulMedia - http://www.styleshout.com/templates/preview/Azulmedia2-1/index.html EliteCircle - http://www.styleshout.com/templates/preview/EliteCircle1-0/index.html Either of those might be good fits for webgen, Tweak the colours as you see fit. Just my $.02 enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Wed Jun 27 04:26:59 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 27 Jun 2007 10:26:59 +0200 Subject: [webgen-users] Poll for new default website style In-Reply-To: <20070626161814.GE1832@hinegardner.org> References: <20070626161814.GE1832@hinegardner.org> Message-ID: <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> >> So, I'm thinking about changing the default webgen website style to >> something more Web-2.0-ish, and I would like to know if there is a >> particular website style (either currently included with webgen or >> any other free website template) you would like to have as the >> default website style! Thanks! > > Personally I like the styleshout themes, they are also on > openwebdesign.org and owsd.org, creative commons attribution 2.5 > lincensed. > > http://www.styleshout.com/free-templates.php > > AzulMedia - http://www.styleshout.com/templates/preview/ > Azulmedia2-1/index.html > EliteCircle - http://www.styleshout.com/templates/preview/ > EliteCircle1-0/index.html > > Either of those might be good fits for webgen, Tweak the colours as > you > see fit. The problem with website styles under the CCA2.5 license is that this license is incompatible with GPL and therefore I cannot ship them with weben. Or is there a way that I can use GPL and allow website styles to use CCA2.5? Aside from that: thanks for the links, I have already seen some styleshout themes before but didn't have time to convert them for use with webgen. They look great, especially AzulMedia (I like blue ;-) Thanks for the suggestions! Bye, Thomas From andrea.censi at dis.uniroma1.it Wed Jun 27 05:39:10 2007 From: andrea.censi at dis.uniroma1.it (Andrea Censi) Date: Wed, 27 Jun 2007 11:39:10 +0200 Subject: [webgen-users] Poll for new default website style In-Reply-To: <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> References: <20070626161814.GE1832@hinegardner.org> <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> Message-ID: On 6/27/07, Thomas Leitner wrote: > > > > Personally I like the styleshout themes, they are also on > > openwebdesign.org and owsd.org, creative commons attribution 2.5 > > lincensed. > > The problem with website styles under the CCA2.5 license is that this > license is incompatible with GPL and therefore I cannot ship them > with weben. Or is there a way that I can use GPL and allow website > styles to use CCA2.5? I am not a lawyer, but I think that you can package in the same .gem or .zip *code* and *data* that have different licenses. Just explain this clearly: "Code is (C) XXX XXX, released under the GPL" "Website styles are (C) YYY YYY , released under the CC license" -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi From t_leitner at gmx.at Wed Jun 27 08:18:17 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 27 Jun 2007 14:18:17 +0200 Subject: [webgen-users] Poll for new default website style In-Reply-To: References: <20070626161814.GE1832@hinegardner.org> <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> Message-ID: On 27.06.2007, at 11:39, Andrea Censi wrote: > On 6/27/07, Thomas Leitner wrote: >>> >>> Personally I like the styleshout themes, they are also on >>> openwebdesign.org and owsd.org, creative commons attribution 2.5 >>> lincensed. >> >> The problem with website styles under the CCA2.5 license is that this >> license is incompatible with GPL and therefore I cannot ship them >> with weben. Or is there a way that I can use GPL and allow website >> styles to use CCA2.5? > > I am not a lawyer, > but I think that you can package in the same .gem or .zip *code* and > *data* that have different licenses. Just explain this clearly: > > "Code is (C) XXX XXX, released under the GPL" > "Website styles are (C) YYY YYY , released under the CC license" This sound reasonable. However, Arnaud Cornet once filed a bug because I shipped a website style with a CC license with webgen, here is one message from him: ------------------------------------------------------- Date: 2007-03-28 05:44 Sender: Arnaud Cornet Thanks for the fix. The "plain" website style has an GPL-incompatible license. webgen and it's template clearly constitute a single work. This work carries GPL code and it is the GPL that forbids distribution of GPL along with non GPL compatible code. So yes it is a licensing error per se to distribute webgen as is. Regards, -- Arnaud Cornet ------------------------------------------------------- I don't know if adding a statement like you suggested is able to fix this. I will contact Arnaud and ask him in case he doesn't read this ML. Bye, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/webgen-users/attachments/20070627/b3ef1f71/attachment.html From jeremy at hinegardner.org Wed Jun 27 11:11:07 2007 From: jeremy at hinegardner.org (Jeremy Hinegardner) Date: Wed, 27 Jun 2007 09:11:07 -0600 Subject: [webgen-users] Poll for new default website style In-Reply-To: References: <20070626161814.GE1832@hinegardner.org> <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> Message-ID: <20070627151107.GG1832@hinegardner.org> On Wed, Jun 27, 2007 at 02:18:17PM +0200, Thomas Leitner wrote: > On 27.06.2007, at 11:39, Andrea Censi wrote: > >On 6/27/07, Thomas Leitner wrote: > >>> > >>>Personally I like the styleshout themes, they are also on > >>>openwebdesign.org and owsd.org, creative commons attribution 2.5 > >>>lincensed. > >> > >>The problem with website styles under the CCA2.5 license is that this > >>license is incompatible with GPL and therefore I cannot ship them > >>with weben. Or is there a way that I can use GPL and allow website > >>styles to use CCA2.5? > > > >I am not a lawyer, > >but I think that you can package in the same .gem or .zip *code* and > >*data* that have different licenses. Just explain this clearly: > > > > "Code is (C) XXX XXX, released under the GPL" > > "Website styles are (C) YYY YYY , released under the CC license" > > This sound reasonable. However, Arnaud Cornet once filed a bug > because I shipped a website style with a CC license with webgen, here > is one message from him: > > ------------------------------------------------------- > Date: 2007-03-28 05:44 > Sender: Arnaud Cornet > > Thanks for the fix. > > The "plain" website style has an GPL-incompatible license. > webgen and it's template clearly constitute a single work. This > work carries GPL code and it is the GPL that forbids distribution > of GPL along with non GPL compatible code. > > So yes it is a licensing error per se to distribute webgen as > is. > > Regards, > -- > Arnaud Cornet > ------------------------------------------------------- > > I don't know if adding a statement like you suggested is able to fix > this. I will contact Arnaud and ask him in case he doesn't read this ML. Or to completely work around the issue, have a separate 'content-only' gem. Not that I'm an advocate of that. Templates as a separately distributable plugin in your new plugin framework? To me Andrea's suggestion is completely reasonable. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy at hinegardner.org From t_leitner at gmx.at Thu Jun 28 05:07:51 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Thu, 28 Jun 2007 11:07:51 +0200 Subject: [webgen-users] Poll for new default website style In-Reply-To: <20070627151107.GG1832@hinegardner.org> References: <20070626161814.GE1832@hinegardner.org> <6D558693-F60D-4D5C-919C-FDA44D882EBB@gmx.at> <20070627151107.GG1832@hinegardner.org> Message-ID: On 27.06.2007, at 17:11, Jeremy Hinegardner wrote: > On Wed, Jun 27, 2007 at 02:18:17PM +0200, Thomas Leitner wrote: >> On 27.06.2007, at 11:39, Andrea Censi wrote: >>> On 6/27/07, Thomas Leitner wrote: >>>>> >>>>> Personally I like the styleshout themes, they are also on >>>>> openwebdesign.org and owsd.org, creative commons attribution 2.5 >>>>> lincensed. >>>> >>>> The problem with website styles under the CCA2.5 license is that >>>> this >>>> license is incompatible with GPL and therefore I cannot ship them >>>> with weben. Or is there a way that I can use GPL and allow website >>>> styles to use CCA2.5? >>> >>> I am not a lawyer, >>> but I think that you can package in the same .gem or .zip *code* >>> and >>> *data* that have different licenses. Just explain this clearly: >>> >>> "Code is (C) XXX XXX, released under the GPL" >>> "Website styles are (C) YYY YYY , released under the CC license" >> >> This sound reasonable. However, Arnaud Cornet once filed a bug >> because I shipped a website style with a CC license with webgen, here >> is one message from him: >> >> I don't know if adding a statement like you suggested is able to fix >> this. I will contact Arnaud and ask him in case he doesn't read >> this ML. > > Or to completely work around the issue, have a separate 'content-only' > gem. Not that I'm an advocate of that. Templates as a separately > distributable plugin in your new plugin framework? I had a short mail exchange with Arnaud Cornet and he pointed out out that making an exception to the GPL as proposed by Andrea Censi can be done. This will allow me to include website styles under a CC license in the webgen distribution. :-) So, if you have any other suggestions for website styles: keep them coming! ;-) -- Thomas From gaspa at yattaweb.it Thu Jun 28 18:43:51 2007 From: gaspa at yattaweb.it (Andrea Gasparini) Date: Fri, 29 Jun 2007 00:43:51 +0200 Subject: [webgen-users] Img relocatable inside plugin Message-ID: <200706290043.51762.gaspa@yattaweb.it> Hi, i'm searching to insert a relocatable image into a my plugin, but i don't want to reimplement what was already done... i saw that in the gallery plugin there's something like: but i wasn't able to reproduce this behavior.... How can i make this work? thanks, bye. -- -gaspa- ----------------------------------------------- --------- Powered by Debian GNU/Linux --------- -Il lunedi'dell'arrampicatore: www.lunedi.org - From t_leitner at gmx.at Fri Jun 29 02:20:54 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Fri, 29 Jun 2007 08:20:54 +0200 Subject: [webgen-users] Img relocatable inside plugin In-Reply-To: <200706290043.51762.gaspa@yattaweb.it> References: <200706290043.51762.gaspa@yattaweb.it> Message-ID: Hi Andrea, On 29.06.2007, at 00:43, Andrea Gasparini wrote: > i'm searching to insert a relocatable image into a my plugin, but i > don't > want to reimplement what was already done... > > i saw that in the gallery plugin there's something like: > > but i wasn't able to reproduce this behavior.... Yes, a helper method of the GalleryInfo class provides an easy way to insert an image tag in a gallery template. The relocatable tag can be used here because the template is processed afterwards. Hmm... what kind of webgen plugin did you write? If you wrote a tag plugin, you could just use the relocatable tag in the output of your plugin, for example: def process_tag( tag, chain ) @process_output = true content = '' # Other things done with content content end If you didn't write a tag plugin, I need a little bit more information about your plugin. All the relocatable tag does is to get the relative path to the argument. This is done like this: node = ref_node.resolve_node(path) # resolves the node for the given path current_node.route_to(node) # returns a relative URL to the given node from current_node Regards, Thomas From t_leitner at gmx.at Fri Jun 29 05:21:56 2007 From: t_leitner at gmx.at (Thomas Leitner) Date: Fri, 29 Jun 2007 11:21:56 +0200 Subject: [webgen-users] [ANN] webgen 0.4.5 Message-ID: Hey everybody! -------------- I just release a new webgen version which fixes some bugs and brings one new feature: customizable links to any file handled by webgen. Have a look at http://webgen.rubyforge.org/news.html to see a complete list of changes! Best regards, Thomas 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 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! Have a look at the examples page at http://webgen.rubyforge.org/ examples/index.html to get a first impression of webgen! From gaspa at yattaweb.it Sat Jun 30 05:23:43 2007 From: gaspa at yattaweb.it (Andrea Gasparini) Date: Sat, 30 Jun 2007 11:23:43 +0200 Subject: [webgen-users] Img relocatable inside plugin In-Reply-To: References: <200706290043.51762.gaspa@yattaweb.it> Message-ID: <200706301123.43584.gaspa@yattaweb.it> Hi Thomas, Thomas Leitner spiffera, alle Friday 29 June 2007 circa: > Hmm... what kind of webgen plugin did you write? If you wrote a tag > plugin, you could just use the relocatable tag in the output of your > plugin, for example: no, it's just another menu plugin ( i could call it: YAMP ) ;-) > All the relocatable tag does is to get the relative path to the > argument. This is done like this: i see, and i'll try this way, and afterwards i'll make you know if i need more effort :) thanks, bye! -- -gaspa- ----------------------------------------------- --------- Powered by Debian GNU/Linux --------- ------ HomePage: iogaspa.altervista.org ------- -Il lunedi'dell'arrampicatore: www.lunedi.org -