Hi. Just an idea for a convenience hack: How about an <update> tag?
When updating a node, one would only add the new text
between <update> tags and
the PM-Script-o-Matic
would render the content as demonstrated below.
Even the time of an update could be entered automatically
- if that is considered useful.
The examples below
display the timestamp as a tool-tip, but it shouldn't
be too difficult to make a timestamp more prominent, i.e. by
means of the same mechanism that is used to show/hide Monk levels (.attribution-title).
Additionally, I also changed the demo-styles
for <ins> (markup for inserted text)
and <del> (markup for deleted text) that
can be used independently from the <update> tag
but also belong to the change marks category.
Pros:
Cons:
I.e., entering this ...
<update> Some new paragraphs. </update> <update>Some new inline text.</update>
<div class="update-block" title="Mar 01, 2009 at 16:20 CET">
<div class="update-tag">Update</div>
<div class="update-body">
Some new paragraphs.
</div>
</div>
<span class="update-inline" title="Mar 01, 2009 at 16:20 CET">
<span class="update-tag">Update:</span>
Some new inline text.
</span>
Thanks.
/* UPDATE (document -> update-block -> update-tag -> update-body)*/ /* Sample CSS suitable for PM themes with light background, e.g. "Perl-Blue Theme" (my default) or "Red Theme". "Dark" themes need further tweaking. */ /* Update-Variant 1: sparse markup */ .del1 { color: #888; text-decoration: line-through; } .ins1 { color: #006; text-decoration: none; } .update-block1 { margin: 0.5em 0.5em; text-align: left; } .update-inline1{ margin: 0.5em 0.5em; text-align: left; } .update-tag1 { text-indent: 0.2em; font-weight: bold; } .update-body1 { margin: 0em 0em 0em 2em; } /* Update-Variant 2: moderate / invisible deletions */ .del2 { display: none; } .ins2 { color: #006; text-decoration: none; } .update-block2 { margin: 0.5em 0.5em; text-align: left; } .update-inline2{ margin: 0.5em 0.5em; text-align: left; font-style: italic;} .update-tag2 { text-indent: 0.2em; font-weight: bold; } .update-body2 { margin:0em 0em 0em 2em; } /* Update-Variant 3: plz hurt my eyes (nice with: Perl Blue Theme) */ .del3 { color: #888; text-decoration: line-through; } .ins3 { color: #00a; text-decoration: none; } .update-block3 { margin: 0.5em 0em 0.5em; text-align: left; background: #eeeeff; border: 1px solid #069; } .update-inline3{ margin: 0.5em 0em 0.5em; text-align: left; background: #eeeeff; border: 1px solid #069; } .update-tag3 { text-indent: 0.2em; font-weight: bold; background: #069; color:#fff; font-variant: small-caps; } .update-body3 { margin: 0em 0em 0em 2em; } /* in case the 'title' attribute is removed from '<div>' tags: */ .update-stamp3 { font-size: smaller; font-variant: normal; } /* ------------------------------------------------------------- */
Tested under Linux with Opera 9.63, Firefox 3.0.6, and Konqueror 4.1.3 - but it should work with all modern browser/OS combinations.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Suggestion for a new tag: <update>
by CountZero (Bishop) on Mar 01, 2009 at 19:44 UTC | |
|
Re: Suggestion for a new tag: <update>
by Perlbotics (Archbishop) on Mar 02, 2009 at 19:53 UTC | |
by ELISHEVA (Prior) on Mar 02, 2009 at 20:22 UTC | |
by JavaFan (Canon) on Mar 02, 2009 at 21:59 UTC | |
by tye (Sage) on Mar 03, 2009 at 06:00 UTC | |
|
Re: Suggestion for a new tag: <update>
by JavaFan (Canon) on Mar 01, 2009 at 22:59 UTC | |
|
Re: Suggestion for a new tag: <update>
by salazar (Scribe) on Mar 02, 2009 at 14:44 UTC |