Saturday, October 15th, 2005


Over on this site, I read about a system that seems to be a bit like mine (only perhaps more complicated).

It did give me one idea though: I could automatically populate the value into the box. Or even more simply, have the JavaScript simply fix up the action="" attribute. Then the user just needs to set the action attribute to a whitespace string, and then the JavaScript will make it possible for the reader to submit comments.

I’m not sure if this would really be all is needed to prevent Spam comments. Requiring JavaScript to be on…

And trackbacking it gave me another idea: setting the action on a trackback URI to copy the URI to the clipboard. That would be cool. Or making the ‘LinkThis’ bookmarklet get the trackback URI from the page. Should be able to look for a link with rel="trackback", and use the href from this.

Okay, this bit works, but again I’ve run into the problem that I’m trying access an ‘off-site’ document. And I cannot do that with JavaScript.

var a = document.getElementsByTagName('a');
var tb = '';
for (var i=0;i<a.length;i++){
    if (a[i].rel=="trackback")
        tb=a[i].href;};

That code fragment will get the trackback URI. But there’s no argument I can pass to the bookmarklet.php file that will insert this automatically. Something to add to the Blogsome wishlist, I guess.

View Comment (1)   RSS Feed for Comments on this Post

Things I’d like to see in Blogsome:

  • The XMLRPC bug fixed. I want to be able to post from ecto again.
  • More quicktags. I’ve written some code to enable <abbr> and <acronym> tags, as well as < and > signs.
  • The ability to have md5() as a Smarty filter.
  • An RSS feed from the forums. Not strictly Blogsome, but would be cool. Done!
  • Preview in Editing window uses template (or part of template?)
  • The GMT Offset bug fixed.

A lot of this stuff should be able to be merged back into the WP/WPµ tree - the XMLRPC bug has been already, for instance. But I understand that the Blogsome team aren’t keen on upgrading the software if it is going to break something.

View Comments (9)   RSS Feed for Comments on this Post