Thank you Martin,
Reading the source code is not an option for me now (because of lack of time and knowledge..), therefore I will try either runing AbiWord (on the server) or using libwv.
I will come back with questions when I need that.
Regards,
Oussama
----------------------------------------
> Date: Thu, 28 Jul 2011 07:59:29 +1000
> Subject: Re: Web application-AbiWord based
> From: msevior@gmail.com
> To: ou_cha@hotmail.com
> CC: abiword-dev@abisource.com
>
>
> Hi Oussama,
>
> You essentially need all those libraries to make libabiword run. Your
> best bet is to simply use wv to convert doc files to html although
> that won't enable you to document translation to other formats.
>
> Regarding libabiword, it's main purpose is to provide access to
> AbiWidget which can be embedded in other Gtk+ applications. There is
> extensive documentation on how it works and python bindings to that on
> our wiki.
>
> Other than that feel free to read our source code.
>
> Cheers
>
> Martin
>
>
> On Thu, Jul 28, 2011 at 7:09 AM, Oussama Chammam <ou_cha@hotmail.com> wrote:
> >
> > Thank You Martin,
> >
> > Q1: Then, isn't that easier to use a library (e.g. libabiword or libwv) to convert doc files instead of running AbiWord? is that possible, how?
> >
> > Q2: I want to know which functions are available in the libabiword, especially those that can be used to convert doc files; could You please mention those or tell me how to know them?? (I have searched in internet but did not found anything about functions in this library)
> >
> > Best regards,
> >
> > Oussama
> >
> > ----------------------------------------
> >> Date: Wed, 27 Jul 2011 17:02:14 +1000
> >> Subject: Re: Web application-AbiWord based
> >> From: msevior@gmail.com
> >> To: ou_cha@hotmail.com
> >> CC: abiword-dev@abisource.com
> >>
> >>
> >> Dear Oussama,
> >>
> >> It is possible but tedious if you don't already have all the libraries
> >> needed on the server. You would have to load all these yourself into
> >> some local directory and set up environment variables so that they are
> >> found.
> >>
> >> Best regards,
> >>
> >> Martin
> >>
> >> On Wed, Jul 27, 2011 at 5:44 AM, Oussama Chammam <ou_cha@hotmail.com> wrote:
> >> >
> >> > Thank You Martin for the answer
> >> >
> >> > I do already know about
> >> > the existence of that command line plugin, but the question is if it is possible to just
> >> > copy an "AbiWord installation folder" to the server through FTP
> >> > and run AbiWord from it (using PHP or
> >> > Python)??
> >> >
> >> > regards, Oussama
> >> >
> >> > ----------------------------------------
> >> >> Date: Tue, 26 Jul 2011 23:20:40 +1000
> >> >> Subject: Re: Web application-AbiWord based
> >> >> From: msevior@gmail.com
> >> >> To: ou_cha@hotmail.com
> >> >> CC: abiword-dev@abisource.com
> >> >>
> >> >>
> >> >> Dear Oussama,
> >> >>
> >> >> Thank you for your interest in AbiWord. AbiWord can indeed be used in
> >> >> a headless webserver, althugh you do need the gtk libraries to be
> >> >> installed on the system
> >> >>
> >> >> To see an example of a very powerful abiword-driven website see:
> >> >>
> >> >> http://abicollab.net
> >> >>
> >> >> We use the command line plugin to create a long-lived server.
> >> >>
> >> >> See:
> >> >>
> >> >> http://www.abisource.com/wiki/AbiCommand
> >> >>
> >> >> For various emaples with code.
> >> >>
> >> >> Good luck!
> >> >>
> >> >> Martin
> >> >>
> >> >>
> >> >> On Tue, Jul 26, 2011 at 6:47 PM, Oussama Chammam <ou_cha@hotmail.com> wrote:
> >> >> >
> >> >> >
> >> >> > Hi AbiWord community!
> >> >> > Thank you for that awesome program!
> >> >> >
> >> >> > What I want to do:
> >> >> > ===========
> >> >> > Develop a simple web document converter (from doc to html) that works on a shared host.
> >> >> >
> >> >> > Different ways to implement it:
> >> >> > =================
> >> >> > 1) use a ctypes in Python to use a shared library like libabiword or libwv
> >> >> > (can I have a local copy of them so they do not need to be installed in
> >> >> > shared host server?)
> >> >> > 2) upload a standalone copy of AbiWord/wvWare using php_exec() or a
> >> >> > similar Python/Perl command (is that possible? none-linux standard
> >> >> > libraries has to be integrated into AbiWord at compile time... is that
> >> >> > true?)
> >> >> > 3) call AbiWord/wvWare using php_exec() or a similar Python/Perl command (is not applicable in a shared host: they won't install the software on the server, some hosts do also prevent using php_exec())
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > I would prefer to use the first option, but I'm not sure if libabiword contains any none-GTK functions. I'm not either sure what functions both libabiword and libwv do provide (I did not find any documentation about it)
> >> >> >
> >> >> > Please give me tips how to start and which functions are usable. Also let me know if there is a better way to do it.
> >> >> >
> >> >> > PS. I saw that many people wants this functionality on their shared hosts; and if I success in doing it I will make it available for all them!
> >> >> >
> >> >> > Thank you in advance
> >> >> > Oussama C.
> >> >> >
> >> >
> >
Received on Thu Jul 28 09:59:06 2011
This archive was generated by hypermail 2.1.8 : Thu Jul 28 2011 - 09:59:07 CEST