Skip Menu |

This queue is for tickets about the Pod-POM-Web CPAN distribution.

Report information
The Basics
Id: 27344
Status: resolved
Priority: 0/
Queue: Pod-POM-Web

People
Owner: Nobody in particular
Requestors: remi.pauchet [...] netasq.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: css pb with firefox and builtin webserver
Date: Wed, 30 May 2007 17:58:31 +0200
To: bug-pod-pom-web [...] rt.cpan.org
From: Rémi Pauchet <remi.pauchet [...] netasq.com>
Hi I've just installed Pod::POM::Web and i get problem with firefox and the css/js display with the builtin webserver. The pages were displayed whithout the style (Syntax coloring, etc...) and without the clickable menu. I tried firefox 1.5, firefox 2.0, with always this problem and at last I try IE7 and it works ! With firebug I saw that the css was downloaded but not used. After some tests I manage to temporarily fix it : I edit the Web.pm and comment the following line in send_content sub : $mime_type .= "; charset=$charset" if $charset; which add the header charset ascii. Without the charset header, firefox loads and display styles. There seems that firefox doesn't like the ascii charset for stylesheets. I also have a question / feature request : I want to use Pod::POM::Web to display help of my app's modules and not the system perl help. At first, added my libraries path to @INC and I can browse in the modules node. Is it possible to generate pages and a reduce index for a specific paths whitout taking @INC ? Thanks for your support. -- Rémi Pauchet
Show quoted text
> There seems that firefox doesn't like the ascii charset for > stylesheets.
Thanks a lot for this bug analysis. Now I understand why chromatic did not see the DHTML features of Pod::POM::Web when he wrote his report (http://www.oreillynet.com/onlamp/blog/2007/05/cpan_module_review_podpo mweb.html) This was a regression bug introduced in v 1.05. Who would have guessed that a Content-type: text/css with charset=ascii would be rejected by Firefox ? But shame on me, it's true that I did not re-test v1.05 on Firefox. Fixed now in v1.06, just uploaded to CPAN. Show quoted text
> I also have a question / feature request : > > I want to use Pod::POM::Web to display help of my app's > modules and not the system perl help. > At first, added my libraries path to @INC and I can browse in > the modules node. > Is it possible to generate pages and a reduce index for a > specific paths whitout taking @INC ?
Good idea, I'll add an option for specifying the dirs (different from @INC). First I thought it would be totally trivial and wanted to add it in v1.06, but then I realised that the application relies on some standard perl pages (like perldoc) for generating the TOC, so it needs a little bit more thinking. Wait for the next relase.