URL Encoding

Home

URL Encoding

Jul72004
York Fibbers music venue bar club rss html perl work gig music barfly david devant york york fibbers fibbers popex

Had a hiccup when trying to make content management system convert any content that's past through it to be valid HTML... my code for converting ampersands in URLs was messing about, making some bad URLs... so how do I convert & into & without converting any that are already good? Maybe I just put it in the wrong place, but my snippet of code like (unencoding all, then encoding them back) was having none of it, and this google search brings up a very wrong answer first of all... Actually if my content mangement system is messed up, that code snippet won't even display right, I'm converting encoded ampersands to normal ampersands, and then back again...

The thing that's highlighted this is there seems to be another David Devant gig booked, at York Fibbers, see here, though the ticket link there may still be broken when you read this, and I don't think that's the right ticket link anyway as the gig's not on sale yet, and not even listed on fibbers.co.uk... to the drawing board with that, and with my new Barfly RSS feeds, I've tried to include images, and messed it up...

:: :: Comment / reply

Paul Clarke's blog - I live and work near Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...

Also from the same week

Some more blog posts from the same week as .

Digging for pie [Sunday 4 July 2004]

TV On The Radio [Sunday 4 July 2004]

Itchy Paws [Sunday 4 July 2004]

Pie [Monday 5 July 2004]

Fun of London Transport [Tuesday 6 July 2004]

London venue capacity [Tuesday 6 July 2004]

.htaccess [Tuesday 6 July 2004]

Local News [Tuesday 6 July 2004]

URL Encoding [Wednesday 7 July 2004]

Michael Moore [Wednesday 7 July 2004]

A different journey in today [Thursday 8 July 2004]

Bob's Pink Thing [Thursday 8 July 2004]

Church Street Eating [Friday 9 July 2004]

Dervish [Friday 9 July 2004]

[Friday 9 July 2004]

Validation, that's what you need [Friday 9 July 2004]

Derelict London pubs [Friday 9 July 2004]

[Sunday 11 July 2004]