Problem: Text formatting causing problems on website

Status
Not open for further replies.

WayneOtis

Ars Tribunus Militum
2,752
I'm working for a small radio station in Illinois, and we've been having trouble lately with formatting issues. Specifically, press releases designed in Microsoft Word 2010 and up, as well as some PDF documents.

We used to just use Notepas, and for a long while, I've used a great little program called Stripmail http://www.stripmail.net/. It'll strip the formatting from text, and does a pretty good job. It's not really meant for what I'm using it to do, but it works, and it's fast.

But lately, even after stripping the text, oftentimes <DIV> tags will remain. When my people pop this onto our site, it causes some placement issues on the front page of my Joomla, and throws it out of whack by putting all the content on the right side (ads and other content) at the bottom of the page. I then have to then go track the offending article down and remove the formatting to get the ship righted.

I was hoping that someone here might know of a better tool to use to completely remove the formatting from a document, before I'm driven to insanity cleaning this up all the time.
 

Sanctusx2

Ars Scholae Palatinae
1,207
It's a little unclear what you're looking for the end result to be. Do you just want pure text? What formatting are you trying to preserve, if any? Bolds? Tables? Italics?

There's lots of different options, since just about every text editor ever will give you varying degrees of format removal. All web-based ones will do it, like ckeditor or tinymce which are used in just about every web system.

If all you want is pure text, then you could just paste into notepad on a desktop. If you want a bit more than that, you could use something like a desktop html editor, such as Dreamweaver(which has three different levels of format preservation from copied sources). I bet there are some solid web-based ones as well.

Stripmail looks like it's designed to just remove the forward notations added by email clients, so it's not really clear what you want and what you don't.
 
Status
Not open for further replies.