• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
I saw this specifically when using RSS without first logging in.

The RSS feeds were being accessed as the TWikiGuest user, which in our system has the COVER = customer setting to disable edit toolbars etc.

However, this pushes the "customer" skin in front of the RSS skin and screws up the XML output.

I fixed it using the following workaround (look for RSS skin anywhere in the skin path and override the skin), but I doubt it is the ideal solution.

Index: View.pm
--- View.pm   (revision 99)
+++ View.pm   (revision 100)

@@ -165,6 +164,10 @@
     my $template = $query->param( 'template' ) ||
       $session->{prefs}->getPreferencesValue( 'VIEW_TEMPLATE' ) ||
+    # Remove any covers if using an rss skin
+    if ($skin =~ /\brss/){
+   $skin = 'rss';}
     my $tmpl = $session->{templates}->readTemplate( $template, $skin );
     if( !$tmpl && $template ne 'view' ) {

This probably needs a re-validation, in light of recent skin and template path improvements.

-- SP

Can not reproduce, no feedback for 9+ months, closing.

-- TWiki:Main.SteffenPoulsen - 17 Sep 2007

Summary RSS feeds break if COVER is used
ReportedBy TWiki:Main.DarrenElkerton
Codebase 4.0.4
SVN Range TWiki-4.1, Mon, 30 Oct 2006, build 11853
AppliesTo Engine

Priority Normal
CurrentState Closed


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-09-17 - SteffenPoulsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback