Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-29 Thread Dale Amon
On Mon, Aug 29, 2011 at 07:58:39AM +0300, Marius Dumitru Florea wrote:
 On Fri, Aug 26, 2011 at 8:30 PM, Dale Amon a...@vnl.com wrote:
  On Fri, Aug 26, 2011 at 10:04:29AM +0300, Marius Dumitru Florea wrote:
  On Fri, Aug 26, 2011 at 9:35 AM, Dale Amon a...@vnl.com wrote:
   On Thu, Aug 25, 2011 at 11:42:15PM -0400, Sergiu Dumitriu wrote:
   More at http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter
  
   A few comments on human factors. Although this looks like it
   might be exactly what I want, for a person unfamiliar with
   the terminology it is not at all clear how to proceed.
  
 
   In Administer Wiki, I see Applications, but the only thing which
   seems to pop out is 'Extension Manager' which claims to not really
   be safe to use yet. And it is not clear where an extension is
   synonymous with a plugin, which is what the OfficeImporter is
   documented as being.
 
  You missed the OpenOffice Server administration section? From there
  you can start the OpenOffice server, which is used by the office
  importer module to import/convert office documents. Of course, you
  need to configure the OpenOffice server connection first, and this is
  described on 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
  (there is a link to this page from
  http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter ).
 
 
 
  Well, I installed pretty much everythings which said libreoffice, as
  that is the Ubuntu and Debian standard.
 
 I hope you read my notice from my previous mail. I'm pasting it here:
 
 Note that there was an issue with the latest versions of both office
 servers, http://jira.xwiki.org/jira/browse/XWIKI-6832 , which was
 fixed recently in our code. So you either install on older version of
 OpenOffice/LibreOffice (e.g. 3.2) or use the latest XWiki Enterprise
 3.2 snapshot (becuse 3.2M3 wasn't released yet).
 
 
  Then I changed the openoffice.homepath=/usr/lib/openoffice/
 
 It should be /usr/lib/libreoffice/ because you installed LibreOffice
 and not OpenOffice.
 
  Rebooted the VM just to be sure everything was updated.
  Force the current page to clear on my laptop.
  In the Administer-Configuration-Open Office I tried to 'Update'.
  It replies:
 
 
  Failed to execute the [velocity] macro
 
 If you click on it you should see the full error message, including a
 stack trace which is very useful to understand the problem. Otherwise
 you can look at the server console/log.
 
 Hope this helps,
 Marius

We had to manually created and populate the default path that 
was selected:

mkdir -p /usr/share/tomcat6/.openoffice.org/3

and I used rsync to copy my laptop /home/amon/.openoffice
directory to the server. That seems to have made it work.
I have no idea why the set up had not autopopulated this directory
and required such extreme measures.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-26 Thread Dale Amon
On Thu, Aug 25, 2011 at 11:42:15PM -0400, Sergiu Dumitriu wrote:
 More at http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter

A few comments on human factors. Although this looks like it
might be exactly what I want, for a person unfamiliar with
the terminology it is not at all clear how to proceed.

In Administer Wiki, I see Applications, but the only thing which
seems to pop out is 'Extension Manager' which claims to not really
be safe to use yet. And it is not clear where an extension is
synonymous with a plugin, which is what the OfficeImporter is
documented as being.

A search on my Wiki comes up with a blank on 'Plugin'.

On the XWiki document URL, there is no link that tells you
how to download and install the plug in on your own XWiki,
at least not that I have seen.

I imagine this is the way a lot of new users will hit the
issue of plugins; while I may find out how by doing some
hours of RTFM, it just seems there should be something
simple and obvious on my xwiki for installing a plug in
as an administrator. Maybe there is and it is just a matter
of unfamiliar terminology.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-26 Thread Marius Dumitru Florea
On Fri, Aug 26, 2011 at 9:35 AM, Dale Amon a...@vnl.com wrote:
 On Thu, Aug 25, 2011 at 11:42:15PM -0400, Sergiu Dumitriu wrote:
 More at http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter

 A few comments on human factors. Although this looks like it
 might be exactly what I want, for a person unfamiliar with
 the terminology it is not at all clear how to proceed.


 In Administer Wiki, I see Applications, but the only thing which
 seems to pop out is 'Extension Manager' which claims to not really
 be safe to use yet. And it is not clear where an extension is
 synonymous with a plugin, which is what the OfficeImporter is
 documented as being.

You missed the OpenOffice Server administration section? From there
you can start the OpenOffice server, which is used by the office
importer module to import/convert office documents. Of course, you
need to configure the OpenOffice server connection first, and this is
described on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
(there is a link to this page from
http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter ).


 A search on my Wiki comes up with a blank on 'Plugin'.


 On the XWiki document URL, there is no link that tells you
 how to download and install the plug in on your own XWiki,
 at least not that I have seen.

Office importer is listed as one of the platform features which means
it is available by default. You don't have to install anything. Also,
on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
, in the information box on the top right corner, it is written that
this application is bundled with XWiki Enterprise so you don't have to
install it either.


 I imagine this is the way a lot of new users will hit the
 issue of plugins; while I may find out how by doing some
 hours of RTFM, it just seems there should be something
 simple and obvious on my xwiki for installing a plug in
 as an administrator. Maybe there is and it is just a matter
 of unfamiliar terminology.

The steps you should take are:

1. Install (if you don't have it already) OpenOffice or LibreOffice on
the machine where XWiki Enterprise runs. Note that there was an issue
with the latest versions of both office servers,
http://jira.xwiki.org/jira/browse/XWIKI-6832 , which was fixed
recently in our code. So you either install on older version of
OpenOffice/LibreOffice (e.g. 3.2) or use the latest XWiki Enterprise
3.2 snapshot (becuse 3.2M3 wasn't released yet).

2. Configure the connection to the office server as described on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
(you have to edit xwiki.properties and restart the XWiki Enterprise
server).

3. Connect/start to the office server from the OpenOffice Server
administration section.

4. Use the Import menu from the WYSIWYG editor.

Hope this helps,
Marius


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-26 Thread Dale Amon
On Fri, Aug 26, 2011 at 10:04:29AM +0300, Marius Dumitru Florea wrote:
 On Fri, Aug 26, 2011 at 9:35 AM, Dale Amon a...@vnl.com wrote:
  On Thu, Aug 25, 2011 at 11:42:15PM -0400, Sergiu Dumitriu wrote:
  More at http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter
 
  A few comments on human factors. Although this looks like it
  might be exactly what I want, for a person unfamiliar with
  the terminology it is not at all clear how to proceed.
 
 
  In Administer Wiki, I see Applications, but the only thing which
  seems to pop out is 'Extension Manager' which claims to not really
  be safe to use yet. And it is not clear where an extension is
  synonymous with a plugin, which is what the OfficeImporter is
  documented as being.
 
 You missed the OpenOffice Server administration section? From there
 you can start the OpenOffice server, which is used by the office
 importer module to import/convert office documents. Of course, you
 need to configure the OpenOffice server connection first, and this is
 described on 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Application
 (there is a link to this page from
 http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter ).
 

Well, I installed pretty much everythings which said libreoffice, as
that is the Ubuntu and Debian standard.

Then I changed the openoffice.homepath=/usr/lib/openoffice/
Rebooted the VM just to be sure everything was updated.
Force the current page to clear on my laptop.
In the Administer-Configuration-Open Office I tried to 'Update'.
It replies:

Failed to execute the [velocity] macro

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-25 Thread Sergiu Dumitriu
On 08/25/2011 09:49 PM, Dale Amon wrote:
 On Mon, Aug 22, 2011 at 08:29:42PM +0200, Guillaume Lerouge wrote:
 Hi Dale,

 you should try using the Office Import feature and/or the past from Office
 button available through the WYSIWYG editor instead of copy/pasting straight
 in the content area.

 Both feature require the Office Importer module to be up and running.

 Does this differ from the XWiki Office stuff?

Yes, it's not related at all. The Office Importer runs on the server, 
and it relies an on OpenOffice/LibreOffice running in server mode. Then 
the XWiki platform forwards requests to this server on behalf of the 
users to convert foreign content (office documents or content pasted 
from them) into HTML that can be further parsed, cleaned and transformed 
into wiki content.

More at http://platform.xwiki.org/xwiki/bin/Features/OfficeImporter

 Does it work with Open Office as well? My team is mixed Windows
 and Linux.

Yes.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-25 Thread Dale Amon
Thanks. I'm taking a look at it.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-23 Thread Paul Libbrecht
Guillaume, others,

I think such a rich copy-and-paste as he describes is becoming slowly possible 
with the HTML5 and browser-specific APIs which are emerging. 
It'd probably take a GSOC to do it but things such as:
- html code (full, typically sanitized)
- rtf
- images (for sure png and jpeg, most probably pdf and svg)
- bookmarks-list
- math formulæ
Could be received by a visual editor provided that editor uses these APIs to 
receive drops or pastes.
It surely is not done yet (actually, in no visual editor I know of, but I 
wouldn't exclude a pure MS-world would have it).

paul

Le 22 août 2011 à 20:29, Guillaume Lerouge a écrit :

 Hi Dale,
 
 you should try using the Office Import feature and/or the past from Office
 button available through the WYSIWYG editor instead of copy/pasting straight
 in the content area.
 
 Both feature require the Office Importer module to be up and running.
 
 Guillaume
 
 On Mon, Aug 22, 2011 at 7:59 PM, Dale Amon a...@vnl.com wrote:
 
 Also a problem when I cut an entire document (a proposal template)
 and paste it into the new document. All the attached images and links
 are completely effed in the copy.
 
 I'm trying to figure out how to fix them by typing in the
 source window, but that is a really bad solution if that is
 what I have to do. I just keep imagining what is going to
 happen when I toss an English major into XWiki to 'just write'...
 
 I presume the link issues are a known problem?

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-22 Thread Dale Amon
Also a problem when I cut an entire document (a proposal template)
and paste it into the new document. All the attached images and links
are completely effed in the copy.

I'm trying to figure out how to fix them by typing in the
source window, but that is a really bad solution if that is
what I have to do. I just keep imagining what is going to
happen when I toss an English major into XWiki to 'just write'...

I presume the link issues are a known problem?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with copy and paste of lines with file attachments

2011-08-22 Thread Guillaume Lerouge
Hi Dale,

you should try using the Office Import feature and/or the past from Office
button available through the WYSIWYG editor instead of copy/pasting straight
in the content area.

Both feature require the Office Importer module to be up and running.

Guillaume

On Mon, Aug 22, 2011 at 7:59 PM, Dale Amon a...@vnl.com wrote:

 Also a problem when I cut an entire document (a proposal template)
 and paste it into the new document. All the attached images and links
 are completely effed in the copy.

 I'm trying to figure out how to fix them by typing in the
 source window, but that is a really bad solution if that is
 what I have to do. I just keep imagining what is going to
 happen when I toss an English major into XWiki to 'just write'...

 I presume the link issues are a known problem?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users