Using the Logs as HTML (for a blog)

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
User avatar
Chris Biagini
Muffin
Posts: 29
Joined: Fri Feb 04, 2005 11:05 pm
Contact:

Post by Chris Biagini »

port80 wrote:Well, you might want to be a little bit of a markup snob and use <br /> so that it validates as XHTML. (Some LiveJournal templates don't declare a DOCTYPE, but the newer ones - and their homepage - appear to use XHTML 1.0 Transitional.)
Hm. Yeah, I couldn't quite figure that out. I looked at a few blogs, and the choice of HTML/XHTML/nothing seemed to be random. If the OP is using XHTML, and he cares, I'll modify it accordingly.
Other than that, the Text Factory works great - I just ran it on a sample log, with excellent results.
Excellent. My regex-fu isn't that strong, but these seemed to be pretty simple transformations. Good to see it works for other people.
(And, as a side note, it looks like Text Factories are just XML documents. Maybe I can create them without dropping the cash for a full version of BBEdit...)
I was thinking the same thing--my trial expires soon :)
andjosephsaid
Harmless
Posts: 15
Joined: Fri Jan 07, 2005 11:11 pm
Location: Riverside, CA

Post by andjosephsaid »

Wow, how long as Text Wrangler been free?
andjosephsaid
Harmless
Posts: 15
Joined: Fri Jan 07, 2005 11:11 pm
Location: Riverside, CA

Post by andjosephsaid »

Chris Biagini wrote:There's no need to be a markup snob if this is going into a LiveJournal page :)
:o
User avatar
Chris Biagini
Muffin
Posts: 29
Joined: Fri Feb 04, 2005 11:05 pm
Contact:

Post by Chris Biagini »

andjosephsaid wrote:
Chris Biagini wrote:There's no need to be a markup snob if this is going into a LiveJournal page :)
:o
I was just trying to justify cheating with the <br> after my little speech about semantics.

I'm sure the correct way to do it would be to use <cite> tags for the screen names, paragraphs for each line of the conversation, and use a class for the <blockquote> you wrap them in to make the cites bold and the paragraphs have no spacing between them. But since you don't seem to have access to CSS in LJ, it wouldn't really solve your problem.
Post Reply