AJAXed WordPress 1.21 released…finally.

Posted on Friday the 13th of June, 2008 at 10:45 am in Plugins, Poetry

After much delaying and dragging of feet and delaying of the third kind, AJAXed WordPress version 1.21 has been released with much fanfare and reader appreciation. This version introduces full AJAX navigation, better support for embedded JS in AJAX-loaded pages, and Italian language support.

The new version of the navigation module was commissioned and paid for by DJ Nightlife (may he be blessed with many children who don’t go through the “terrible-twos”.) AJAX Navigation has been available in AWP for several years now, but it was primitive and unfinished. Its use was limited to very specific websites that were capable of embracing its flaws. I’d like to thank him for his support of the project, and I would encourage any other users to consider commissioning features both for yourself and the AWP community at large.

Continue reading. »

Oh, as an Aside: I’m alive but still not talking to you. (From the 21st of May)

There have been no posts for a while now and none of the updates to AJAXed WordPress or my other plugins have been pushed out. There is a lot of stuff (of the good kind) that is going on in my life currently, so I’ve put everything else on the back burner.

Thank you for your understanding.

P.S. Don’t you hate posts like this? Me too!

Oh, as an Aside: Short Ajax Script (From the 13th of May)

I wanted to see how small you could make a fully functional AJAX script that worked cross-browser and degraded gracefully, so I went through an old custom AJAX script and made it as small as I possibly could. In the resulting AJAX scripts, the post version is 410 characters and the GET version is only 359 characters long. The scripts are fully functional and accept the following parameters: URL, DATA (in string form), and ELEMENT (to update).

The scripts could be a little smaller, but it would really kill readability.

“Get” AJAX Script

  1. function a(l,d,u){
  2. try{r = new XMLHttpRequest();}catch(e){try {r = new ActiveXObject('Msxml2.XMLHTTP');}catch(e){r = new ActiveXObject('Microsoft.XMLHTTP');}}
  3. if(r){
  4. r.onreadystatechange = function() {if (r.readyState == 4 && r.status == 200){document.getElementById(u).innerHTML = r.responseText;}}
  5. r.open('GET', l+'?'+d, true);r.send(d);
  6. }
  7. }

“Post” AJAX Script

  1. function b(l,d,u){
  2. try{r = new XMLHttpRequest();} catch(e){try {r = new ActiveXObject('Msxml2.XMLHTTP');} catch(e){r = new ActiveXObject('Microsoft.XMLHTTP');}}
  3. if(r){
  4. r.onreadystatechange = function() {if (r.readyState == 4 && r.status == 200){document.getElementById(u).innerHTML=r.responseText;}}
  5. r.open('POST', l, true);r.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');r.send(d);
  6. }
  7. }

Combined AJAX Script

This combined script also accepts a fourth parameter ‘p’ that should evaluate true if the data is to be sent by post.

  1. function a(l,d,u,p){
  2. try{r = new XMLHttpRequest();}catch(e){try {r = new ActiveXObject('Msxml2.XMLHTTP');}catch(e){r = new ActiveXObject('Microsoft.XMLHTTP');}}
  3. if(r){
  4. r.onreadystatechange = function() {if (r.readyState == 4 && r.status == 200){document.getElementById(u).innerHTML = r.responseText;}}
  5. if(p){r.open('POST', l, true);r.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');}else{r.open('GET', l+'?'+d, true);}
  6. }
  7. }

Demo: (Sorry but you will have to go to the full page so the JavaScript is loaded.)

Continue reading. »

Oh, as an Aside: For the next 8 days, I’m dead. (From the 1st of May)

Well I might as well be. There will be no posts, no plugin updates, and VERY little support given. Sorry for any inconvenience, for delays and for the terse replies you may or may not receive.

Sometimes the real world likes to intrude onto my fun, and for the next 8 days — until Saturday the 10th — it is intruding with all due force and demanding my exclusive attention.

(I still need to eat, so support requests sent with a donation will be answered fully.)

Oh, and for my feed readers, do you enjoy Literature Thursdays ™ or just ignore the long, esoteric, and conceited posts that you find then? I’m trying to decide if I should keep going or switch topics.

Creative Commons License Image credit: zachstern

Oh, as an Aside: Oh I am a gummy bear; yes, I am a gummy bear… (From the 29th of April)

The best thing to come out of YouTube since the Kiwi: the Gummy bear song.

Oder, ich bin ein gummi Bär; ich bin ein gummi Bär.

All right, all right. Back to your regularly scheduled broadcasting.

Equality, the goal not the signpost.

Posted on Sunday the 27th of April, 2008 at 7:23 am in Sociology

The United States of America has a long history of inequality, from its treatment of Native Americans to women’s rights, it has tended to favor one group over others, but it has attempted to repair the damage it caused. However, even though America is the “land of opportunity,” its formerly oppressed peoples are not equal, but what does it mean to be equal? Is equality the government saying you must have the same number of employees from each arbitrarily defined “race?” Does equality mean that people should be forced to be equal? In examining this issue, one must define equality itself.

There are three forms of equality: equality of outcome, of opportunity, and of perception. Equality of perception is the most basic: it dictates that for people to be equal, each person should be perceived as being of equal worth.

Continue reading. »