Hi all,
I'm new here - I work on a project called ICE (
http://ice.usq.edu.au/
introduction/about.htm) which has a similar annotation feature, but I
am keen on exploring
digress.it as another option, as we already use
ICE with word press via AtomPub. I was able to set up a new WP
installation with
digress.it in half an hour or so, which is really
great.
One thing I don't like about the current
digress.it system is the way
it seems to be stripping out all my formatting, in ICE we simply add a
comment anchor to everything that is wrapped in a <p>, as well as
headings - this is easy in our case because our application does the
rendering and we format all lists with <li><p>content</p></li>. I see
elsewhere some talk about using regular expressions to find
paragraphs, but surely that's not necessary using jquery? I'm not an
expert but one of our developers tells me that you can use css
selectors and also access the DOM even for non well-formed documents
so it should be easy to iterate over all the p elements and check that
they are not nested in other p elements.
Anyway, I would like to see a mode where the formatting is NOT touched
at all, for use with systems like ICE which have predictable output,
and I'd be willing to have a go at that. Where does this reformatting
happen, is it in the jquery?
(Also, I am wondering if there is some config I'm missing that turns
off the re-formatting of my document? I can't see any settings for
the plugin at all).
Peter Sefton