Home Blog Tech Stuff
Tech Stuff
Comments Temporarily Disabled PDF Print E-mail
Monday, 16 February 2009 00:32
Just a quick note to say that I have disabled commenting for the site because JoomlaComment got broken again (which nobody informed me about btw!!!), presumably after the last Joomla! update to 1.5.9. Basically, I'd rather spend the time writing a new, cleaner, RDF-based comment system than fixing this one, since I've never really been happy with it. So if you want to get in touch, please use the Contact Form instead. Cheers!
Last Updated on Monday, 16 February 2009 00:39
 
Escaping XML Reserved Characters in PHP PDF Print E-mail
Sunday, 15 February 2009 15:06

I just stumbled across this function in some of my old PHP code and since I replied to an issue on the Joomla! forums only the other day about this same thing, I thought I'd post it here seeing that I have a couple of notes about XHTML already on this site:

 
function xmlspecialchars($text) {
   return str_replace(''', ''', htmlspecialchars($text, ENT_QUOTES));
}

I don't remember if I read through the XML specs and wrote this myself or whether I just found it somewhere, but I have a feeling I checked it all out at the time and I think this covers all the necessary escaping for XHTML...please somebody let me know if I'm mistaken!

Last Updated on Sunday, 15 February 2009 15:23
 
OpenID Delegation with Joomla! PDF Print E-mail
Sunday, 15 February 2009 04:02

I've been a fan of OpenID ever since it first turned up on the web, when they were offering bounties for implementing it in popular web apps. So I'm very happy about the scale of adoption it's achieved, and since I've started seeing places where you can use your OpenID to post comments on blogs etc. I thought it was about time I figured out what I needed to do to use my own URL as an OpenID, instead of the generic Launchpad one I've been using most recently.

Attachments:
 plgSystemOpenID_Delegate-0.1.zip[Joomla! System Plugin for adding OpenID delegation links to the head element of your pages.]2 Kb
Last Updated on Thursday, 19 February 2009 21:28
Read more...
 
RTL8185 Problems PDF Print E-mail
Tuesday, 15 April 2008 10:27

Note: See separate article here for help on installing this driver.

I had some wireless problems yesterday, with the r8180 module seemingly missing from Ubuntu Hardy.  The only source I had available was the driver from the Realtek website (revision 1027), which didn't want to compile on the 2.6.24 kernel, so I had to fix it myself first. Now that I'm back online, I discovered this project using the mac80211 framework in the new kernels, which seems to be the way forward for this driver, but I've uploaded the patch I used here in case somebody finds it useful.

Attachments:
 rtl8185.zip[RTL8185 driver with patch for 2.6.24 kernel.]692 Kb
Last Updated on Tuesday, 06 May 2008 13:34
Read more...
 
Serving XHTML Content With Joomla! PDF Print E-mail
Saturday, 26 April 2008 16:52

XHTML has been around long enough now that most people have heard of it, and most web developers know what to do to ensure their code produces valid XHTML. You will often see little notes in page footers claiming "Valid XHTML" or similar, and often enough, it even is valid XHTML. Unfortunately, however, the overwhelming majority of valid XHTML web pages might as well not be, because the browser has no idea that they are, and treats them as the bog-standard tag soup anyway.

Attachments:
 plgSystemXHTML-0.2.zip[An updated version that sets the MIME type and charset through JDocument methods in the onAfterDispatch event.]2 Kb
 plgSystemXHTML.zip[Joomla! System Plugin For XHTML]2 Kb
Last Updated on Friday, 27 June 2008 05:24
Read more...
 
More Articles...
«StartPrev12NextEnd»

Page 1 of 2
 

Sponsorship

Visitors are kindly requested to give the advertisements at least a cursory glance.