• 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.

First all, thanks for all efforts w.r.t. TWiki and this plugin.

After installing the plugin, RSS feeds fail. Inspecting the RSS feed reveals that a CR is put in front, causing a non-compliant XML file:

^M
<?xml version="1.0" encoding="ISO-8859-1" ?>

I run the following TWiki config:

  • WIKIVERSION = 04 Sep 2004 $Rev: 1742 $
  • Lots of plugins:
    • DefaultPlugin
    • SpreadSheetPlugin
    • ActionTrackerPlugin
    • CalendarPlugin
    • CommentPlugin
    • EditTablePlugin
    • InterwikiPlugin
    • RenderListPlugin
    • SlideShowPlugin
    • SmiliesPlugin
    • TWikiDrawPlugin
    • TablePlugin
  • Speedy CGI
  • Apache 2.0.52 on RHEL 3.0

In a different installation, there is more unneeded text in the XML:

Expires: 0
Cache-control: max-age=0, must-revalidate
^M
^M
<?xml version="1.0" encoding="ISO-8859-1" ?>

And funny thing is, this text appears at the top of each and every normal page.


Index: lib/TWiki/Plugins/WysiwygPlugin.pm
===================================================================
--- lib/TWiki/Plugins/WysiwygPlugin.pm  (revision 8149)
+++ lib/TWiki/Plugins/WysiwygPlugin.pm  (working copy)
@@ -203,11 +203,11 @@
 # DEPRECATED in Dakar (modifyHeaderHandler does the job better)
 $TWikiCompatibility{writeHeaderHandler} = 1.1;
 sub writeHeaderHandler {
-    return '' if $MODERN;
-
     my $query = shift;
-    return "Expires: 0\nCache-control: max-age=0, must-revalidate\n";
-
+    if( $query->param( 'wysiwyg_edit' )) {
+        return "Expires: 0\nCache-control: max-age=0, must-revalidate";
+    }
+    return '';
 }
Fixed in SVN 8151

CC

ItemTemplate
Summary RSS feeds fail in 04 Sep 2004 after installation
ReportedBy PeterHuisken
Codebase

SVN Range Tue, 03 Jan 2006 build 8080
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins 8151
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2006-01-06 - CrawfordCurrie
 
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