Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rss autodetection fails

0 views
Skip to first unread message

Arioch

unread,
Oct 8, 2010, 6:13:25 AM10/8/10
to
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 ?

--
Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/

Arioch

unread,
Oct 8, 2010, 6:19:32 AM10/8/10
to
В письме от Fri, 08 Oct 2010 14:13:25 +0400, Arioch
<the_A...@nm.falsedomain.ru> сообщал:


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 ?

Remco Lanting

unread,
Oct 8, 2010, 9:25:16 AM10/8/10
to
On Fri, 08 Oct 2010 12:13:25 +0200, Arioch <the_A...@nm.falsedomain.ru>
wrote:

> 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

Arioch

unread,
Oct 13, 2010, 4:11:37 PM10/13/10
to
В письме от Fri, 08 Oct 2010 17:25:16 +0400, Remco Lanting
<remco....@no.spam.at.gmail.com.please> сообщал:

> 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

Arioch

unread,
Oct 14, 2010, 6:03:59 AM10/14/10
to
В письме от Fri, 08 Oct 2010 17:25:16 +0400, Remco Lanting
<remco....@no.spam.at.gmail.com.please> сообщал:

> 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.

0 new messages