On Thu, 28 Aug 2003, Ralph Slooten wrote:
On Thu, 28 Aug 2003 12:57:36 -0400 (EDT) "Andrew A. Gill" <superluser@frontiernet.net> wrote:
I've been having a problem with dillo rendering some portions of text. For instance, the Google sponsored links always take up vertical space before the results.
Normally, this isn't something that I really care about, but now it's causing slashdot to be rendered as black-on-black text, thus depriving me of my ability to read about the new MD5 sums that the RIAA is using.
Yes, I'm getting this too since today. It's probably a small html error somewhere, but it's totally skrewed up dillo's rendering to the fullest here.
Unfortunately slashdot is sending awful HTML-like content. The black text can be explained because they explicitly set the background, textcolor and visited links to black! (<BODY ...>). Probably it changes with CSS.
Since about 2 weeks ago I'm also getting a black border on the right (with exception to today of course where most of the page is black) which just takes up valuable space ;-)
Tried the light mode too like Frank suggests, but I prefer the default layout myself. Anyway, it's not a dillo problem I think, as I get a total of 530 errors just on the index page itself!!!!! Check now too if ya want: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org%2F
Try with "force_my_colors=YES". Now, it still shows several rendering problems. If those are because of lack of implementation of "floats" we should fix it someday. If it's because of bad HTML, you know our policy. OTOH, I believe slashdot webmasters will not pose major problems to fix their HTML if they're emailed with the facts... Please investigate those and report to them. Cheers Jorge.-
On Fri, 29 Aug 2003 10:31:29 -0400 (CLT) Jorge Arellano Cid <jcid@softhome.net> wrote:
Try with "force_my_colors=YES".
Yes, this works, althought the rendering is totally shit ;-) ... definitly not a dillo problem in this case. The problem with Slashdot is that there are just so many tables / blocks that it makes it almost impossible to locate the precise bug (although if I am correct the page is filled with bugs).
Now, it still shows several rendering problems. If those are because of lack of implementation of "floats" we should fix it someday. If it's because of bad HTML, you know our policy.
Yes, Dillo's policy is good... if the html is wrong then that's too bad. BUT... but but but, instead of manually running through all the code, I tried it with "tidy", which found a grand total of 254 warnings and 0 errors... Well, as for 0 errors, I would say 254 warnings should be more than enough to validate one big error ;-) After running the saved page through tidy, it actualy renders, and renders well!
OTOH, I believe slashdot webmasters will not pose major problems to fix their HTML if they're emailed with the facts...
Please investigate those and report to them.
Yes, I have reported a bug about bad HTML on the sourceforge site. It's not really a matter of bad HTML, as the HTML seems resonable, but they are using terms and codes which are definitely not HTML compliant I would say. If you are interested in the output I have put up the origional page with the "fixed" version, and output of warnings / errors here: http://members.rott.chello.nl/r.slooten2/dillo/ You will see here that it appears as if I'm still logged in.. for some reason I cannot log out, LOL .. but that's not the issue.. you can just see how many invalid html commands they seem to be using, and that after the removal of this, and the insertion of several <font> and </font> attributes fixes the whole page which then renders perfectly in Dillo. Greetings Ralph -- http://axljab.homelinux.org:8080/ "...the software said Win95 or better, so I installed Linux"
On Sat, 30 Aug 2003 13:47:13 +0200 Ralph Slooten <ralph@genesys.ro> wrote:
After running the saved page through tidy, it actualy renders, and renders well!
Umm, just discovered that this only works for me when logged in. If I move my cookies somewhere else, re-open slashdot with dillo, save that page and try with tidy, it fails... Just thought I would let you all know before you go blue in the face trying ;-) Greetings Ralph -- http://axljab.homelinux.org:8080/ "...the software said Win95 or better, so I installed Linux"
It seems slashdot.org has serious issues with it's code, so bad that it makes it impossible, hard, or just a PITA to view with Dillo. Instead of patching dillo to render these pages despite obvious errors, I did a bit of simple PHP coding to do the following: I wrote a small php script to download a current working version of slashdot using a Mozilla cookie, wget, tidy and sed. It seems to work fine now with dillo, but probably will skrew up from time to time if 2 users at exactly the same time try refresh the page (I can't be bothered to make this into a full-blown project). It's only ment as a temp solution, and also _only_ supports the main page, linking goes directly to /.'s site, where the rendering is messed up again. http://axljab.homelinux.org:8080/slashdot/ Yeah, this is only for you /. junkies that love using Dillo, and although my internet connection may not be the best in the world, who knows, it may even work for you ;-) Also the page I created will not parse the page like in your own cookies, but is simply the default page using a cokkie of my own, but heck, it's the main page that's most interesting isn't it. Another note, each time the page is refreshed, the php downloads a new copy of/. .... so please don't abuse by continuously refreshing as it will kill my bandwidth, and possibly get me banned from slashdot altogether. Enjoy, and let me know if it works for you ... I love success stories ;-) Greetings Ralph -- http://axljab.homelinux.org:8080/ "...the software said Win95 or better, so I installed Linux"
On Fri, 29 Aug 2003, Jorge Arellano Cid wrote:
On Thu, 28 Aug 2003, Ralph Slooten wrote:
On Thu, 28 Aug 2003 12:57:36 -0400 (EDT) "Andrew A. Gill" <superluser@frontiernet.net> wrote:
Normally, this isn't something that I really care about, but now it's causing slashdot to be rendered as black-on-black text, thus depriving me of my ability to read about the new MD5 sums that the RIAA is using.
Yes, I'm getting this too since today. It's probably a small html error somewhere, but it's totally skrewed up dillo's rendering to the fullest here.
Unfortunately slashdot is sending awful HTML-like content.
The black text can be explained because they explicitly set the background, textcolor and visited links to black! (<BODY ...>).
Probably it changes with CSS.
No, slashdot does not use CSS. The white background is created by tables and is still visible, but articles now seem to be on the side of it, not on it (talking about main page). Probably some table/tr tags are in wrong order and screw up the push/pop parsing. Reason why i think so is that the slashdot page can be seen quite ok in dillo with this patch: @@ -1139,6 +1146,8 @@ static void Html_pop_tag(DilloHtml *html Html_eventually_pop_dw(html); return; } + if (Html_match_tag(html->stack[tag_index].tag, "table>", 6)) + break; } /* Not found, just ignore. */ } But yes, its a workaround for buggy html (not invented for slashdot) and a fact that it helps just quite proves that the slashdot page has problems with tables (along other bad html). I tried to find the problem from slashdot index page, but it was such a bloody mess that my sleepy brain could not parse it at all...
On Fri, 29 Aug 2003 10:31:29 -0400 (CLT) Jorge Arellano Cid <jcid@softhome.net> wrote:
Now, it still shows several rendering problems. If those are because of lack of implementation of "floats" we should fix it someday. If it's because of bad HTML, you know our policy.
OTOH, I believe slashdot webmasters will not pose major problems to fix their HTML if they're emailed with the facts... Please fix it (at least the double </td></tr>).
Please investigate those and report to them.
I have saved the index page (http://slashdot.org/) and edited it a bit. I hope the error ist still in common code. I found this: This simple fix makes the page readable with dillo! --- slashdot.html Mon Sep 1 14:00:58 2003 +++ slashdot1.html Mon Sep 1 14:19:05 2003 @@ -11,8 +11,8 @@ MARGINWIDTH="0" MARGINHEIGHT="0"> <!-- begin OSDN Navbar --> -<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999"> <FORM ACTION="http://www.osdn.com/osdnsearch.pl" METHOD="GET"> +<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999"> <tr><td><FONT size="-1"> <a href="http://www.osdn.com" title="click to visit OSDN.com!"><B><FONT color="#006699">OSDN</FONT></B></A> @@ -55,8 +55,8 @@ <td nowrap width="20" align="right" valign="middle"><FONT size="-1"><A HREF="//slashdot.org/users.pl?op=savemiscopts&opt_osdn_navbar=0"><B>X</B></A> </FONT></td> </tr> -</FORM> </table> +</FORM> <!-- end OSDN Navbar --> @@ -158,7 +158,7 @@ <A HREF="//science.slashdot.org">Science</A></FONT><BR> <font size="1"><B>4 more</B></FONT></TD></TR> <TR><TD ><FONT SIZE="2"> <A HREF="//yro.slashdot.org">YRO</A></FONT></TD></TR> -<!-- /TABLE --></TD></TR> +<!-- /TABLE --> <TR><TD> </TD></TR> <TR> <TD bgcolor="#006666"><FONT color="#FFFFFF"> Help</FONT></TD> Greetings Andreas Kemnade
participants (4)
-
Andreas Kemnade
-
Jorge Arellano Cid
-
Madis Janson
-
Ralph Slooten