Re: [WSG] just sharing the frustration

2006-02-15 Thread Miika Mäkinen
Check also http://tim.mackey.ie/CleanWordHTMLUsingRegularExpressions.aspx for regular expressions to do this.
On 2/15/06, Hope Stewart [EMAIL PROTECTED] wrote:
The Find And Replace feature in Dreamweaver can also be a huge time saver.Other programs probably have this same feature. For example:Replace all: br /With: /lili(and remember to add li to the beginning of the first line and /li to
the end of the last line.)Then use the Dreamweaver command Apply Source Formatting to make the codemore readable.It might be safer (and easier), however, to use this feature by first
pasting the text into a blank html page, do all your editing there and thencopy/paste the re-formatted text into your real page. That way you don't runthe risk of accidentally altering code you didn't want altered.
HTH,Hope StewartOn 15/2/06 2:59 PM, Zulema [EMAIL PROTECTED] wrote: Wow! I will remember all this for the next time, since I do a lot of
 Word-to-HTML converting. The crazy thing about this one particular Word doc was that it wasn't in formatted bulleted lists because it was copy extracted from a PDF we got from the client as it seems they didn't have the original copy deck
 anymore I think.**The discussion list forhttp://webstandardsgroup.org/ See 
http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help**


RE: [WSG] just sharing the frustration

2006-02-15 Thread Ted Drake
Give you writers a very quick lesson in standards. They apply to writing in
Word just as much as the web.  Don't assume they know about headers,
unordered lists, ordered lists, etc. The more they use these basic
structural elements in their word documents, the quicker your work will be.
It makes sense for everyone.

You could even help them set up a basic style sheet to keep them from
constantly changing fonts and font sizes.

A properly marked up word document will paste into the design view of
Dreamweaver very easily. Usually you will only need to do a search for empty
paragraph tags and you're done.

Dreamweaver will also allow you to select a bunch of paragraphs and hit the
unordered list button to instantly convert them to a list. 

Yes, coders can still use the wysiwyg interfaces.


Ted


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Zulema
Sent: Tuesday, February 14, 2006 8:00 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] just sharing the frustration

Samuel/Ted/Jay,

Wow! I will remember all this for the next time, since I do a lot of 
Word-to-HTML converting.

The crazy thing about this one particular Word doc was that it wasn't in 
formatted bulleted lists because it was copy extracted from a PDF we got 
from the client as it seems they didn't have the original copy deck 
anymore I think.

Oh well, live and learn. I'm going to find HTMLTidy (which I had but 
lost on hard drive replace last year) and look up HTML-Kit. I do usually 
copy/paste right into the design view in dreamweaver for simple stuff. 
It really does the trick sometimes, if no one's tried it.

The writers here at work only work in Word because of the Track 
Changes feature. Makes it easy for everyone to know what's been changed.

Thanks again and hugs to all,
Zulema

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] just sharing the frustration

2006-02-15 Thread Jon Gunderson
Another tool is a HTML+CSS conversion Wizard for Microsoft
Documents.  It converts word, powepoint and excel charts to
valid xhtml+css and also supports accessibility to people with
disabilities.

http://www.accessiblewizards.uiuc.edu/

Jon


 Original message 
Date: Wed, 15 Feb 2006 08:31:25 -0800
From: Ted Drake [EMAIL PROTECTED]  
Subject: RE: [WSG] just sharing the frustration  
To: wsg@webstandardsgroup.org

Give you writers a very quick lesson in standards. They apply
to writing in
Word just as much as the web.  Don't assume they know about
headers,
unordered lists, ordered lists, etc. The more they use these
basic
structural elements in their word documents, the quicker your
work will be.
It makes sense for everyone.

You could even help them set up a basic style sheet to keep
them from
constantly changing fonts and font sizes.

A properly marked up word document will paste into the design
view of
Dreamweaver very easily. Usually you will only need to do a
search for empty
paragraph tags and you're done.

Dreamweaver will also allow you to select a bunch of
paragraphs and hit the
unordered list button to instantly convert them to a list. 

Yes, coders can still use the wysiwyg interfaces.


Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Zulema
Sent: Tuesday, February 14, 2006 8:00 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] just sharing the frustration

Samuel/Ted/Jay,

Wow! I will remember all this for the next time, since I do a
lot of 
Word-to-HTML converting.

The crazy thing about this one particular Word doc was that
it wasn't in 
formatted bulleted lists because it was copy extracted from a
PDF we got 
from the client as it seems they didn't have the original
copy deck 
anymore I think.

Oh well, live and learn. I'm going to find HTMLTidy (which I
had but 
lost on hard drive replace last year) and look up HTML-Kit. I
do usually 
copy/paste right into the design view in dreamweaver for
simple stuff. 
It really does the trick sometimes, if no one's tried it.

The writers here at work only work in Word because of the Track 
Changes feature. Makes it easy for everyone to know what's
been changed.

Thanks again and hugs to all,
Zulema

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Jon Gunderson, Ph.D.
Director of IT Accessibility Services
Campus Information Technologies and Educational Services (CITES)
and 
Coordinator of Assistive Communication and Information Technology
Disability Resources and Education Services (DRES)

Voice: (217) 244-5870
Fax: (217) 333-0248
Cell: (217) 714-6313

E-mail: [EMAIL PROTECTED]

WWW: http://cita.rehab.uiuc.edu/
WWW: https://netfiles.uiuc.edu/jongund/www/


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] just sharing the frustration

2006-02-15 Thread Patrick H. Lauke

Hope Stewart wrote:

The Find And Replace feature in Dreamweaver can also be a huge time saver.


Particularly if you're versed in regular expressions...quick and easy 
way to strip out all the annoying style etc attributes that Word and co 
like to stick into their HTML, e.g.


Find: td[^]*
Replace: td

P
--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] just sharing the frustration

2006-02-15 Thread Ted Drake
There goes Patrick showing off his regular expression prowess again.

Ted


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Patrick H. Lauke
Sent: Wednesday, February 15, 2006 5:01 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] just sharing the frustration

Hope Stewart wrote:
 The Find And Replace feature in Dreamweaver can also be a huge time
saver.

Particularly if you're versed in regular expressions...quick and easy 
way to strip out all the annoying style etc attributes that Word and co 
like to stick into their HTML, e.g.

Find: td[^]*
Replace: td

P
-- 
Patrick H. Lauke
__
 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] just sharing the frustration

2006-02-15 Thread Steve Olive
The easiest way to use HTMLTidy is from within the Firefox browser.  
Once installed have a look at the Extensions you can download to help  
with Web Design. I always add the following extensions:


HTML Validator
TAW3 - Test de Accesibilidad Web
View formatted source
View Rendered Source Chart
Web Developer

These are available for Windows. OS X and Linux versions of Firefox.  
The Web Developer and HTMLTidy extensions can review web pages and  
make/suggest the corrections needed for standards compliance.


Regards,

Steve


On 15/02/2006, at 2:59 PM, Zulema wrote:


Samuel/Ted/Jay,

Wow! I will remember all this for the next time, since I do a lot  
of Word-to-HTML converting.


The crazy thing about this one particular Word doc was that it  
wasn't in formatted bulleted lists because it was copy extracted  
from a PDF we got from the client as it seems they didn't have the  
original copy deck anymore I think.


Oh well, live and learn. I'm going to find HTMLTidy (which I had  
but lost on hard drive replace last year) and look up HTML-Kit. I  
do usually copy/paste right into the design view in dreamweaver for  
simple stuff. It really does the trick sometimes, if no one's tried  
it.


The writers here at work only work in Word because of the Track  
Changes feature. Makes it easy for everyone to know what's been  
changed.


Thanks again and hugs to all,
Zulema

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] just sharing the frustration

2006-02-14 Thread Samuel Richardson
Depending on which version of word your running (I'm on 2003) you can 
save a word document as web page, filtered (this then filters out most 
of the word specific HTML), I'm sure a few smart find and replaces could 
then clean up/add any code that is not needed or missing.


Otherwise you could export the document as a regular web page and use 
dreamweavers clean up word HTML function to remove the extra crap. I'm 
not sure how effective it is. In either case, I'm sure you could have 
saved your valentines day?


Samuel


Zulema wrote:

Hello fellow ponies,

I just wanted to share my frustration with having to work late on valentine's
day contextualizing copy from a Word doc into html with nested lists galore[1].
Took me about five hours and I might have missed a few.

[1] http://test.slackbarshinger.com/pei2006/exhibitor/rules_regulations.html

Plus, the web site is far from being completed as I am missing flash mastheads,
flash nav, and just about all other images which I'm getting Thursday, when the
web site is due Tuesday (no biggie right?). *sigh* I know everyone's been
through this before and some of you are prolly thinking, that's nothing! why
on my /birthday/, I had to

But anyhow, to everyone: I hug u.

working hard on valentine's day,
Zulema

ps: thankfully I'm walking outta here in half an hour come heck or high water!
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] just sharing the frustration

2006-02-14 Thread Ted Drake
Here's a helpful hint on doing this crap.
Use htmlTidy, while I haven't used this, I've heard it's really good.

Normally, what I do is create a new basic html page in dreamweaver.
I go to the design view and paste the content into the screen.
I then switch to code view and run a few search and replaces to clean it up.
Dreamweaver does a pretty good job of turning word into decent coding.


If people would only use styles in word, i.e. header tags, ul, etc. pasting
into dreamweaver would be a five minute exercise.

Ted


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Zulema
Sent: Tuesday, February 14, 2006 6:45 PM
To: [EMAIL PROTECTED]; WSG List
Subject: [WSG] just sharing the frustration

Hello fellow ponies,

I just wanted to share my frustration with having to work late on
valentine's
day contextualizing copy from a Word doc into html with nested lists
galore[1].
Took me about five hours and I might have missed a few.

[1] http://test.slackbarshinger.com/pei2006/exhibitor/rules_regulations.html

Plus, the web site is far from being completed as I am missing flash
mastheads,
flash nav, and just about all other images which I'm getting Thursday, when
the
web site is due Tuesday (no biggie right?). *sigh* I know everyone's been
through this before and some of you are prolly thinking, that's nothing!
why
on my /birthday/, I had to

But anyhow, to everyone: I hug u.

working hard on valentine's day,
Zulema

ps: thankfully I'm walking outta here in half an hour come heck or high
water!
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] just sharing the frustration

2006-02-14 Thread Jay Gilmore

Ted Drake wrote:

Here's a helpful hint on doing this crap.
Use htmlTidy, while I haven't used this, I've heard it's really good.

Normally, what I do is create a new basic html page in dreamweaver.
I go to the design view and paste the content into the screen.
I then switch to code view and run a few search and replaces to clean it up.
Dreamweaver does a pretty good job of turning word into decent coding.


If people would only use styles in word, i.e. header tags, ul, etc. pasting
into dreamweaver would be a five minute exercise.

Ted



HTML-Kit has a tool to strip extra Word 2000 tags although, I usually 
paste as plain text into HTML-Kit and I have a plugin that converts line 
breaks into p p and also can turn text lists into ul's or ol's. 
It doesn't see nested levels in lists though.


I actually insist that my clients send me copy in plain text documents 
where possible and even then I have to fix all the windows charset 
issues. Damned smart quotes and auto mdashes.


Jay
--
Jay Gilmore
Developer / Consultant
SmashingRed Web  Marketing
P] 902.529.0651
E] [EMAIL PROTECTED]
U] http://www.smashingred.com
B] http://www.smashingred.com/blog
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] just sharing the frustration

2006-02-14 Thread Zulema

Samuel/Ted/Jay,

Wow! I will remember all this for the next time, since I do a lot of 
Word-to-HTML converting.


The crazy thing about this one particular Word doc was that it wasn't in 
formatted bulleted lists because it was copy extracted from a PDF we got 
from the client as it seems they didn't have the original copy deck 
anymore I think.


Oh well, live and learn. I'm going to find HTMLTidy (which I had but 
lost on hard drive replace last year) and look up HTML-Kit. I do usually 
copy/paste right into the design view in dreamweaver for simple stuff. 
It really does the trick sometimes, if no one's tried it.


The writers here at work only work in Word because of the Track 
Changes feature. Makes it easy for everyone to know what's been changed.


Thanks again and hugs to all,
Zulema

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**