Re: [greenstone-users] Netscape 4: problem with classifiers

From Michael Dewsnip
DateTue, 14 Jun 2005 17:14:07 +1200
Subject Re: [greenstone-users] Netscape 4: problem with classifiers
In-Reply-To (42A9222F-9040908-cs-waikato-ac-nz)
Hi Jonathan,

I've had another quick look at this -- just having a <link
rel="stylesheet"> tag seems to be enough to cause the problem, even if
it references an empty stylesheet.

I'm going to blame this problem on Netscape 4. Judging from some of the
pages on the web (eg. http://css.nu/pointers/bugs-nn.html#NN4), Netscape
4's support for CSS was pretty bad, so I don't think it is an unfair
assumption. The fact that viewing the same page under the same
conditions with a different browser works fine seems to suggest that
this is a browser problem and not a Greenstone problem.

>By the way I tried to embed the stylesheet in the page, but it was worse: it doesn't event work with Explorer...
>
>
Did you remember to escape the '{' and '}' characters, by adding a
backslash before them? You need to do this otherwise Greenstone can't
parse the macrofiles correctly. By copying the text from the style.css
file into a <style> tag, and escaping the curly braces, I was able to
get it to work correctly on Netscape 4.

Regards,

Michael

Michael Dewsnip wrote:

>Hi Jonathan,
>
>Thanks for this extra information -- I can now reproduce your problem.
>Unfortunately I've run out of time this week but I'll try to find time
>next week to look into this. Please let me know if you manage to narrow
>it down any further.
>
>Regards,
>
>Michael
>
>
>
>Jonathan Tremblay wrote:
>
>
>
>>Hi,
>>
>>I have sent an email last week about a problem with Netscape 4. If a page contains to much information it doesn't load.
>>
>>Michael has browsed some collections with Netscape without any problem.
>>
>>I got a hard time figuring out about the source of that problem... Now I have found a way to reproduce the bug even with other collections.
>>
>>You will need the garish stylesheet, or any other stylesheet.
>>
>>First add the following line to the GSDL Error function in the style.dm file:
>> <link rel="stylesheet" href="/gsdl/web/images/garish/style.css" type="text/css"/>
>>
>>Then restart the Library, use Netscape 4.X, and go to a page with a lot of nodes such as:
>> Bibliography collection -> Dates -> 1986
>>
>>The page never appears! When the browser stops, if you try to view the page source, you'll find that the page always stop to load at the same point.
>>
>>For example, the "Dates -> 1986" page ends with:
>><tr valign=top><td></td><td></td><td valign=top><a href="gsdl?e=d-0-00-cltbibZz-e--00-1-0Date--0prompt-10---4------0-1l--1-en-1000---50-about---00131-001-0-0utfZz-8-00&a=d&cl=CL3.14&d=HASH94364e5203925b3973f5ff_2128"><img src="/images/book.gif" width=18 height=11 border=0 alt="open this document and view contents" title="open this document and view contents"></a></td> <td valign=top><b>Inductive inference by refinement</b> - <i>P. Laird</i></td>
>></tr>
>><tr valign=top><td></
>>
>>It's like if the page transmission has been stopped...
>>
>>My collection will be distributed on CD. It must works with Netscape 4... it's included with the Export function!
>>
>>Does anybody have a solution? All I can think of is to use basic-old-html for formatting instead of stylesheet, but it breaks my heart.
>>
>>By the way I tried to embed the stylesheet in the page, but it was worse: it doesn't event work with Explorer...
>>
>>Thanks,
>>
>>Jonathan Tremblay
>>
>>--------------------------
>>Michael Dewsnip wrote:
>>
>>
>>
>>
>>
>>>Hi Jonathan,
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>I've just tried browsing a few of my collections with Netscape
>>>Communicator 4.8 (including some with hundreds of elements under nodes),
>>>and didn't notice any problems. Is your collection available on the web
>>>for us to visit?
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>One thing about Netscape 4 is that it is fussier about the HTML that it
>>>accepts. Perhaps it is actually loading the page but not rendering it?
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>Regards,
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>Michael
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>Jonathan Tremblay wrote:
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>>>Hi,
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>My collection works fine with Explorer 6, but I have a problem with Netscape 4: some of my classifiers nodes cannot be opened.
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>If the node contains too much information the page never loads.
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>So, if a node contains 10 or 20 elements there's no problem, but when it contains around 30 or more elements, it cannot be viewed with Netscape.
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>Here's an example of one of those element:
>>>> Deadly Public Policy: HIV/AIDS and Government (In)action
>>>> Subjects: General Resources ; Blood Safety and Supply ; Injection Drug Use and Drug Policy ; Prisons
>>>> Type: Reports and discussion papers
>>>> Publisher: Canadian HIV/AIDS Legal Network (Canada, 2004) [Franâ–ˇais]
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>Any idea of the problem/solution?
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>Thanks,
>>>>Jonathan Tremblay
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>>>_______________________________________________
>>>>greenstone-users mailing list
>>>>greenstone-users@list.scms.waikato.ac.nz
>>>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>
>>>>
>>>>
>>>>
>>>>
>>_______________________________________________
>>greenstone-users mailing list
>>greenstone-users@list.scms.waikato.ac.nz
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>>
>>
>>
>>
>
>
>
>