Entries Comments

Alex Mace’s Blog

Life & Web Development

Engaged

Today is the anniversary of the patent of the “Engaged-Vacant” Toilet lock apparently. Nice useless fact I heard on the radio this morning.

Speak of which, I am pretty much engaged for the next month now, which is kind of cool really – I keep muttering to myself that I don’t really have much to do around here, so it’s funny how suddenly I’ve got really busy. Tomorrow I am off to The Raceway, Kings Cross for a kart race. Then this weekend I will be working helping move into the new premises. Next weekend is a party up in Manchester, and I’m planning to go to the Trafford Centre and waste some money while I’m up there. Mum keeps telling me I need to waste money on shoes as it is.

Then the weekend after that I’m going to Nottingham for the weekend, to include a fried breakfast (at about 4am) party to celebrate the start of the new F1 season over in Australia. It won’t be at my house, so all are invited, haha! Then later on that week it’s The Offspring in London, need to sort out who will be using the second ticket soon. That will require some thought…

Fixed the RSS feed now, so livejournal should hopefully be picking this up again. Need to check it looks ok later on though. XHTML validation is proving a bit more difficult, I’ll need to write some code to pick out links and encode them properly, which could be messy. Nevermind, I suppose it’s something I need to sort out – I have started having vague intentions to publish my blogging system when I get some more features in. Or offering some hosting using it if I ever get round to changing hosting.

Comments seem to have slowed down a bit of late – maybe I’m just being dull. Still, at least some photos got comments since yesterday! Or maybe I’m posting too often. Sorry!

6 Responses to “Engaged”

  1. Rick says:

    HtmlEntities() is the key to sorting the & problem, if you don’t want to include HTML in your posts anyway. I’ve got a simple BBcode thing on my blogs. If not a really simple regular expression to change all & to & isn’t too difficult.

  2. Rick says:

    Oh and the second & at the end should have amp; after it…

  3. Jon says:

    i have a goot regexp for sniffing out links, i wrote it for my bulletin board software. i’ll e-mail you it when i find out where i put it :>

  4. Alex says:

    Unfortunately it’s not Rick. I used that to fix the RSS feed, but it breaks all the HTML if I use it on these pages, so rather than go through and change all the entries, I’ll just pick out the links and encode the query strings properly. Or use what Jon sends!

  5. Rick says:

    Ah but every & should have an ‘amp;’ tagged onto it, not just in the URLs!
    I quite like htmlentities though, it stops people using html in my comments that might do something strange. I’m sure I could add a div or iframe in here with some strange content.

  6. Alex says:

    Yes, it should, but you can just use strip_tags( ) to get rid of HTML, and as I’ve said, I use HTML in my entries, which is what is causing my problem, rather than people putting HTML in comments.

Leave a Reply

(required)

(required)