September 22, 2004

Soul Brothers and other stuff

Do you think people can have soul brothers or sisters? Or at least spiritual brothers/sisters? Actually, that is a throwaway question prompted by the fact that I was going to write about somebody who I consider to be a kindred spirit – or at least of his blog :p I’ve known Tyran for quite a long time now and whether he’s writing about wireless or wagons, Firefox or Frodo, blogs or Barsoom, I know what he’s talking about … Or I can empathize with what he said. I’ve always made it a point to drop by Tyran’s blog first thing in the morning because whatever he writes about, it’s bound to be interesting, if not thought provoking. Which is why it surprised me today when I discovered that I had not been by Tyran’s blog in almost a year! Guess, that’s what marriage, shifting to a new job, going back to your old job again and all the other stuff in between does to you :p

Anyway, I decided to take a day off from coding and scripting and debugging and all the other good stuff that keeps me busy during the day, and catch up on my reading over at the Whinery. Of course, as usual, it was interesting and luckily for me, Tyran seems not to have been too prolific in his own blog output since I was able to get through a full year’s worth of entries in one day. Of course, if you’re interested, you can go over there and read his blog yourself :p

Then there is Nigel with his Red Ferret Journal. I’ve known Nige for almost as long as I’ve known Tyran and Nige also probably has the distinction of the Blog user with the most entries in his database :p I’ve been using Blog longer than anybody (I wrote it after all :p) but I’ve only got around 750 entries when you combine four separate blogs (some of which are no longer active) whereas Nigel has a whopping 4000+ entries in his single blog! Nige (like Tyran) has been a very good friend through the years though I’ve never met either of them in person. And this, probably is the greatest gift that I’ve recieved in the years I’ve been developing freeware applications – the great people I get to know and to make friends with. There are many others that I count as friends but I’ve lost touch with them through the years due to some reason or other but this is in remembering all those people who’ve enriched my life over the years 🙂

And that meandering entry is my excuse for not doing too much in the way of coding today :p Speaking of coding, I seem to have caught my first comment spam with the new and improved WPBlacklist 1.22 plugin 🙂 Unlike the old version, I even got an e-mail notification of the fact that a comment was held for moderation. Now, if I could just add the option to check external spam lists and a mechanism to search existing comments for specific keywords and IP addresses, I should be ready to release WPBlacklist 2.0 🙂 I’m kind of eager to get started on it but I think I should get Blog done first. But if you’re looking for information on Blog, this is not the place to be … DC is :p

Tags: , , ,
Posted by Fahim at 5:45 pm  |  3 Comments

Funky Dung suggested a few days ago that I should think about providing a syndication feed for DC so that people can figure out that I’d come back from my hibernation (I expect that he expected this hibernation thing to be a regular occurrence … and he might not be wrong :p) instead of having to check back on DC every so often. I told him that I had to first get the RSS template going and put that on backburner. Yesterday, I had enough time to look into implementing an RSS template and since I also needed to figure out if the new build of Blog works nice with RSS templates, I gave it a go 🙂

The result, after some messing around, reading about RSS standards and so on, was a fairly workable RSS template. I still have a few validation problems but most of the major ones are gone. The new format attribute for the date and time tags has helped tremendously and I’m hoping that others will find this little feature useful too 🙂 In fact, in testing out the RSS template, I found one bug in the format attribute, so I guess it’s a good thing that I did work on the RSS stuff :p I still get a validation error on non-UTF-8 characters in my entries but that might be due to the fact that the validator thinks my feed is encoded in UTF-8 for some reason … perhaps because that’s the default? :p As you can see, I still have a lot to learn about RSS and so will have to keep on plugging away at my RSS template till I get it working perfectly. Then, I’ll probably include that in the next build of Blog as a default template 🙂

In Blog related news, the latest builds of Blog seem to be working fairly well with WordPress. Nigel suggested a great feature – that of uploading imges via FTP to a remote blogging server 🙂 I had initially been looking at implementing image uploads via the XMLRPC interface but couldn’t do that for WordPress since their file upload feature wasn’t really complete the last time I looked :p However, when Nigel suggested using FTP, I realized that all I had to do was use what was already available in Blog – I didn’t have to wait on the XMLRPC stuff to be worked on! So I added a new option to remote server settings where you can specify the FTP server to upload images and added a couple of other settings to making things work and voila, it was done 🙂 Nigel has tested it out since then and tells me it all seems to work fine 🙂

I’ve also heard from Fabian the author of the HTMLEdit component that I use. He explained why all formatting (and image info) would be dropped when I saved a new entry – the HTMLEdit component decides whether the data it is working with is plain text or HTML by examining the data when it is first loaded. So, since there is nothing to examine when you start a new entry – it thinks that the data is plain text! While I do understand his explanation (in fact, I had deduced that it must be something like this and was going to do some experimentation as soon as I got the latest stuff in Blog working), I don’t think the behaviour is very intuitive – if it is a new record, the component should actually check the data it is saving rather than what it loads. I’ve asked Fabian whether it would be possible to make this change and am waiting on his response but in the meantime, I’m sure that I can at least do a kludgy workaround that will allow me to release the next build of Blog fairly soon 🙂

Tags:
Posted by Fahim at 9:31 am  |  No Comments