[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] webgen 0.4.2

Thomas Leitner

2/28/2007 3:00:00 PM

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....

-- 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

8 Answers

David Chelimsky

2/28/2007 3:09:00 PM

0

On 2/28/07, Thomas Leitner <thomas.leitner@gmail.com> 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....

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

Code corrupted. Insert fresh copy.

>
> -- 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
>
>
>

Rebhan, Gilbert

2/28/2007 3:10:00 PM

0


Hi,


-----Original Message-----
From: Thomas Leitner [mailto:thomas.leitner@gmail.com]
Sent: Wednesday, February 28, 2007 4:05 PM
To: ruby-talk ML
Subject: [ANN] webgen 0.4.2

[ ... ]
http://webgen.rubyforge.org....
[ ... ]

Oops, gives me a page with :

Code corrupted. Insert fresh copy.


Regards, Gilbert

Thomas Leitner

3/1/2007 1:52:00 PM

0

> [ ... ]http://webgen.rubyforge.org....
> [ ... ]
>
> 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

Rebhan, Gilbert

3/1/2007 2:16:00 PM

0


Hi,


-----Original Message-----
From: Thomas Leitner [mailto:thomas.leitner@gmail.com]
Sent: Thursday, March 01, 2007 2:55 PM
To: ruby-talk ML
Subject: Re: webgen 0.4.2

> [ ... ]http://webgen.rubyforge.org....
> [ ... ]
>
> 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.

[ ... ]

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

same problem with Firefox 2 and IE 6

Regards, Gilbert




Dimitri Aivaliotis

3/1/2007 4:27:00 PM

0

Hi,

On 3/1/07, Thomas Leitner <thomas.leitner@gmail.com> 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...
http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_sc...

It has a "Minimal Content Model" of "PCDATA", not "EMPTY", so you'll
need to use the dual-tag form: <script></script>.

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

http://openjade.sourceforge.net/d...

HTH,

- Dimitri

Ben Bleything

3/1/2007 4:31:00 PM

0

On Thu, Mar 01, 2007, Thomas Leitner 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=%22Code+corrupted.+Insert+fresh+copy.%22&btnG=Goo...

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

Ben

Thomas Leitner

3/1/2007 4:57:00 PM

0

On Mar 1, 5:26 pm, "Dimitri Aivaliotis" <aglar...@gmail.com> wrote:
> Hi,
>
> On 3/1/07, Thomas Leitner <thomas.leit...@gmail.com> 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_modu...http://www.w3.org/TR/xhtml-modularization/abstract_modules.......
>
> It has a "Minimal Content Model" of "PCDATA", not "EMPTY", so you'll
> need to use the dual-tag form: <script></script>.

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

Bye,
Thomas

Thomas Leitner

3/3/2007 9:01:00 PM

0

> 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.rub...

Bye,
Thomas