PmWiki Reverting Script
The old Perl-Begin Wiki, powered by PmWiki got heavily spammed. I wanted to write a script to revert the pages along with their histories back to a previous date. When I posted a message to the PmWiki mailing list, Patrick Michaud (the PmWiki writer, among else) explained that it would be very difficult, said it should better be done manually, and then explained the format.
Despite that, I set to write the script. It turned out to be not very hard, and the main thing in which I spend a lot of time banging my head on, was the fact some pages started from a filled-in state. But otherwise, after I ran it, it worked beautifully, and probably took less time than a manual work.
The wiki that took the largest amount of time to set up was the Perl-Begin wiki, because it took time for Berlios.de to make the database ready. The wiki that sparked the most contreversy so far is the Python-IL one, because some people insist on using Moin-Moin instead. The Perl-IL wiki is a second attempt at having an active wiki for the Israeli Perl Mongers, after our old Kwiki-based wiki first got spammed and then stopped working for some reason.
Additions to the Art Section
I added the "Made with Latemp" logo and the background for the "Human Hacking Field Guide" story to the Computer Art section of my homepage.
thac's KDE 3.4.x
I upgraded to KDE 3.4.x from thac's RPMs for Mandriva. It is working sort of, but has many bugs. There were many duplicated entries in the menus and toolbars which I had to eliminate by manually editing some configuration files. Also, Konqueror no longer detects RSS feeds for inclusion in Akregator. And the Kedit menus are completely borked. I'm seriously considering downgrading back to KDE 3.3.x.
The Daemon, The GNU and the Penguin
I read the chapters of "The Daemon, The GNU and the Penguin" that were published so far. It was a pretty good read. I expected all the chapters to be much longer than they actually were, which was both a pleasant and a disappointing surprise.
Presentation about LAMP
My presentation about Web Publishing Using LAMP is now online and linked from my site. It is already a bit out of date, but that's life in the fast lane of web publishing. ;-)
I published a weblog entry about Catalyst in my use.perl.org blog. Aside from that, I'd like to note, that I found WWW::Form useful there too, but had to extend it a bit for the purpose. A new version of WWW::Form (1.16) was released on CPAN to reflect these changes.
The Israeli Pythoneers had their first meeting for a long time which I organized. (despite not being very fond of Python). At first we gathered next to the cinema, and waited till everyone who planned to arrive arrived. The cellphones were really helpful there. We had some small talk about various things, like Perl, Python, PHP, Linux, Demand for various open-source related jobs in Israel, the demand for Python programmers in Israel, etc.
Then after everyone arrived (8 in total - pretty good I think), we went to a quiet place (same place as the Israeli Wikipeders meeting took place) gathered around the table and started discussing our plans for the future. The summary of this meeting (in Hebrew) is available on the Wiki.
A few people left early for various reasons. Eventually 4 stayed to eat there. Amit Aronovitch and I took meals from Smokey, Beni Cherniavsky took a Chicken Salad from Nandos, and someone else took Sushi from the Japanese Bar. We sat around one table and ate and chatted. We discussed the linmagazine discussion on the the term "Nazi", and I told them about the funny discussion in discussions@hamakor (search for "You can easily install the binary distribution of Mozilla") that was started from someone mentioning that he was still using Mozilla 1.1.
Then we parted. I took the bus back home as no-one was driving in my direction.
After a discussion in the Web Meta Language discussion list, where someone suggested to host the WML homepage on his own machine, Ralf Engelschall has noted that he enabled the server-side ePerl in thewml.org. This inspired me to continue my work and now I got the front page and the about page to validate as XHTML 1.1. I'll probably do more in the next days.
Blog Aggregation Using Perl
In order to get all my blogs aggregated on Planet FOSS-IL, its webmaster requested me to aggregate them all into one place, so they'll all appear under my name. After a long time of negotiating with him, I decided that if the Mountain won't come to Muhhamad, then Muhhamad will have to go the Mountain, and decided to write it.
I decided not to use PlanetPlanet because it probably wouldn't be able to run on Debian Woody where I wanted to run the cron job. Instead I opted to use XML::RSS::Aggregate. So I ran it on the three blogs, and then found out that the dates on many of the blogs were wrong. After some investigation I found out it generated an RSS 1.0 feed. I tried to get it to generate an RSS 2.0 feed, but it didn't work. Turned out the version of XML::RSS in Woody was so old it did not support it. So I installed the new version of XML::RSS under a path in my home directory.
Then, it turned out all the dates of the use.perl.org journal were wrong. Why? It was an RSS 1.0 feed for some reason! I tried to find if I can get an RSS 2.0 feed instead, but my URL guessing did not work. So I had to overcome several problems. The first was that the field of the date in the spec has changed from dc:date to pubDate. This was relatively easy to fix. However, the date format has also changed. In order to translate the old date format into a timestamp, I had to install the new version of the Date::Parse module. Then, I tried to convert it to a formatted time using the localtime() Perl built-in. Only it turned out it was not the correct format for RSS 2.0 which required RFC822 format. So I looked for an appropriate format string to format it to. Two google searches later I found one in the code of HTML::FormatData, and I copied and pasted it.
Then (finally) akregator approved of it and I was able to notify the Planet FOSS-IL webmaster about it. After installing several modules, and patching XML::RSS. What's the lesson here? I honestly don't know. Nevertheless, it's just convinced me that I'd like to upgrade eskimo.iglu.org.il to Sarge as soon as possible.