Topic: Pre-formated text |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: iasi, romania |
posted 05-25-2003 13:02
Hi... |
Maniac (V) Inmate From: under the bed |
posted 05-25-2003 16:32 |
Paranoid (IV) Inmate From: Milwaukee |
posted 05-25-2003 20:53
If you've still got access to MS Word, you can do a find-and-replace like this: |
Nervous Wreck (II) Inmate From: iasi, romania |
posted 05-25-2003 21:04
yeap, now that you two say it it seems the obvious, but i have a feeling that i've hit enter a few times aside from the times where i've hit enter just for starting a new paragraph. I mean that i've not used enter very smart, sometimes i let word start a new line, sometimes i did it myself, and not only for starting a new paragraph. (I guess that's another way of bad publishing |
Paranoid (IV) Inmate From: Milwaukee |
posted 05-25-2003 23:00
There's no completely clean way of going from word-processor italics to HTML <i> tags. I'd love to see a program that would take simple RTF text and convert it to valid XHTML, adding nothing but <p>, <em>, <strong>, and <br /> tags. Every major word processor has some "save as HTML" option, and they always add a ton of cruft in the form of CSS, <span>s, or (god help us) <font> tags. I've got some perl scripts to take OpenOffice's HTML output and strip it of everything I dislike, but that's using a chainsaw where I need an X-acto knife. Anyone got a suggestion? |
Nervous Wreck (II) Inmate From: iasi, romania |
posted 05-27-2003 07:16
Well, after discussing this with a friend the same idea came to him and it haunted me ever since why didn't i thought of it The Save As Web Page option in word dit it for me. And than it was only a matter of copy and paste the code into my desired html. |
Maniac (V) Inmate From: Washington DC |
posted 05-31-2003 05:28
Hum.. |
Maniac (V) Inmate From: Seoul, Korea |
posted 05-31-2003 07:40
I type my journal entries for my web site in Word, but I type in <em> and <strong> tags rather than using the italics and bold faces. Then I run a formatting macro on the page that changes all the special characters to the appropriate HTML entities and inserts the appropriate <p> tags, etc. If you're going to be writing your content in Word and then moving it over to your site, you might want to look into making a similar macro. |
Nervous Wreck (II) Inmate From: iasi, romania |
posted 05-31-2003 09:28
I don't know much about macros but i think it's something you could post or put for download somewhere... |
Maniac (V) Inmate From: Seoul, Korea |
posted 05-31-2003 16:11
OK. I don't have time to put it up right now (got to get to bed), but I'll try to get to it tomorrow afternoon if possible. Like PT said, there's no neat way to convert italics and bold to <em> and <strong> tags, so keep that in mind when you're writing the content (in other words, just type the tags in Word). |
Maniac (V) Inmate From: Seoul, Korea |
posted 06-03-2003 05:37
Sorry about the delay, crip. I got caught up in some work over the weekend and I forgot all about the macro. Now that I've remembered it, though, I can't seem to find where it is on my hard drive so I can upload. If I can't figure it out I suppose I can upload the source code for the macro, and then you can paste that into Word's VB editor. That might get a little complicated, though. I'll keep looking. |