Wash: Mal, your dead army buddy's on the bridge! Zoe: He ain't dead. Wash: Oh.

'The Message'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


DCJensen - Nov 12, 2004 10:17:06 am PST #8748 of 10000
All is well that ends in pizza.

We should have known by the name...


amych - Nov 12, 2004 10:21:20 am PST #8749 of 10000
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

He wasn't blocked at all, he Fell Into Shadow.


Gandalfe - Nov 12, 2004 11:02:43 am PST #8750 of 10000
The generation that could change the world is still looking for its car keys.

Flee, you fools!


Topic!Cindy - Nov 12, 2004 11:48:06 am PST #8751 of 10000
What is even happening?

He was taken by both shadow and flame. A balrog of Morgoth. For we went needlessly into the net of Moria. But with the filter--balrog? Blinvisible.


§ ita § - Nov 12, 2004 2:06:51 pm PST #8752 of 10000
Well not canonically, no, but this is transformative fiction.

Tidy is installed, Gus. Note, it is not the tidy documented here. Since we're at 4.3.8, I guess. It is the tidy not really documented here.

I can verify that

<?php
$html = '<b><i>test</p></table>';
$tidy = tidy_repair_string($html);
print_r($tidy);
?>

this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<b><i>test<br>
<br></i></b>
</body>
</html>

So we'd need to dial that down a wee bit.


§ ita § - Nov 12, 2004 2:25:39 pm PST #8753 of 10000
Well not canonically, no, but this is transformative fiction.

Okay, I found the configuration -- and you can kinda use both docs, it seems.

$html = '<b><i>test</p></table>';
$config = array('show-body-only' => true);
$tidy = tidy_repair_string($html,$config);

gives

<b><i>test<br>
<br></i></b>


Jon B. - Nov 12, 2004 2:31:21 pm PST #8754 of 10000
A turkey in every toilet -- only in America!

Whoa! That's very cool!


Tom Scola - Nov 12, 2004 2:58:44 pm PST #8755 of 10000
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

I would be interested in hearing how they finally got the damn thing installed, ita.


§ ita § - Nov 12, 2004 3:01:23 pm PST #8756 of 10000
Well not canonically, no, but this is transformative fiction.

They got updated RPMs from Plesk that cleared up the system version inconsistencies, and then the compilations worked just like advertised.


§ ita § - Nov 12, 2004 5:19:08 pm PST #8757 of 10000
Well not canonically, no, but this is transformative fiction.

My thinking is that after we've parsed the quickedits into HTML, we then pass the result through tidy -- making sure our parsing makes nice and compliant HTML.

In fact, with the tidy library, you can run it through and see if it has errors, and put a little tsk-tsk note where the poster can see it.

Or not -- it was an idea that amused me, but we're not here to teach HTML, especially if we can neatly recover from messes.