Add a drupal filter support.
| Project: | word2web |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | neclimdul |
| Status: | closed |
I've got a similar problem that can use the same solution. I've commonly run into sites that have people pasting the output of these word exports into the body field and getting a mess of things they didn't see on their export. Its not an actual part of their workflow to create this content in word, just a few people do so the base word2web module doesn't fit very well.
I've created a draft module(pretty complete) that shares code with word2web and creates a drupal filter. It is setup to be bundled with word2web currently as it seemed a more ideal solution. Attached is a patch that creates a shared include with the code for parsing/filtering out the word tags and provides the new word2web filter module.
I had to make a couple changes in the word2web filter to make it work better as a filter, abstract the code, and get around some utf8 problems I was having. I hope they are acceptable but I can split them out of if needed.

#1
oh... and the patch.
#2
Is there any interest in this?
#3
- hey, just letting you know, you've been granted access to CVS, so you're free to commit this whenever. Sorry, I'm just not maintaining any sites with this module so it's tough to allot time in work to work on it.
#4
Committed in 287100, thanks.
#5
Marking as fixed.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.