Archive for April, 2009
Convert HTML entities from XML in JavaScript
Sometimes you get passed a string from XML and it can contain HTML entities like the following
&
<
>
"
©
®
«
»
'
If you write the string with JavaScript then you get something like didn't instead of didn’t
I’ve searched around for a function that could handle this but could not find one, so I wrote my own. I thought I’d share [...]
Facebook advertising
We’ve been advertising online on facebook for a while and have been seriously disappointed with the results so far. Just wondering if anyone else is experiencing the same results?
Taking the web statistics for this month
facebook.com
20 visits
Avg. time on site: 00:00:00
100% new visits
100% bounce rate
Nowhere else in our statistics have we got a bounce rate of 100% or [...]