Don't look now...
...but someone has gone and released MT-Textile 2.0. The usage instructions are here, although it probably needs some more examples.
The play thing is still running if you want to kick the tires. And of course, please submit any bugs you may find to the bug tracker. Please use the bug tracker to report any incompatibilities you find compared to the old version.
For those of you that are upgrading, it registers itself as "Textile 2". So you will have two Textile choices. To be safe, you should leave your old entries set to the 1.0 version of Textile and compose new entries with the new version. But, if you want (and if you're using MySQL), you can update all your old entries to use the 2.0 release, by using this command:
update mt_entry set entry_convert_breaks='textile_2'
where entry_convert_breaks='textile_1'
That will update all entries for all MT weblogs in your database. If you need to limit it to a specific weblog, add a "and entry_blog_id=N" to that, where N is the id for the desired weblog. Naturally, you'll want to "rebuild all" following such a step.
If you're upgrading from the MT-Textile 2 beta, you should remove the old version entirely. Delete the textile.pl file from your MT plugins directory and the "textile.pm" file in the "extlib/bradchoate" directory. If you do that, you will definitely need to switch your entries from using "textile_1" to "textile_2" as mentioned above. Sorry for the inconvenience.
My thanks to all that have beta tested and for everyone's patience.
Thank you and good night.
hi. i installed the textile 2 but when i tried to publish something i get the following error:
Can't locate Encode.pm in @INC (@INC contains: ./extlib ./lib ./extlib ./lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at (eval 17) line 28.
can advise what needs to be done? thanks.
Awesome, it's working wonderfully for me.
Encode will only work with Perl 5.7.3 and later. Hopefully Brad will release an Encode-less version?
For those reading the comments and haven't noticed the 'update' addition made to the post, the missing 'Encode' issue Jim discovered has been fixed.
Ooh, you changed the name of the filter to "textile_2", but I think the new extlib/Text/Textile.pm breaks textile_1 (at least, the 2.0b version of it). I'm not quite ready to find-and-replace all the textile_1 in my blog with textile_2, so is there a way to make the two versions coexist? Or maybe I'm just doing something wrong (I'll look into it more later tonight).
BTW, in the documentation, I think it'd be helpful to mention when you say the lookup list of links has to be in the same document, that the "Entry Body" and the "Extended Entry" of a post are considered different documents.
Anyway, great plugin Brad. It saves me a lot of work!
I get the following error when trying to rebuild my logs after updating to 2.0 and running the MySQL command:
"Undefined subroutine MT::Textile::filters at (eval 20) line 12"
Can you tell me what's happening here?
josh
Okay, sorry... I can't read directions apparently. I put Textile.pm in the /bradchoate/ directory instead of /Text/... not used to having a choate plugin that doesn't have a file there i guess ; )
Problem solved.
Any suggestions on how to upgrade old entries from textile_1 to textile_2 if you're using BerkleyDB?
Found an error in Textile.pm:
'heart' => '⑉', # BLACK HEART SUITis supposed to be
'heart' => '♥', # BLACK HEART SUITAlso, I think it would be nice if these suit words could be upper or lower case and still 'work'.
Thanks Brad, astounding effort!