Topic: Pre-formated text (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: iasi, romania |
![]() Hi... |
Maniac (V) Inmate From: under the bed |
![]() |
Paranoid (IV) Inmate From: Milwaukee |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
Maniac (V) Inmate From: Washington DC |
![]() Hum.. |
Maniac (V) Inmate From: Seoul, Korea |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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. |