mt2geeklog is a Geeklog custom function which allows you to import a log file exported from Movable Type ®. If you are not using Movable Type itself, you can import a log file with a similar format. See here for the imformation on Movable Type Import Format.
WARNING: mt2geeklog is still at its alpha release stage, so I'm afraid it might have some bugs. Make a backup of your current geeklog database using the built-in admin feature in advance. Verify your backup feature is configured correctly and backup file is not 0 byte (This is worth a check).
WARNING: Besides, I haven't tried to process languages other than Japanese, there might be some difficulties or errors when using mt2geeklog.
Like Geeklog itself, you can use mt2geeklog under the terms of the GNU General Public License.
require_once( 'custom/phpblock_mt2geeklog.php' );
Options | Description |
---|---|
Original Author | Original authors of imported stories will be authors in Geeklog as well. If authors are not yet registered in Geeklog, corresponding users will be created automatically. NOTICE: Newly-created accounts are disabled, so admin has to set their email addresses and passwords manually. |
Original Author Possible | Original authors of imported stories will be authors in Geeklog as well. If authors are not yet registered in Geeklog, admin will be their owner. |
Admin | Original authors of imported stories will be ignored and admin will be their owner. |
Options | Description |
---|---|
As they are | mt2geeklog will adopt the "ALLOW COMMENTS" flags set in the imported file. |
Auto | mt2geeklog will adopt the "ALLOW COMMENTS" flags set in the imported file. However, as for stories with comments, comments are allowed automatically. |
Enable all | The "ALLOW COMMENTS" flags set in the imported file will be ignored and comments are allowed in all imported stories. |
Disable all | The "ALLOW COMMENTS" flags set in the imported file will be ignored and comments are disabled in all imported stories. |
Options | Description |
---|---|
As they are | mt2geeklog will adopt the "ALLOW PING" flags set in the imported file. |
Auto | mt2geeklog will adopt the "ALLOW PINGS" flags set in the imported file. However, as for stories with trackbacks, trackbacks are allowed automatically. |
Enable all | The "ALLOW PINGS" flags set in the imported file will be ignored and trackbacks are allowed in all imported stories. |
Disable all | The "ALLOW PINGS" flags set in the imported file will be ignored and trackbacks are disabled in all imported stories. |
<div class="article">
<div class="article_title">Some Title</div>
<div class="article_body">Story Body</div>
</div>
<div class="article_title">
and </div>
in some way, you can use the part as the title of the story. Start title HTML and End title HTML are for this purpose. When you enter into Start title HTML a pattern preceding the title and enter into End title HTML a pattern following the title, mt2geeklog will try to extract a title from a story. If one is acquired, it will be the title of the story. If none, the tilte will be "NO TITLE" automatically.ver 0.1.2 | 2006/04/25 | Geeklog version prior to 1.4.0 didn't have trackback features, so modified not to save data about trackbacks into the database. |
ver 0.1.1 | 2006/04/21 | Dealed with a case where mbstring (multibyte-string) functions are unavailable. There is no converting encodings. |
ver 0.1 | 2006/04/19 | Initial version. |
Copyright © 2006 mystral_kk -- mystral_kk AT ddlinks DOT net