Thread: uploading texts

uploading texts

From
ktt
Date:
hello.

I have plans to build textual postgres
database with php interface.
but uploading texts to it via copy@paste
to html form seems to be inconvienent.
what other possibilities to upload texts
to the postgres via php?
any links would be great.

thanx,

ktt.

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com



Re: uploading texts

From
Frank Joerdens
Date:
On Thu, Jul 04, 2002 at 02:56:19AM -0700, ktt wrote:
> hello.
>
> I have plans to build textual postgres
> database with php interface.
> but uploading texts to it via copy@paste
> to html form seems to be inconvienent.
> what other possibilities to upload texts
> to the postgres via php?
> any links would be great.

I've been thinking about using the wv library to parse M$ Word files
server-side after uploading them, and then stuffing the resulting bits
into a db. I think it would be a good thing to be able to do. I haven't
gotten 'round to it though.

http://www.wvware.com/

Tutorials for file uploading via PHP abound on

http://www.phpbuilder.com/

Regards, Frank



Re: uploading texts

From
Andrew Sullivan
Date:
On Thu, Jul 04, 2002 at 03:47:44PM +0200, Frank Joerdens wrote:

> I've been thinking about using the wv library to parse M$ Word files
> server-side after uploading them, and then stuffing the resulting bits
> into a db. I think it would be a good thing to be able to do. I haven't
> gotten 'round to it though.

I suspect that this software already does what you want:

http://www.zope.org/Members/Kaivo/DocumentLibrary

You might be able to modify it to use PHP or to use Postgres (or
both, of course).

A

--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




Re: uploading texts

From
Frank Joerdens
Date:
On Thu, Jul 04, 2002 at 11:44:05AM -0400, Andrew Sullivan wrote:
> On Thu, Jul 04, 2002 at 03:47:44PM +0200, Frank Joerdens wrote:
>
> > I've been thinking about using the wv library to parse M$ Word files
> > server-side after uploading them, and then stuffing the resulting bits
> > into a db. I think it would be a good thing to be able to do. I haven't
> > gotten 'round to it though.
>
> I suspect that this software already does what you want:
>
> http://www.zope.org/Members/Kaivo/DocumentLibrary
>
> You might be able to modify it to use PHP or to use Postgres (or
> both, of course).

Yep, it uses the wv lib too, to convert an entire Word document to text.
My thinking was though that you'd want to create Word templates which
would correspond to certain document types with e.g. abstract, sections,
paragraphs etc.; which you'd then take apart via wv to stuff the
individual pieces into sql tables which'd mirror the structure of the
templates. Maybe just fanciful thinking as the uses for such a system
would be rather specific - such as storing and managing academic papers.

Regards, Frank