Latest Forum Posts

DonationCoder's 35 Free New Year Apps
After browsing through all of the apps I have to say that there are a few that could actually prove to be useful. Here are the ones that we really like, and I'll tell you my favorite at the end of the article.. And I'll save what I consider to be the best for last. It's called JustCloseSomeTasks, and it's designed to monitor how often you're using the programs you currently have open. With a quick press of a hotkey you can see all applications that have been inactive for a specified period of time, and in a few clicks you can close them all. This is a great tool for anyone who finds themselves overwhelmed with the number of windows they have open. Congrats to DonationCoder for another successful NANY challenge, and a big thanks to all of the developers who took the time out of their busy lives to make contributions! You can checkout all 35 of the entries here.
Cybernet News Blog image

MwImporter is an Open Source php script that aids in batch converting and importing an entire directory of html files and images into a MediaWiki site.

It's useful if you want to convert your static page site into MediaWiki.

This builds on a number of existing tools, including HTML WikiConverter perl scripts, and the php importing tools that come with MediaWiki.

What it adds is a bunch of nice helper functions that facilitate massaging the html prior to conversion, and wiki text post conversion, handling filename clashes, relative links between pages, and the handling of recursive directories of both static pages and images, using php classes that are easy to extend.

Most importantly: you can import a large deep directory of pages and images, and it will import properly all of them, creating unique names when the file and page titles are not globally unique (nesc. due to flatness of a wiki), and fixing up all links between pages.

NOTE: I should add that really this is a generic set of php classes for "converting/importing" a recursive directory of files from one format into another, which includes derived classes specifically for converting and importing from html files into a MediaWiki site; but the base classes could serve as a useful starting point for anyone who wants php code to recursively discover and batch process/convert a directory of files from any format to any other format, with helper functions for handling commandline options, temp files, file matching patterns, etc.

AUDIENCE: This code is intended for experienced users who aren't afraid of getting their hands dirty; if you are expecting a super friendly idiot-proof tool you need to look elsewhere (bearing in mind there is nothing else at the current time that will do this stuff).

Share on Facebook