Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Export with Authorship Colors
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike  
View profile  
 More options Dec 21 2011, 3:00 pm
From: Mike <mwar...@mindedge.com>
Date: Wed, 21 Dec 2011 12:00:49 -0800 (PST)
Local: Wed, Dec 21 2011 3:00 pm
Subject: Export with Authorship Colors
before I get started on this, has anyone done this already?  I saw an
old, expired/closed post about it from last year:

http://groups.google.com/group/etherpad-open-source-discuss/browse_th...

Thanks,
Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Martischka  
View profile  
 More options Dec 22 2011, 5:15 am
From: Peter Martischka <petermartisc...@googlemail.com>
Date: Thu, 22 Dec 2011 11:15:38 +0100
Local: Thurs, Dec 22 2011 5:15 am
Subject: Re: Export with Authorship Colors
well, it shouldn't be too diffcult. The quesiton is: why you want this
feature and how many people want it?

On 21 December 2011 21:00, Mike <mwar...@mindedge.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Sievers  
View profile  
 More options Dec 25 2011, 5:49 pm
From: Michael Sievers <michael_siev...@web.de>
Date: Sun, 25 Dec 2011 23:49:16 +0100
Local: Sun, Dec 25 2011 5:49 pm
Subject: Re: Export with Authorship Colors
The authorId is just an attribute, as bold, italic and so on.

The problem is not to extract these information from the pad, but how
to put in in the export format, e.g. the html-export.

I thought about the possibility of writing a generic xml export, which
exports all attributes of the attribute pool and binds these
attributes (and the values) to the corresponding text ranges. The
output of such an xml export could than be transformed in anything
else.

Using xml as an intermediate export result would allow to create one
well-engineered export module and let other exporters just use the xml
instead of working on the attributed text directly.

Just a suggestion.

I have written a LaTeX export modul from scratch some months ago.
Refactoring this code to export xml instead of LaTeX is no big deal. I
will have a look at this next year :)

Cheers and happy holidays!

2011/12/22 Peter Martischka <petermartisc...@googlemail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eugene Mirotin  
View profile  
 More options Dec 26 2011, 11:49 am
From: Eugene Mirotin <emiro...@gmail.com>
Date: Mon, 26 Dec 2011 08:49:23 -0800 (PST)
Local: Mon, Dec 26 2011 11:49 am
Subject: Re: Export with Authorship Colors

For HTML specifically the authors colors can be exported like that

<style>
.text.author-AUTHOR_ID { /* repeated for each of document's authors */
    background-color: AUTHOR_COLOR;
    display: inline-block;

}

</style>

<span class="text author-AUTHOR_ID">text</span>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Dec 28 2011, 10:48 am
From: Mike <mwar...@mindedge.com>
Date: Wed, 28 Dec 2011 07:48:41 -0800 (PST)
Local: Wed, Dec 28 2011 10:48 am
Subject: Re: Export with Authorship Colors
Hi Peter,

we've had a few requests for it.  One of our partners uses Etherpad in
a writing workshop and wants to use the authorship colors as a way to
mimic Word's track changes.

I suppose I could use some js to get the bgcolor CSS for the
author_ids and regex add it to the respective spans before pushing it
to ooffice.

Mike

On Dec 22, 5:15 am, Peter Martischka <petermartisc...@googlemail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Jan 31, 1:39 pm
From: Mike <mwar...@mindedge.com>
Date: Tue, 31 Jan 2012 10:39:40 -0800 (PST)
Local: Tues, Jan 31 2012 1:39 pm
Subject: Re: Export with Authorship Colors
Hi all,

I'm pretty close on this.  I only need to get the bgcolor for each
author and put it inline.  I can fudge it and set any bgcolor I want
and it persists through open office.  Can someone clue me in as to how
to access the list of authors and pad css from a plugin?   There seems
to be a disconnect between plugins and the pad object.

Thanks,
Mike

On Dec 28 2011, 10:48 am, Mike <mwar...@mindedge.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Jan 31, 1:49 pm
From: Mike <mwar...@mindedge.com>
Date: Tue, 31 Jan 2012 10:49:53 -0800 (PST)
Local: Tues, Jan 31 2012 1:49 pm
Subject: Re: Export with Authorship Colors
well, it's already inline.  I'm just adding background-color to the
inline style declaration for the span that I was able to preserve.

On Jan 31, 1:39 pm, Mike <mwar...@mindedge.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Jan 31, 4:38 pm
From: Mike <mwar...@mindedge.com>
Date: Tue, 31 Jan 2012 13:38:01 -0800 (PST)
Local: Tues, Jan 31 2012 4:38 pm
Subject: Re: Export with Authorship Colors
never mind.  I got it.  Just had to pass pad object to the plugin that
was handling the inline styles.  I must have messed something up when
I was passing it earlier.

On Jan 31, 1:49 pm, Mike <mwar...@mindedge.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John McLear  
View profile  
 More options Jan 31, 7:38 pm
From: John McLear <johnym...@gmail.com>
Date: Wed, 1 Feb 2012 00:38:05 +0000
Local: Tues, Jan 31 2012 7:38 pm
Subject: Re: Export with Authorship Colors

I'm really excited to see this :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Feb 1, 9:48 am
From: Mike <mwar...@mindedge.com>
Date: Wed, 1 Feb 2012 06:48:08 -0800 (PST)
Local: Wed, Feb 1 2012 9:48 am
Subject: Re: Export with Authorship Colors
I'm working on generating and retaining the legend now.  When it's
done, I'll email you a link so you can check it out.

On Jan 31, 7:38 pm, John McLear <johnym...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options Feb 1, 2:58 pm
From: Mike <mwar...@mindedge.com>
Date: Wed, 1 Feb 2012 11:58:11 -0800 (PST)
Local: Wed, Feb 1 2012 2:58 pm
Subject: Re: Export with Authorship Colors
I sent you an email with a link sop you can see it in action on my
test server, John.

Mike

On Feb 1, 9:48 am, Mike <mwar...@mindedge.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »