Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
description
tag:
The [_1] web of Foswiki. Foswiki is the Free and Open Source Wiki.
This should not mention Foswiki, but WIKITOOLNAME instead.
--
ArthurClemens - 18 Sep 2009
Changing the first occurance of Foswiki to WIKITOOLNAME is easy enough, as in:
%MAKETEXT{"The [_1] web of [_2]. Foswiki is the Free and Open Source Wiki." args="<nop>%WEB%,<nop>%WIKITOOLNAME%"}%
However should we still include the "Foswiki slogan" Or should the web template include the WEBSUMMARY,
%MAKETEXT{"The [_1] web of [_2]. [_3]" args="<nop>%WEB%,<nop>%WIKITOOLNAME%,<nop>%WEBSUMMARY%
We could still keep the slogan available by changing the WEBSUMMARY default for the System web, such as
- #Set WEBSUMMARY = Discover Foswiki - the Free and Open Source Wiki.
- #Set WEBSUMMARY = A Test area to experiment hands-on with Foswiki - the Free and Open Source Wiki.
This also reduces the need to tailor the
WebRss topic at each site.
--
GeorgeClark - 12 Aug 2010
Note that my change to the
WebRss /
WebAtom topics breaks the translations for the hard coded title/description of the feed. However using
WebPreferences WEBSUMMARY in the feed will make the feeds easier to tailor, and reduce the need to edit the individual
WebRss and
WebAtom topics.
Note also that if any argument of the
MAKETEXT contains a comma, it breaks the macro, interpreting the part after the comma as an additional argument. So I had to move the WEBSUMMARY outside of the
MAKETEXT. The final text - which needs adjustments in the translation files is:
RSS Description: %MAKETEXT{"The [_1] web of [_2]." args="<nop>%WEB%,<nop>%WIKITOOLNAME%"}% <nop>%WEBSUMMARY%
Atom Subtitle: %MAKETEXT{"The [_1] web of [_2]." args="<nop>%WEB%,<nop>%WIKITOOLNAME%"}% <nop>%WEBSUMMARY%
--
GeorgeClark - 12 Aug 2010
This needed a few more adjustments. As was pointed out on IRC, neither RSS or Atom feeds accept html markup in the description/subtitle field. The fields are now enclosed in <literal> tags to prevent wikiwords or other markup.
Also modified the
WebPreferences topics - WEBSUMMARY settings to consistently use
MAKETEXT for the default descriptions.
--
GeorgeClark - 13 Aug 2010