Re: Syndication feed available on cr.openjdk.java.net

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Syndication feed available on cr.openjdk.java.net

by Anthony Petrov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The feed does not work with the Opera web-browser. I tested Opera 9.64
on both Linux and Windows: when clicking the RSS orange icon in the
address bar, the browser presents the .xml content of the feed as a
plain text instead of subscribing to the feed. I double checked, other
feeds - like from the blogspot.com - work correctly. Firefox 3, however,
reads the cr.openjdk feed correctly.

I guess there's either a problem with the http-server settings so that
it reports an incorrect Content-Type: for the feed, or the generated
.xml for that feed is slightly invalid/non-quite-standards-conformant.
Could anyone take a look at the issue please?

--
best regards,
Anthony


On 03/30/2009 09:55 PM Tim Bell wrote:

> Ongoing updates of postings to cr.openjdk.java.net are now visible via:
>
>     http://cr.openjdk.java.net/feed.atom
>
> Feel free to subscribe to this stream it you would like to follow it.
>
> To those publishing webrevs or other materials on cr.openjdk.java.net-
> Please refer to the updated example on the main page:
>       http://cr.openjdk.java.net
> for how to customize the title and description fields on your feed
> entries.  Default values will be used if necessary, so this step is
> optional and not required.
>
> Feedback is welcomed on web-discuss(at)openjdk.java.net.
>
> Best Regards-
>
> Tim
>
>

Re: Syndication feed available on cr.openjdk.java.net

by tim.bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anthony Petrov wrote:

> The feed does not work with the Opera web-browser. I tested Opera 9.64
> on both Linux and Windows: when clicking the RSS orange icon in the
> address bar, the browser presents the .xml content of the feed as a
> plain text instead of subscribing to the feed. I double checked, other
> feeds - like from the blogspot.com - work correctly. Firefox 3, however,
> reads the cr.openjdk feed correctly.
>
> I guess there's either a problem with the http-server settings so that
> it reports an incorrect Content-Type: for the feed, or the generated
> .xml for that feed is slightly invalid/non-quite-standards-conformant.
> Could anyone take a look at the issue please?

Thank you for reporting the problem - and for providing the diagnosis!

This was caused by a configuration change I made in the web server on
cr.ojn to tag most files as "text/plain"[1].  This works well for the
large variety of file extensions presented in webrevs, but as you
reported is wrong for the feed.  I guess Opera is checking the mimetype
rather than using the data at the top of the feed, which firefox seems
to do.

I updated the configuration to tag the atom feed to be "text/xml".  I
tested this using Opera on one of our Solaris/SPARC lab servers[2] and
it seems to be OK.  Note that I had to exit the Opera browser and
restart it before it noticed the change in mime type for that page.

Please let me know if it is not working for you.

Best regards-
Tim Bell

[1]http://mail.openjdk.java.net/pipermail/web-discuss/2009-March/000068.html
[2]Yes, they build a Solaris/SPARC version, and good for them!

Re: Syndication feed available on cr.openjdk.java.net

by Anthony Petrov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4/1/2009 9:16 PM Tim Bell wrote:
> I updated the configuration to tag the atom feed to be "text/xml".  I
> tested this using Opera on one of our Solaris/SPARC lab servers[2] and
> it seems to be OK.  Note that I had to exit the Opera browser and
> restart it before it noticed the change in mime type for that page.
>
> Please let me know if it is not working for you.
I've just tried it, and it worked well. Thank you very much!

> [2]Yes, they build a Solaris/SPARC version, and good for them!
This is actually amazing! I noticed before they had the Solaris/SPARC
version on their download page, but I thought it might be as outdated
as, for instance, their BeOS, QNX, and OS/2 versions are. But they have
the latest Opera 9.64 for Solaris/SPARC. Lovely!

--
best regards,
Anthony