[kde-linux] Cannot access certain site

david gnome at hawaii.rr.com
Sat Mar 29 10:18:13 UTC 2008


Kevin Krammer wrote:
> On Saturday 29 March 2008, david wrote:
>> Kevin Krammer wrote:
>>> On Thursday 27 March 2008, david wrote:
>>>> http://fiercestreetnetworks.com/
>>>>
>>>> But it still doesn't work right in Konqueror, while being perfectly
>>>> valid code that works in every other browser.
>>> You know that the site sends different output to Konqueror than to
>>> firefox, right?
>> How can I determine that?
> 
> I did "view source" in both browsers, saved the soures and used diff
> 
>>> Now, why would a "perfectly valid" site do that?
>> I don't know - why don't you ask them? I can't imagine why someone would
>>   bother sending any special coding to Konqueror.
> 
> Usually because they send special versions to browsers they know and crap to 
> anyone else, instead of sending standard compliant output to everyone and 
> have exceptions for prolematic browsers such as IE:

Most web dev folk I've encountered go the other way - they send out 
standard compliant output to everyone and tweak only as needed for IE.

>> The code they send to Firefox and the W3C validator is perfectly-valid
>> HTML and CSS. Conditional comments for IE are also valid code - they're
>> just HTML comments interpreted a particular way by IE browsers.
> 
> Have you checked the version they send to Konqueror?

I just did, thanks for the suggestion of viewing source. Copy and paste 
into the W3C's online validator reports that it's not valid XHMTL 1.0 
Strict. They're calling it XHMTL 1.0 Strict, but they're supplying a mix 
of XHMTL Strict and HTML4.

I don't know what they were sending when Konqueror was flushing 
everything left and overlaying it. If you read down the page a ways, the 
site owner is quite vocal about saying that he prefers to sacrifice 
validity for user experience, and blames any page validation errors on 
any of the 35 WordPress plugins he uses to provide a good user experience.

Anyway, just for grins, I tried the same view source, copy/paste routine 
from Firefox - and the W3C validator gives the exact same validation 
errors. The only difference I noticed is that in the version that 
Konqueror gets, the doctype indicates XHTML 1.0, and the doctype Firefox 
gets indicates XHMTL 1.1. Either way, the errors are the same. Firefox 
handles them, Konqueror doesn't.

-- 
David
gnome at hawaii.rr.com
authenticity, honesty, community



More information about the kde-linux mailing list