Item2178: WebRss does not expand title correct
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
The $web is missing. Also the non existing space between the title tag prevents link expansion.
original:
<title>$topic</title>
This one works also with
MichaelDaum topic title function but it adds an "a" tag to the title. Validator says it´s standard conform and it works with Firefox and Safari.
<title> $web.$topic </title>
It works best with GETTOPICTITLE which comes with
DBCachePlugin:
<title>$percntGETTOPICTITLE{\"$web.$topic\"}$percnt</title>
--
AndreUlrich - 29 Sep 2009
I don't understand the issue. The RSS feed appears to correctly link to the topic, and the feed is "web specific", so what value is adding the $web to the title? The links are all correct even without the $web prefix. Is this actually still an issue? The links are inserted explicitly now and don't depend upon a space.
As far as using the
DBCachePlugin, That's not a core extension so we can't use it in the default RSS feeds.
--
GeorgeClark - 12 Aug 2010
Can´t remember the situation correctly, but I guess it was important to display also the web within the RSS title. This is of course only important when you are using more than one web for content, but should be default as Foswiki supports this out of the box.
If this was only needed by me this could be closed.
--
AndreUlrich - 28 Aug 2010
So if I understand this correctly, on the
WebRss search,
format="<item rdf:about=\"%SCRIPTURL{"view"}%/$web/$topic\">$n <title>$topic</title>$n <link>%SCRIPTURL{"view"}%/$web/$topic</link>
should be changed to:
format="<item rdf:about=\"%SCRIPTURL{"view"}%/$web/$topic\">$n <title>$web.$topic</title>$n <link>%SCRIPTURL{"view"}%/$web/$topic</link>
This results all topics being prefaced with the webname, which is a bit noisy in a single web rss feed, which is the default. I'll ask others for some feedback.
As far as the non-linking because of the missing space, I believe that has been fixed. I can't find any examples of it happening.
Arthur, could I get your opinion on this one?
--
GeorgeClark - 28 Aug 2010
After some IRC discussion. A multi-web RSS is somewhat rare, so it's better to not add the web as a default.
If we were to distribute a "SiteRss" topic that aggregated multiple webs, that would be the place take this approach. So changing this Task to "No Action required"
--
GeorgeClark - 28 Aug 2010