Aquarionics

Commentary

A number of interesting things happened today. Not least was that first dearg's, then Adrian's comments about the Valentines Day thing broke the XML parser that does the "Latest Comments" bar, because PHP's various HTML-Entity functions don't do anything with pound signs (£) in the second case, and for some reason " confuses the XML parser in the first.

So, Partly for that, and partly because Mr Wisse poked a hole in the comments system I've been doing a bit of reanalysis and recoding, and my previous two line filter script (newline to <br> then encode entities) has been turned into a semi-full text processing thing that wasn't inspired by anywhere and which is in a file called textile.php purely by chance. Oh yes. Very much so. Ahem.

Eventually, I'll add stuff like blockquotes and headers to it, and then write entries in that rather than HTML, because it does things automatically that I can't be bothered to. The net result is that while you can't break my comments system in the same way again[1], you can now use UBB style codes ([strong][/strong], [em][/em] and n* itemn* itemn*itemn unordered lists, where n is new line) in comments. And no, you won't be able to add headers, tables and pictures, even when I can :-P

HTML in comments will still be laughed at and exposed, natch.

[1] Actually, yes you can. Because Mozilla doesn't support &shy;, Still, then the soft-hypens that the formatter helps you put in are completely useless to anyone not using IE. (Subrant: This has been known about since mid-1999. It has been stated in the report that fixing it is not the problem, and since it's precisely defined as to what it should do (break the line if it needs to) the disussion changed into "Should it display a hypen or not?" though to a digression on white-space, and still isn't fixed. And then they whine when Apple chose the Konquerer base for Safari...

Those who spoke on this:

gravatar image

dearg:

2003-02-15 16:55 17 hrs after the Original Article

Yay, I did something useful !

Ok, so I did it by breaking something, but all the same…

Comment Link

gravatar image

Martin Wisse:

2003-02-16 14:22 21 hrs after dearg

quite.

Glad we managed to “inspire” you.

And Mozilla is a pig. if it weren’t for the fact that blogger cannot handle Opera, I would not use it at all. (I refuse to download IE on my own computer, even if blogger really, really wants you to use it.)

Speaking of which, did you hear Blogger has just been bought by Google?

Comment Link


Nicholas 'Aquarion' Avenell is a web developer in London, you can find out more about him or how to get in touch.

There are more Articles, Projects, Journal Entries, Photographs and things that defy description here, too.

If you're looking for something specific, there are Calendar & Category -based lists of everything.

And if you want to follow stuff that appears here, try a Syndication Feed, or the generic Feed of everything.


Aquarion's last Twitter was: [updating]
Twitter last updated


© 2000 to 2008 inclusive Nicholas Avenell
All comments are the property of their creators, published with permission
(Unless otherwise indicated, the opinions and sentiments expressed on this site are those of the author and not of any organisation of which he is an affiliate, including his employer. Caveat Lector, E&OE. sigh)
0.572 seconds, 17 queries, 2.66Mb on Sat, 04 Oct 2008 14:44:35 +0000
Generated by Epistula Version 2.0.3