<br> or <p> - Import from WordPress

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
u1amo01
Regular
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

<br> or <p> - Import from WordPress

Post by u1amo01 »

Hi,
when I was playing with the CSS of my s9y-Theme I've noticed what the plugin "NL2BR" is doing. No wonder, it converts each "new line" into a <br>-Tag.

I'd prefer to use <p> instead of two <br>s. But if I deactivate NL2BR, I have a problem with all those hundred articles imported from Worpress, because in WP is some mechanism which changes NL to P.

AFAIK there is no plugin to convert this in s9y.

Maybe I could change the articles in the sql-table? I think each article should have a <p> at the beginning and a </p> at the end. And when there are two NL it should be changed into </p><p>.

I have no clue how this could be done or if this is possible. Any comments?

Thanks.
Klaus
u1amo01
Regular
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

Post by u1amo01 »

Maybe as workaround I could import the table with the postings into open office, change the data the way I like and search how I get it back into the db.
Post Reply