Question
Attempting to delete RSS/ATOM for a web that doesn't need it at all. What's the point of making TWiki do more work when it doesn't need to? Or maybe I'm wrong, still I wanna get rid of it.
I tried removing
WebRss and
WebAtom via the filesystem, and it doesn't work. Digged depper, nothing on Web.WebPreferences. Then, apparently
NatSkinPlugin is generating it automatically
<meta name="generator" content="TWiki/NatSkin" /> <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/bin/view/Architecture/WebRss" /
So then I thought, the following settings should work, but it didn't do anything.
* Set RSSREFRESH = 0
* Set WEBRSS =
* Set WEBATOM =
* Set WEBSYNDICATION =
So now I'm stuck, as to what I should do. Hack it all the way to disable it? But then it'll kill other Webs. The only 'solution' I have is 'create' a redundant
WebRss/WebAtom... :/
Clues?
Environment
--
KwangErnLiew - 12 Feb 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You should only need to set WEBSYNDICATION to the empty string to remove the rss links from
NatSkin. The other variables have different meanings. For example, RSSREFERSH is the default refresh rate of aggregated news feeds.
0 means refresh them on every request. You should change it back to a higher value.
The
BlogPlugin uses a function to render the meta information, called RenderHttpEquivs. Change it to your needs.
There's another link to the Atom feeds for all comments on a posting. See RenderBlogComments and delete the link to the atom feed.
--
MichaelDaum - 12 Feb 2007
I've set WEBSYNDICATION as empty, remove everything else. Still no go.
BTW, this is not BlogPlugin, it's just a Web that uses
NatSkin. Should have made it clear.
--
KwangErnLiew - 12 Feb 2007
Ah sorry, it is not enuf to set WEBSYNDICATION to the empty string. You have to set it to something non-empty neutral, e.g.
<!-- -->. The
reason is that the
IfDefinedPlugin checks if the variable WEBSYNDICATION is defined/non-empty and then defaults to a standard string.
--
MichaelDaum - 13 Feb 2007
Ok, so I tried the following
<!--
* Set WEBSYNDICATION =
-->
and,
* Set WEBSYNDICATION = <!-- -->
and,
* Set WEBSYNDICATION = <!-- empty here -->
Still no go. Maybe I'm not understanding it correctly...? :/
--
KwangErnLiew - 13 Feb 2007
Sorry, closing this question after more than 30 days...
--
PeterThoeny - 02 Apr 2007