Announcing the DotText-CS-Converter tool
As I mentioned in a previous post, I created a conversion tool to convert .Text content to Community Server. It is now available for download with source code included (see link below).
The tool is a GUI wizard that can be run on any machine. You do not need to have Community Server installed on the same box. Your .Text and CS installations can be on the same or different SQL servers. However you will need to have the ability to connect directly to your SQL Server(s) over the internet from the machine this utility is being run on. It uses custom sql commands to read .Text data, and it uses the Community Server business and data objects to save the CS data. So, in theory, it should be saving the CS data about the same way as if you had created it from admin screens.
It converts users, weblogs, posts, articles, comments, trackbacks, referrals, view counts, links, and categories. The only kind of .Text content it does NOT convert is .Text photo galleries. I plan on adding that into a future version of this tool, so if you need to convert .Text photo galleries you may want to hold off on upgrading your blog.
If you have an earlier version of .Text (i.e. version .93 or .94) you can apply the v0.95 sql upgrade scripts to upgrade your schema, and then run this tool. If you are upgrading in this way, make sure the blog_config.IsActive column is populated before running this tool. Thanks to Grant Carpenter for providing this upgrade info.
I used this tool to convert my blog to Community Server, and today several other people volunteered to test it and also used it to successfully convert blogs. I made several fixes and tweaks as a result of their tests and comments (thanks guys!). There very well may still be bugs in the converter, so I recommend that you make a copy of your .Text and Community Server databases (and sites) and run this tool on the copy first. I did this by installing .Text 0.95 and CS 1.0 on my dev machine, and pointed them both to a local sql server database that was a copy of my live site's. This way you can verify that your configuration and content will be converted correctly before you run it on your live site(s). If you can't do this, you may want to wait a day or two before running this tool to allow time for any remaining bugs to be caught and fixed. Or if you are feeling lucky you can go for it all right now. =)
Click Here to Download the DotText-CS-Converter utility
- Unzip the file.
- Read the READ_ME_FIRST.txt file for more information and detailed directions.
- Run the DotText-CS-Converter.exe program.
For questions or help, email me or just ask in the CommunityServer.org forums so everyone can see the answer. I will post any updates to this tool on my blog and in the Community Server forums. My next blog post is going to be a "behind the scenes look" at the making of this tool!
UPDATE - 3/8/05
Unfortunately there was indeed a bug in the 1.0 release, which sometimes occured if you converted two or more blogs at the same time. This should be fixed now, and the updated version is uploaded at the same link as before (see above). You can tell if you have this updated version by looking in the included READ_ME_FIRST.txt file. At the top of the file it should say version 1.1 instead of 1.0. Please redownload the utility if you downloaded it before 9:15 AM E.T. on March 8, 2005. Thanks!
UPDATE 2 - 3/8/05
DotText-CS-Converter does NOT create the blog subdirectories under /blogs. That's because in order for it to run anywhere like it can, it only does database conversion. You will probably need to do this manually by using FTP, it only takes a minute unless you have a huge number of blogs. You want to create a directory the same name as your blog under your blogs folder (/blogs in a default install), and then put an empty default.aspx file in that directory.
I will add this step to the Read_Me file. I am also looking into adding something to the utility to make the creation of the directories more automated. See this CS Forums post for info on that.
UPDATE 3 - 3/8/05 5:32 PM
I just released a new version of this tool - Version 1.2. I changed the file name to DotText-CS-Converter_v1.2.zip and updated the download link above. This version includes a fix and an enhancement:
Fix: A bug was found where if you checked the "auto create an empty gallery" option, and were converting two or more .Text blogs that had the same username, you would get an error because it would try to create a CS Gallery with the same name more than once. This has been corrected in v1.2.
Enhancement: I added a new conversion option to create the necessary blog directories (and default.aspx files) during conversion on the machine the utility is being run from. See Update #2 for the background on this. Now, if you leave this option enabled, all you will need to do is to upload those directories to the /blogs folder on your Community Server web site. More detailed info about this is included in the read_me file.

先日紹介していたネタですが、次のコンバーターが出てきました。どうもフォーラムを見ている限りはこちらの方がよさそうです。
For those few of you who subscribe to my blog via RSS or ATOM and read
it in an aggregator instead of...
DotText-CS-Converter is a conversion program to convert all .Text content to Community Server. Read my...
DotText-CS-Converter is a conversion program to convert all .Text v0.95 content to Community Server....
Como prometí, unos comentarios de como me fue con la migración de .Text a Community Server.
As you can see (well, not you that use the rss), I've changed the software for my blog to Community Server....