Personal tools
You are here: Home Lists ZPUG DC List Archives 2004 2004-10 Cleaning up Microsoft crud? / Kevin Cole <kjcole@gri.gallaudet.edu>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

Cleaning up Microsoft crud? / Kevin Cole <kjcole@gri.gallaudet.edu>

Cleaning up Microsoft crud?
Kevin Cole <kjcole(at)gri.gallaudet.edu>
2004-10-06 14:22:34 [ FULL ]
Hi,

I just met with Ralph Fernandez -- one of the people on campus trying
to decide on a CMS.  Thanks to a recent meeting with Kevin Jacobs and
Joel Burton, I was able to defend myself and Plone enough to get Ralph
interested.  While we were sitting there talking, I downloaded and
installed Plone, which convinced him that he could at least give it a
trial run on his own.  So now he plans to go off and try to do what I
did.

However, in the demo two things came up:

One appears to be a Microsoft IE bug. Big surprise, right? ;-) I
changed the logo, dropping a random picture into portal_skins/custom,
and voila it showed up. Then I deleted it... and under IE it still
showed up... sort of.  The dimensions of the custom picture were far
different from the default Plone logo. After deleting, the dimensions
reverted to the original Plone logo dimensions, but the image or part
of it, from the custom image was still there. Refresh didn't solve the
problem and I use IE so rarely, that I forgot where it keeps its cache
(though I did erase the history).  Closing IE and restarting it didn't
cure it.

The second thing was a question from this guy.  He wanted to know if,
when setting the ExternalEditor to use Microsoft Word, was there
anything that would take out all the style and class crap that MS Word
puts into the file?  I mentioned that Tidy would clean it up somewhat,
but I don't know if it can clean out all that garbage.

Thoughts?

P.S. See y'all tomorrow.[...]

Re: [ZPUGDC] Cleaning up Microsoft crud? / Joel Burton <joel@joelburton.com>

Re: [ZPUGDC] Cleaning up Microsoft crud?
Joel Burton <joel(at)joelburton.com>
2004-10-06 14:26:48 [ FULL ]
On Wed, 2004-10-06 at 15:30, Kevin Cole wrote:
[...]

That's just IE caching the image locally. Not really a bug, but close.
If you visit the image directly (ie, got to http://site/logo.jpg and
refresh that, it should be fixed.)

Dumb IE.
[...]

Don't think tidy fixes all the MS crap, but it might. I'm *sure* there's
some open source solution out there for this, and it's easy to hook that
in to the transformation solution.

Interestingly, I'm now giving a Plone demo on Friday in competition with
RedDot. Seems like I should be learning something about it. ;)
[...]

Re: [ZPUGDC] Cleaning up Microsoft crud? / Mark Johnson <mjohnson@ncbi.nlm.nih.gov>

Re: [ZPUGDC] Cleaning up Microsoft crud?
Mark Johnson <mjohnson(at)ncbi.nlm.nih.gov>
2004-10-06 14:39:38 [ FULL ]
The newest version of M$ Office (for Windoze, actually) lets you
save as "Web page, filtered", an option that strips out most
of the M$$hit HTML code that's giving you such a headache. If you
have Word 2000, M$ offers a free filter that can strip the files:

http://office.microsoft.com/downloads/2000/Msohtmf2.aspx

For more, google "word filtered html" or some such. That
plus tidy will probably get you where you want to be. Even
the unfiltered Office XP HTML doesn't look too bad in
comparison with the stuff of the past.

Best of luck
[...]

Re: [ZPUGDC] Cleaning up Microsoft crud? / Jules <jules@jules.com>

Re: [ZPUGDC] Cleaning up Microsoft crud?
Jules <jules(at)jules.com>
2004-10-06 15:28:25 [ FULL ]
On Oct 6, 2004, at 3:35 PM, Joel Burton wrote:
[...][...][...]

Shift-F5 or hold down shift when you hit reload will fix this. This 
affects FireFox, et al.

Joel's version will work as well but this happens for me quite a bit.
[...]

cat Word.html | demoronizer | tidy

http://www.fourmilab.ch/webtools/demoroniser/

I had an external method once called JackTheStripper.py which fed stuff 
into an SGML parser and only allowed, um, allowable attributes and 
elements. And I think it fixed curly quotes and emdashes (it's been a 
while). I could dig up the source if anybody's interested.

Cheers,
Jules

--
"Life is divided into the horrible and the miserable -- just thank God
  you're only miserable." -- Woody Allen

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: