RawViewWithMetaData < Codev < TWiki

topic deprecated - use ?raw=debug

Here is a small hack that may prove useful: a variant of the raw view where you also see the raw metadata. Apply the attached view_rawmeta.patch: patch to bin/view script

Can be useful to rollback versions (including forms) by users

Use: by appending ?meta=on to the url.

can be proposed as a checkbox in templates/oopsmore.tmpl by adding the red text at line 30:

<form name="main" action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%">
 * *View previous topic revision:*
 * Revision: <input type="text" name="rev" size="6" value="%PARAM2%" />
 in <input type="checkbox" name="raw"> raw text format,
 with <input type="checkbox" name="meta"> metadata
 <input type="submit" value="View revision" />
 * Revisions: 1.1 ... %PARAM1%
</form>

-- ColasNahaboo - 01 Feb 2002

TWiki already support setting ?raw=debug if you want to see the meta data. Is this what you require?

-- JohnTalintyre - 01 Feb 2002

You are right! sorry for this topic

-- ColasNahaboo - 28 Feb 2002

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch view_rawmeta.patch r1 manage 2.1 K 2002年02月01日 - 16:44 UnknownUser patch to bin/view script
Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002年02月28日 - ColasNahaboo
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /