Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-10-05 18:54:06

cake
New Member
Registered: 2004-10-05
Posts: 2

Obtaining stand-alone Textile

This may seem like a stupid question, but I’m stumped! How can one obtain a stand-alone version of Textile to use in a PHP app?

I’ve gone to the Textile page: http://textism.com/tools/textile/

There’s no download link, no information on how one can obtain it. There is a donate link for PayPal, but there’s nothing to indicate that if I make a donation (which I’d be happy to do, if it works out for me) I can download the file(s).

Is there a secret handshake I need to know? :)

Offline

#2 2004-10-05 20:43:41

hafnius
Archived Plugin Author
From: DK
Registered: 2004-09-02
Posts: 47

Re: Obtaining stand-alone Textile

The Textile shorthand syntax can be found in severel different versions
you may want to check out Textilephp wich our very own Greenrift has made a version to work with Textpattern
hope this helps – a search on this forum for Textilephp on this forum will also give some thread to read on the topic.

And btw there is a secret handshake, but if i told you i would have to kill you :)

/Hafnius

Last edited by hafnius (2004-10-05 20:45:05)


– Nobody puts Baby in the corner !
Johnny Castle, Dirty Dancing

Offline

#3 2004-10-05 21:17:06

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: Obtaining stand-alone Textile

Or use the classtextile.php file packed with TXP and use it like TXP does. Not that hard to sniff out in the code what the “syntax” is to call it.


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#4 2004-10-05 22:01:38

cake
New Member
Registered: 2004-10-05
Posts: 2

Re: Obtaining stand-alone Textile

Ah, thanks! I’ll grab TXP and take a look there.

Offline

#5 2005-11-21 17:04:43

xenlab
Member
From: winter park, fl
Registered: 2004-07-08
Posts: 16

Re: Obtaining stand-alone Textile

Is there any interest in distiling textile into a real open source project, so that various lang implementations can be standardized, instead of ripping code out of TXP?

I’ll check out textilePHP, as that is what I’m looking for. But I see that Ruby on Rails apps, most notably BaseCamp, also have a textile implementation.


thanks,
xenlab

http://www.xnlb.com/

Offline

#6 2005-11-21 18:49:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Obtaining stand-alone Textile

It isn’t really ripping code out of Textpattern, it’s added to and used by Textpattern. There’s a difference. :) The file is classTextile.php, and it is in the “lib” folder.

At the top of the file you will find instructions on the syntax, and how to use the class. Enjoy it in good health. :)

Offline

#7 2005-11-21 18:56:55

xenlab
Member
From: winter park, fl
Registered: 2004-07-08
Posts: 16

Re: Obtaining stand-alone Textile

Cool. Is this recommended, over textilePHP?

It would also be nice to have a seperate release for the textile lib, so that it’s easier to keep up on updates than having to download each textpattern release, etc. That is of course assuming that there is a change to this lib in the textpattern release.


thanks,
xenlab

http://www.xnlb.com/

Offline

#8 2005-11-21 19:48:24

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Obtaining stand-alone Textile

Textile is the original script, created by Dean Allen.

textilePHP is someone else’s version of it. First, one guy converted textile to Perl and enhanced it, then someone else converted that version back to PHP. Whether you should use it or not depends very much on you. See which one includes the features you’re after.

I know, it should be linked to from there, I don’t know why it isn’t. There may well be a reason, but likely only Dean knows.

Offline

#9 2005-11-21 19:51:10

xenlab
Member
From: winter park, fl
Registered: 2004-07-08
Posts: 16

Re: Obtaining stand-alone Textile

Yeah, I saw that when I visited the textilePHP downlaod page. I will compare the two, but would rather use the ‘standard’ version, which is more than likely the textpattern version Dean did.

Thanks for all your help, Mary.


thanks,
xenlab

http://www.xnlb.com/

Offline

Board footer

Powered by FluxBB