On Wed, Feb 14, 2007 at 02:55:20PM +1100, Steve Bennett wrote:
On 2/14/07, Andrew Dunbar hippytrail@gmail.com wrote:
In the short term we need to wrap each section and subsection in a div with a class name which reflects the heading. In the long term we need to provide accessor functions that can manipulate sections in a way similar to the DOM. See bug 6104.
Yeah, I understand that we can now transclude sections of other pages. But if it's controlled by section heading or section number, that's a method very prone to breaking. Also, it would be good to be able to demarcate sections of a page *other* than through headings, if possible.
Do you have any proposed syntax or other solution?
Well, my snap reaction is 'microformats'.
If you're going to try to make picking a section out of a different page reliable, then neither section number nor name seems like a good choice of (sub-)address; one is an accident, and the other intended for humans.
I think that there should be some way (and perhaps this is as easy as puting an "<a href="thisisatag"> link in after the section header.
Isn't there some pipe-y syntax that already does something akin to this and tracks the section header?
Cheers, -- jra