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

TWikiScripts has this documentation:

For historical reasons, the view script has a special interpretation of the text skin. In earlier TWiki versions the skin=text parameter was used like this: http://.../view/MyWeb/MyTopic?skin=text&contenttype=text/plain&raw=on which shows the topic as plain text; useful for those who want to download plain text for the topic. Using skin=text this way is DEPRECATED, use raw=text instead.

The view?raw=text only covers the raw=debug functionality. The raw=on functionality is missing, it returns the raw text as seen in edit mode, e.g. without meta data. The skin=text&contenttype=text/plain&raw=on can be retired in the future, but another command with same functionality should be provided. Not sure what a good parameter value is, possibly view?raw=edit.

-- PTh

Are you seeing a bug with raw=on? It works fine for me, and is documented in the parameters to the view script.

Discarded.

CC

May be I did not express myself clearly. We need two different "raw views", one returning text with meta data (same as file; implemented with raw=text), and one without (same as when editing a topic; missing implementation). Both as plain text, without a textarea.

-- PTh

To get a feel for the degree of confusion in Cairo around this issue see http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item450. You are right, and Item1212 was an error, so I reverted it. raw=text was always intended to return the text field of the topic. What I really needed to do was add raw=all to show metadata as well. Though it escapes me why anyone would want to view raw=text (new definition)

SVN 8324

CC

ItemTemplate
Summary View script to view raw text in edit and file content mode
ReportedBy PeterThoeny
Codebase

SVN Range Sat, 14 Jan 2006 build 8289
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 8324
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2006-01-16 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback