Re: Problem with print version of web site

BABA Yoshihiko <[email protected]> Wed, 25 Oct 2006 03:24:12 +0900
Newsgroups gmane.os.apple.fink.i18n
Message-ID <[email protected]>
On 25 Oct 2006, at 00:21, Michèle Garoche wrote:

>
> Le 24 oct. 2006 à 14:26, BABA Yoshihiko a écrit :
>
>>
>> On 2006/10/24, at 17:43, Michèle Garoche wrote:
>>
>>> Something seems to not work perfectly when try to view print  
>>> version of documentation where it is available.
>>>
>>> Say I fire up the web site in English language.
>>> Then I choose Documentation, Security.
>>> Then I click on Print Version.
>>>
>>> Ok till know the page is in English.
>>> But suddenly I find it better to read it in French. (this is not  
>>> just a dumb try, it is likely to happen when the user finds a  
>>> part is too difficult to understand in a language).
>>> So I click on Français.
>>>
>>> Result:
>>>
>>> An error has been encountered in accessing this page.
>>>
>>> 1. Server: fink.sourceforge.net
>>> 2. URL path: /doc/security/policy.fr.html
>>> 3. Error notes: File does not exist: /home/groups/f/fi/fink/ 
>>> htdocs/doc/security/policy.fr.html
>>> 4. Error type: 404
>>> 5. Request method: GET
>>> 6. Request query string:
>>> 7. Time: 2006-10-24 01:33:08 PDT (1161678788)
>>>
>>> ...
>>>
>>> This occurs for any page. html version seems to ignore the new  
>>> web site url. And indeed the urls are relative:
>> The filename should be sec-policy.fr.html , not policy.fr.html.
>> I will see XSLT (and relevant) files.
> Oops, wrong analyzis, but real bug.
>
> It is the same for quick-start tutorial:
>
> 1. Server: fink.sourceforge.net
> 2. URL path: /doc/quick-start-pkg/pkg.fr.html
> 3. Error notes: File does not exist: /home/groups/f/fi/fink/htdocs/ 
> doc/quick-start-pkg/pkg.fr.html
>
> which should be: quick-start-pkg.fr.html
>
> Seems that it does not like hyphens.


It seems htmlify.p related problem. When make runs

/usr/bin/perl ../htmlify.pl sec-policy.ja.html.tmp en fr zh ja >sec- 
policy.ja.html

policy, not sec-policy is given as $1.

Could someone see the problem? I have no clue about Perl.

--
BABA Yoshihiko



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642