Re: Sectional Editing
Alex Samad <[email protected]> Wed, 10 Oct 2007 21:47:31 +1000
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
--===============2075949188== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bi5JUZtvcfApsciF" Content-Disposition: inline --bi5JUZtvcfApsciF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 10, 2007 at 09:14:50PM +1300, Murray Altheim wrote: > Dirk Frederickx wrote: >> Evan, >> I've added a reply on jspwiki.org. Hope this is useful to you. >> So far, the feature is only available in brushed-template. >> In jspwiki v2.5.xx, the Brushed-Template was ported to jspwiki, and >> most of the stuff is now part of the default template. >> However, sectional-editing was not part of the port, yet... >> We are considering to improve sectional-editing allowing multiple user >> to edit sections in parallel. And this needs some more time.. > > Dirk, > > Waayy back when, in the mid-90s, I developed an HTML DTD that enforced > level'd sections, a feature that also showed up in the ISO version of > HTML but not in HTML 4 or XHTML 1. I think at one time I'd developed > an XHTML DTD based on the modular DTD that did something similar, all > of which is likely influenced by the section markup of DocBook. What > am I talking about? Basically, a more rigid <div> structure that would > likely be useful on JSPWiki, iff we wanted that level of structure. In > some of the designs (of my own and the ISO work) there was even the > use of <div1> through <div6> but this would have required browser > support so I opted for using 'class' attributes to contain the section > level. This is now called "microformats" by some people (not me). > > The markup would be something like this: > > <body> > <div class=3D"sect1"> > <h1>Section 1 Title</h1> > ... > <div class=3D"sect2"> > <h2>Section 2 Title</h2> > ... > <div class=3D"sect3"> > <h2>Section 3 Title</h2> > ... > </div><!-- end sect3 --> > </div><!-- end sect2 --> > <div class=3D"sect2"> > <h2>Section 2 Title</h2> > ... > </div><!-- end sect2 --> > </div><!-- end sect1 --> > </body> > Just looking at this from a different angle, this is like have x many wiki= =20 pages making up a wiki page.=20 > I've looked at the JSPWikiMarkupParser class a few times with some > mind to generating markup like the above based on an author's use > of heading markup. This would fit right in with sectional editing, > as well as providing better boundaries for CSS, for transclusions, > etc. > > If someone wants to add a feature creating this markup I'm willing > to provide the XHTML DTD that would validate it. When we get to > having more robust metadata support it'd be possible to even add > metadata at a section level, though for most people this is probably > overkill. > > Murray > > .........................................................................= =2E. > Murray Altheim <murray07 at altheim.com> =3D=3D= =3D =3D =3D > http://www.altheim.com/murray/ =3D = =3D =3D=3D=3D > SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk =3D = =3D =3D =3D > > Boundless wind and moon - the eye within eyes, > Inexhaustible heaven and earth - the light beyond light, > The willow dark, the flower bright - ten thousand houses, > Knock at any door - there's one who will respond. > -- The Blue Cliff Record > _______________________________________________ > This is the Jspwiki-users mailing list, in which we discuss the stable=20 > release (even-numbered, 2.4.x, 2.6.x), and user-issues. For development= =20 > discussion, please join jspwiki-dev. > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > http://www.jspwiki.org/JSPWikiMailingList > --bi5JUZtvcfApsciF-- --===============2075949188== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline