[kde-freebsd] Konqueror && RSS feeds
Matthias Apitz
guru at Sisis.de
Mon Nov 12 09:29:58 CET 2007
El día Sunday, November 11, 2007 a las 08:01:35PM +0100, Michael Rudolph escribió:
> On Sunday 11 November 2007 16:14:23 Matthias Apitz wrote:
> > El d?a Saturday, November 10, 2007 a las 05:55:23PM +0100, Michael
> Rudolph escribi?:
> > > On Saturday 10 November 2007 15:49:59 Matthias Apitz wrote:
> > > > Hi,
> > > >
> > > > I'm using Konqueror 3.5.4 on FreeBSD 6.2 as my favourite
> > > > OS and browser. I've a question concerning attaching RSS feeds
> > > > to my RSS reader aKregator: Some of the pages, like for example
> > > > this one: http://www.rebelion.org/ have an RSS button in the
> > > > right lower corner of the Konqueror window and I can, clicking
> > > > with left mouse button on it, attach this feed to aKregator.
> > > >
> > > > Other pages, like for example
> > > > http://www.puntodevistainternacional.org/spip.php?rubrique7
> > > > have some RSS like image in the page itself which in real is
> > > > a hyperlink to another page which just is XML code, and of
> > > > course for the missing CSS not presented well in Konqueror.
> > > >
> > > > While the first one seems to be really a 'service', because
> > > > after attaching it to aKregator, the aKregator is fetching from
> > > > there the news, the second one seems for me just to be some
> > > > additional page without any network based service.
> > > >
> > > > Can someone bring a bit light into this? Thanks in advance
> > > >
> > > > matthias
> > >
> > > Hi Matthias,
> > >
> > > here's my quick, but not necessarily correct, answer.
> > >
> > > The konqueror add-on, that displays the feed button in the
> > > statusbar that you describe is looking for a "link" element in
> > > webpages, if it finds something like this in the header of a page:
> > >
> > > <link rel="alternate" type="application/rss+xml"
> > > href="http://domain/feed/atom1.0" />
> > >
> > > the button will be displayed. But if the website does not provide
> > > this link information the add-on will not know about associated
> > > feeds, and therefore not display a button.
> > >
> > > I hope that helps.
> >
> > Hi Michael,
> >
> > That was as well already my observation and I've played around with
> > this. As you say, if the above link-tag is included in the header of
> > a page it works in Konqueror. Let me bring my question to the point:
> > How this (RSS feed connectors) must be included in the correct way in
> > web pages? Is there some RFC or other specification for this?
> >
> > Thx
> >
> > matthias
>
> Hi Matthias,
>
> since you seem to be seriously looking for an answer, I'll try to
> formulate a suitable reply.
>
> Otherwise I'd just laugh and ask if you are serious. This is the web
> afterall.
>
> For XHTML 1.0 you could have a look at it's DTD:
>
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
>
> At around line 290 you will find a comment like this one, describing the
> relationships that might be expressed using the "rel" attribute of
> the "link" element:
>
> <!--
> Relationship values can be used in principle:
>
> a) for document specific toolbars/menus when used
> with the link element in document head e.g.
> start, contents, previous, next, index, end, help
> b) to link to a separate style sheet (rel="stylesheet")
> c) to make a link to a script (rel="script")
> d) by stylesheets to control how collections of
> html nodes are rendered into printed documents
> e) to make a link to a printable version of this document
> e.g. a PostScript or PDF version (rel="alternate" media="print")
> -->
>
> So if I read this correctly and don't overlook something obvious, then
> there is no specification for the behaviour you are looking for. The
> handling of RSS feeds you describe seems to just be an implicit
> standard.
>
> I hope that helps.
Hi Michael,
First of all, thanks for the explanations given so far by you.
And just to make this sure: my concern is very seriously, because
we are on the way to implement RSS feeds in one of our applications
and I'm looking for the correct way to do this.
I saw in the usage of RSS connectors these two forms, either
putting them into the header of the page (like described
above in the 'link' element) or having them as HREF-icons
in the <body> of the page, pointing to some XML code. My
question is, which of the both methods is the correct one?
I'd say the 1st one, i.e. in the <head>'s 'link' element, and I
am looking for specifications or RFC's about this.
Thx
matthias
--
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <m.apitz at oclcpica.org> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
More information about the kde-freebsd
mailing list