From: WEBER P. <Pat...@co...> - 2008-07-25 13:59:39
|
Well, just another thing... in my example I was supposing /var/www/ is the home directory of your webserver. If not, you will have to create those two directories in another place (webserver home). Nyloth. -----Original Message----- From: tik...@li... [mailto:tik...@li...] On Behalf Of WEBER Patrice Sent: Friday 25 July 2008 15:52 To: Pete Jalajas Cc: Tikiwiki developers Subject: Re: [Tikiwiki-devel] Need help implementing RTF creation Hi Pete, The only mods for PDF that really works nice for TikiWiki 2.0+ is mozilla2ps. We are using it here. It needs some packages to be installed on your server, as describe in the mods description. You will also need to manually do this: mkdir /var/www/.gnome2 /var/www/.gnome2_private And the user of your webserver/php must have all permissions inside. Something like this is usually ok : chown www-data:www-data /var/www/.gnome2 /var/www/.gnome2_private Let me know if there is something that needs more explanations and I'll add them to the mods description. Cheers, Nyloth. -----Original Message----- From: tik...@li... [mailto:tik...@li...] On Behalf Of Pete Jalajas Sent: Friday 25 July 2008 14:57 To: Tikiwiki developers Subject: Re: [Tikiwiki-devel] Need help implementing RTF creation Hi Michael, Thanks for your note. Thanks for the reminder. That prompted me to recall about screen-scraping, but then using, in OpenOffice.org Writer (on Ubuntu anyway) and MS Word, Edit, Paste Special, HTML Format (I did not get an HTML Format option when scraping from Opera on Ubuntu for some unknown reason). So, yes, thanks, that'll suffice in the short term, until we can develop an Export-to-RTF option like the PDF-button options that exist now. I would appreciate any guidance that anyone could offer--just point me in the right direction. For example, can someone help me pick the best TW PDF plugin to use as a starting point for this HTML2RTF project? I'll then try to convert that to generating RTF instead of PDF (or maybe in addition to...). Thanks again, Pete On Fri, Jul 25, 2008 at 2:36 AM, Michael Pilling <mlp...@gm...> wrote: <snip> > as for wiki--->Word - i take it a good old fashioned screen-scrape > (from print mode?) is not going to suffice? > On Fri, Jul 18, 2008 at 10:58 AM, Pete Jalajas <pj...@gi...> wrote: >> I need to implement sending an RTF document to the user's browser so >> they can edit it in MS Word. I see this as very similar to the PDF >> creator mods with the littel PDF icon on the top of the wiki pages. >> >> The docfrac tool seems to be able to do the html-to-rtf rendering fine >> from the command line. >> >> Could someone please help me get started with some skeleton or pseudo-code? ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tikiwiki-devel mailing list Tik...@li... https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tikiwiki-devel mailing list Tik...@li... https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel |