By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,849 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

WYSIWYG *web-based* editor - uploading word docs?

P: n/a
I'm working on a site where one of the requirements is the ability to do a
newsletter. This newsletter would either be composed with or pasted into
some kind of WYSIWYG web-based editor OR they'd upload a word doc and I'd
process it. I've done similar things with ASP in the past, but not with
PHP. Could anyone tell me which of the above ways is going to be more
perilous before I embark? I get a feeling the word doc one will be, but
that's the one I prefer, in some ways. Because then they can do one
newsletter (they do a paper version anyway) in word and that would be
their source. From a user perspective, anything else is going to be a
hassle.

Any ideas?

Thanks,

Preston
Jul 17 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Barring this, is there a way to allow a user (aside from giving them an
ftp client) to upload a directory via PHP? This strikes me as another
possible way to give them this functionality. If they could do a
Word->SaveAsHTML then upload the directory.

Not dummy-proof, but user-friendlier than giving them a CMS, perhaps.

Preston
Jul 17 '05 #2

P: n/a

"Preston Crawford" <me@REMOVESPAMBLOCKprestoncrawford.com> wrote in message
news:pa****************************@REMOVESPAMBLOC Kprestoncrawford.com...
Barring this, is there a way to allow a user (aside from giving them an
ftp client) to upload a directory via PHP? This strikes me as another
possible way to give them this functionality. If they could do a
Word->SaveAsHTML then upload the directory.

Not dummy-proof, but user-friendlier than giving them a CMS, perhaps.

Preston


Anything that involves 'word' and the phrase 'save as html' in the same
sentence should more than likely be avoided like the plague...I would be
looking at a CMS, I cannot possibly see how doing the newsletter in word,
manually saving to a non-default format and then uploading it could be more
user friendly than doing the whole thing in one wack on a half decent online
CMS?
Jul 17 '05 #3

P: n/a
On Thu, 25 Mar 2004 18:52:25 +1000, Stephen Gordon wrote:
Anything that involves 'word' and the phrase 'save as html' in the same
sentence should more than likely be avoided like the plague...I would be
looking at a CMS, I cannot possibly see how doing the newsletter in word,
manually saving to a non-default format and then uploading it could be more
user friendly than doing the whole thing in one wack on a half decent online
CMS?


The problem is this project isn't for a small company. It's for a small
church. Their budget is so minimal that I'm basically doing this site as a
favor to my friend who is the head of the church. So...

#1 - Word isn't ideal, I agree, but for a small group of people that
likely all use Windows as their clients, the Word-generated HTML would
suffice.

#2 - They can't afford a CMS.

Preston
Jul 17 '05 #4

P: n/a
rw
Better use xml. I prefer openOffice - docs are in xml, use php xslt to
preserve some formating infomation like paragraphs, links and layout in
page wiev. MS word 2003 have xml native format to.
rw
Preston Crawford wrote:
On Thu, 25 Mar 2004 18:52:25 +1000, Stephen Gordon wrote:

Anything that involves 'word' and the phrase 'save as html' in the same
sentence should more than likely be avoided like the plague...I would be
looking at a CMS, I cannot possibly see how doing the newsletter in word,
manually saving to a non-default format and then uploading it could be more
user friendly than doing the whole thing in one wack on a half decent online
CMS?

The problem is this project isn't for a small company. It's for a small
church. Their budget is so minimal that I'm basically doing this site as a
favor to my friend who is the head of the church. So...

#1 - Word isn't ideal, I agree, but for a small group of people that
likely all use Windows as their clients, the Word-generated HTML would
suffice.

#2 - They can't afford a CMS.

Preston

Jul 17 '05 #5

P: n/a
On 2004-03-25, Preston Crawford <me@REMOVESPAMBLOCKprestoncrawford.com> wrote:
The problem is this project isn't for a small company. It's for a small
church. Their budget is so minimal that I'm basically doing this site as a
favor to my friend who is the head of the church. So... #2 - They can't afford a CMS.


LOL. But they can afford MS-Office?

--
http://home.mysth.be/~timvw
Jul 17 '05 #6

P: n/a
Well, with IE a HTML editor is relatively easy to build. The contentEditable
attribute tell IE to make an element editable. Try the following:

<div id="edit" style="width:600;height:550;border:3px solid
#CCCCCC;border-style:inset;overflow:auto;"
contentEditable="true">&nbsp;</div>

Notice you how can make text bold by hitting ctrl-B, italic with ctrl-I. Add
a little toolbar that does the formatting and you're done--or steal the code
at Hotmail.

Uzytkownik "Preston Crawford" <me@REMOVESPAMBLOCKprestoncrawford.com>
napisal w wiadomosci
news:pa***************************@REMOVESPAMBLOCK prestoncrawford.com...
I'm working on a site where one of the requirements is the ability to do a
newsletter. This newsletter would either be composed with or pasted into
some kind of WYSIWYG web-based editor OR they'd upload a word doc and I'd
process it. I've done similar things with ASP in the past, but not with
PHP. Could anyone tell me which of the above ways is going to be more
perilous before I embark? I get a feeling the word doc one will be, but
that's the one I prefer, in some ways. Because then they can do one
newsletter (they do a paper version anyway) in word and that would be
their source. From a user perspective, anything else is going to be a
hassle.

Any ideas?

Thanks,

Preston

Jul 17 '05 #7

P: n/a
They can't afford a CMS?
How can they not afford Postnuke or PHPNuke or something like that?
Given of course that they have the technological backbone in place.

/M.
--
Martin Skjöldebrand
Family site: http://www.skjoldebrand.org
"Art" site: http://martoni.deviantart.com
Public key available at: http://wwwkeys.pgp.net
Jul 17 '05 #8

P: n/a
On Thu, 25 Mar 2004 06:36:23 -0800, Preston Crawford
<me@REMOVESPAMBLOCKprestoncrawford.com> wrote:
#2 - They can't afford a CMS.


http://www.pivotlog.net/

No database required. Just unzip the package on a web server that has
support for PHP, chmod files correctly, and type away :-)

JD.
Jul 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.