one clicks on RSS icon in address bar
and is redirected to random CSS file
why??? headers look okay
Maybe it is due to "function SetCSS(sample)" - but is it supposed to
override such headers ?
--
Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/
MSIE9 autosubscribes okay
Chrome also gots redirected 2 random CSS instead of RSS
trying to reach webmaster
However who is right here about JS overriding Headers ? Chrome/Opera or
MSIE ?
> http://www.mangaworld.org/
>
> one clicks on RSS icon in address bar
>
> and is redirected to random CSS file
>
>
> why??? headers look okay
>
> Maybe it is due to "function SetCSS(sample)" - but is it supposed to
> override such headers ?
Yes, it's due to SetCSS. Why? Because it does this:
var linkis = document.getElementsByTagName("LINK");
for (var i = 0; i < linkis.length; i++) {
linkis[i].href = "/styles/" + randn + ".css";
}
The html has these two:
1) <link rel="alternate" type="application/rss+xml" title="Solaris-SVU"
href="http://www.mangaworld.org/solaris-svu.rss" />
2) <LINK name="CSSLink" href="/styles/def.css" type="text/css"
rel=stylesheet>
I think they assume that case matters, but it doesn't. So they override a
proper working RSS link with a bad one. Contacting the site to fix their
code would be best way to get it working.
--
Remco Lanting
[Unofficial Opera bug tracker links]
http://opera.remcol.ath.cx/bugs |
http://my.opera.com/community/forums/topic.dml?id=217364 |
remco.lanting...@gmail.com
> var linkis = document.getElementsByTagName("LINK");
> 1) <link rel="alternate" type="application/rss+xml" title="Solaris-SVU"
> href="http://www.mangaworld.org/solaris-svu.rss" />
> 2) <LINK name="CSSLink" href="/styles/def.css" type="text/css"
> rel=stylesheet>
>
> I think they assume that case matters, but it doesn't.
I think that they just made it in two steps.
Some one did CSS thing and some another guy made RSS thing without deep
understanding what it is and how it might interfere.
I already mailed them but got no reply, perhaps i'd make ont their forum
later.
However, msie9 beta does not loose the track.
Either it does differentiate <LINK> and <link> (which makes little sense)
or it does not allow scipt to override HTML/HEAD elements (which makes
more sense) or its RSS detector works before any script might work.
Mozilla MineField 3.7 alpha also does not get tricked
> I think they assume that case matters, but it doesn't
no, they really just made it in two independent (andn ot enough tested)
steps
http://solarissvu.freeforums.org/rss-autodetection-fails-t321.html
Strange that they did not react o e-mail, but at least they fixed it.