Add a drupal filter support.

neclimdul - April 22, 2009 - 22:20
Project:word2web
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:neclimdul
Status:closed
Description

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

neclimdul - April 22, 2009 - 22:30

oh... and the patch.

AttachmentSize
word2web_filter.patch 11.44 KB

#2

neclimdul - May 14, 2009 - 17:15

Is there any interest in this?

#3

tmcw - November 2, 2009 - 20:27

- 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

tmcw - November 10, 2009 - 18:18

Committed in 287100, thanks.

#5

tmcw - November 10, 2009 - 18:18
Status:needs review» fixed

Marking as fixed.

#6

System Message - November 24, 2009 - 18:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.