Formatting issues

1 view
Skip to first unread message

Peter Sefton

unread,
Aug 21, 2009, 12:26:17 AM8/21/09
to digress.it
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

Eddie A. Tejeda

unread,
Aug 23, 2009, 11:30:06 AM8/23/09
to commen...@googlegroups.com
Hi Peter,


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?

That's definitely possible. I started doing the formating stuff with PHP for performance issues, but you're right, there should be a way to keep it all in Javascript.


(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).

I will see if i can add that. I will keep the list posted on that.


Peter Sefton



Joss Winn

unread,
Aug 23, 2009, 11:52:59 AM8/23/09
to commen...@googlegroups.com

On 23 Aug 2009, at 16:30, "Eddie A. Tejeda" <eddie....@gmail.com>
wrote:
Peter , all config options are under the Appearance menu in the
WordPress Dashboard.


>>
>> Peter Sefton
>>
>>
>
>
> >
Reply all
Reply to author
Forward
0 new messages