[WM] Text::Textile and WebMake

Matt Okeson-Harlow mharlow at grephead.com
Thu Nov 20 23:04:02 GMT 2003


On Thu, Nov 20, 2003 at 04:49:16PM -0800, Wes Meltzer wrote:
> Matt Okeson-Harlow wrote, on Thursday, November 20, 2003 at 2:17 PM -0600:
> 
> >actually... not sure if it is bugs or "undocumented featuers"
> >
> >the Text::Textile CPAN module is based on the module written by Brad Choate
> >http://www.bradchoate.com/tools/textile/
> >
> >it could also be that my understanding of some of the rules for Textile are a little off...
> >(there is not THAT much documentation for it)
> >
> >i have just found that the behavior between the CPAN Text::Textile, BC Text::Textile and
> >http://textism.com/tools/textile on the same sample text is not consistant.
> >
> >i installed the Text::Textile plugin from CPAN and then switched to using the one from Brad Choate, it 
> >seemed to work
> >a bit better.
> >
> >also, it appears that Text::Textile wants you to already have done any header information, as the first 
> >thing it does
> >is stick a <p> in the output, while this has not caused any problems for me yet, it does bother me a 
> >bit...
> >
> >appears to be working ok with me, let me know if you have any questions...
> 
> I actually didn't know that Brad had developed an independent Text::Textile module, so I was working with the one on CPAN (which is not technically his). However, it's possible that Brad has a Text::Textile module for Textile 2.0.
> 
> The reason that it spits out no header information is because the Textile module was originally designed as a formatting plugin for a PHP CMS called Textile, written by Dean Allen, and then repurposed as a Movable Type formatting plugin. The template is supposed to handle everything else, and then just call MTEntryBody and format *just* that (and comments, if you want; you get the idea) with Textile.
> 
> With Textile, the idea is that it's just not geared toward writing the entire HTML from the ground up, because it's really designed for integration into a CMS (which is *exactly* why I asked nicely, and you all complied -- THANK YOU! -- to have it included in WebMake).
> 
> I wonder if maybe the Perl module isn't current for Textile 2.0 versus 1.0 code, and that's what you're looking at, i.e., the output isn't consistent because the Perl module does Textile 1.0 and the new additions in 2.0 make a difference.
> 
> Thanks a lot, again, and let me know if you can pinpoint any specific cases. I'll go ahead and do a little backporting of my content, see what I can get. (I wonder if Textile will play nice with CSVTABLE.)
> 
> --Wes :wm
> --
> Wes Meltzer <ithildin at teleport.com>
> http://www.magnesium.net/~gregsamsa/
> "Even the smallest person can change the course of the future."
> _______________________________________________
> Webmake-talk mailing list
> Webmake-talk at taint.org
> http://webmake.taint.org/mailman/listinfo/webmake-talk

yup, i was aware of Textpattern (the name of the CMS that Dean is working on) i would love to see textpattern show up
just to see how it does things =)

anyway, i too will drop everyone a line if i find anything else =)



-- 
matt okeson-harlow
mharlow at grephead dot com



More information about the Webmake-talk mailing list