Log in | Register | Lost password

Bottom
RFC - Word/HTML stripper
  • Posted: 08.03.2004, 19:10
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Does anyone know of a PHP implementation of a something that can simplify HTML pasted in the editor from Word? I think that would be a usefull feature to add.
  • Posted: 08.03.2004, 20:52
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    not a class, but I use a module called pnwc (post nuke word converter) that cleans html generated by MS Word. Well you give him an html file and it gives you back a cleaned output that you can copy & paste.

    The module was developed in 2002 by Sascha Endlicher (Karateka) of ezoshosting.com and I think it had no further development.

  • Posted: 08.03.2004, 21:48
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Did a bit of digging and found two solutions:

    1) A plugin to MS Office 2000 that provides two new commands that strip the extra HTML code.
    * Copy as HTML
    * Export to Compact HTML

    2) A plugin to htmlArea that strips Word HTML. Looks like it is still in development. Even though the author (Luis in the forum) has removed the plugin from his site, he has offered to update any editors that are sent to him.

    I haven't tried either one of these yet but will post again when I do.
  • Posted: 08.03.2004, 22:28
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Just installed the Microsoft HTML Filter 2.0 and tested the Edit / Copy as HTML command. I am pleasantly surprised. You can copy either a portion of your document or the whole thing.

    It even includes css classes with the same name as the Word Style. We use styles extensively and to see this included is a plus. Now we can add those classes to our themes to make the output even more professional-looking.

    On the downside, it includes font information within span tags and bullets are hardcoded as a (too small) character from the Symbol font.

    In order to use the data that has been copied to the clipboard, click on the <> button in the editor to get to source mode and paste. Then click <> again to see the results.

    An explanation of what the utility does can be found here.

    There is a command line version of this filter utility which is more powerful but less convenient. Instructions on how to use it can be found here.
  • Posted: 20.04.2004, 20:04
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    works fine for me with this hack:
    http://www.elfi…thread&tid=889

    chaKal

Template courtesy of Designs By Darren.