Webgen 0.4.2

Hey everybody,

I just released webgen 0.4.2 which closes some bugs and adds some new
features. For a complete change log have a look at
http://webgen.rubyforge.org/news.html.

– Thomas

About webgen

webgen is used to generate web pages from page and 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.

When webgen is run it combines the template with each of the page
files and generates the HTML output files. During this process special
tags are substituted so that, for example, dynamic menus or breadcrumb
trails are generated.

Installation

gem install webgen

On 2/28/07, Thomas L. [email protected] wrote:

Hey everybody,

I just released webgen 0.4.2 which closes some bugs and adds some new
features. For a complete change log have a look at http://webgen.rubyforge.org/news.html.

When I go to this page, I see a gray page w/ only the following text:

Code corrupted. Insert fresh copy.

Hi,

[ … ]http://webgen.rubyforge.org/news.html.
[ … ]

Oops, gives me a page with :

Code corrupted. Insert fresh copy.

Regards, Gilbert

Hm… I can open the page without problems in Safari/Opera on Mac OS X
and Opera/Konqueror on Linux. However, I do see this message using
Firefox 1.5.0.9 on Linux… strange.

Although nothing is displayed, I can view the source and from the
looks of it (syntax highlighting) it seems that Firefox does not like
the HTML closed script tag in the header or something like that. Be
aware that the W3C HTML validation service says that the page is valid
XHTML 1.1!

I will have a look at the Firefox problem and update the homepage as
soon as possible!

Bye,
Thomas

Hi,

On 3/1/07, Thomas L. [email protected] wrote:

Although nothing is displayed, I can view the source and from the
looks of it (syntax highlighting) it seems that Firefox does not like
the HTML closed script tag in the header or something like that. Be
aware that the W3C HTML validation service says that the page is valid
XHTML 1.1!

A self-closed script tag violates the DTD/Schema definition:

http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_module_Scripting
http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scriptmodule

It has a “Minimal Content Model” of “PCDATA”, not “EMPTY”, so you’ll
need to use the dual-tag form: .

The W3C validator is probably running up against one of its limitations:

http://openjade.sourceforge.net/doc/xml.htm

HTH,

  • Dimitri

Hi,

On Mar 1, 5:26 pm, “Dimitri A.” [email protected] wrote:

A self-closed script tag violates the DTD/Schema definition:

http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_modu...http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scr

It has a “Minimal Content Model” of “PCDATA”, not “EMPTY”, so you’ll
need to use the dual-tag form: .

Thanks for this explanation, I will change the homepage to use the
dual-tag form!

Bye,
Thomas

Thanks for this explanation, I will change the homepage to use the
dual-tag form!

Bye,
Thomas

I have updated the homepage, it is now viewable in Firefox (tested)
and IE (not tested).

http://webgen.rubyforge.org

Bye,
Thomas

On Thu, Mar 01, 2007, Thomas L. wrote:

Hm… I can open the page without problems in Safari/Opera on Mac OS X
and Opera/Konqueror on Linux. However, I do see this message using
Firefox 1.5.0.9 on Linux… strange.

It looks like it’s coming from statcounter:

http://www.google.com/search?hl=en&q="Code+corrupted.+Insert+fresh+copy."&btnG=Google+Search

Check where you include that, they might have changed something on their
end that requires you to change the code you embed.

Ben