2007-07-31 06:51:34

dazonic
Member
gamma

Definition lists in Textile

Here it mentions something like:

dl. title:data goes here

Is there a reason why our PHP Textile doesn’t do definition lists? Will it ever?

Offline

 

2007-07-31 14:11:42

Jeremie
Member
chi
Real name: Jérémie Bouillon
From: Provence, France
Known languages: French, English
Website

Re: Definition lists in Textile

Because Textile is not a full replacement for HTML (that would have zero interest), and can be used alongside HTML.

However definitions list are useful and can be commonly used. I don’t know, you may want to ask the Textile 2 core maintainer (Zem).

Offline

 

2007-08-01 02:27:17

dazonic
Member
gamma

Re: Definition lists in Textile

Yeah, I love def. lists, use them all the time.

Offline

 

2007-09-02 16:09:35

nabrown78
Moderator
thêta
Real name: Nora Brown
From: Boston, MA, USA
Known languages: A little Italian. Un poco!
Website

Re: Definition lists in Textile

I agree textile definition lists would be very useful. Sure, I can write one with html, but I would love for my clients who are creating their own content to be able to use a definition list where appropriate.

Offline

 

2007-10-08 09:38:30

branchiopoda
New Member
alpha
Known languages: Japanese, English
Website

Re: Definition lists in Textile

I love definition lists too.

So, I added it to the Textile 2.

You can find it at my site .
The page is Japanese only but you may figure out with the codes there.

Last edited by branchiopoda (2007-10-08 09:39:45)

Offline

 

2007-10-09 18:06:45

jakob
Moderator
omega
From: Germany
Known languages: en, de
Website

Re: Definition lists in Textile

branchiopoda. Is your classTextile based off alex’s at thresholdstate.com or the other one by brad choate?


TXP Builders – finely-crafted code, design and txp

Offline

 

2007-10-10 07:52:21

branchiopoda
New Member
alpha
Known languages: Japanese, English
Website

Re: Definition lists in Textile

jakob, it’s based on alex’s at thresholdstate.com included in the Textpattern package.
And the part around definition list has been made with the idea from TextilePHP.

Last edited by branchiopoda (2007-10-10 07:52:53)

Offline

 

2007-10-10 13:09:28

jakob
Moderator
omega
From: Germany
Known languages: en, de
Website

Re: Definition lists in Textile

thanks for the info – so it’s alex’s with brad’s dl solution added. That means one could drop it in in place of the existing one and gain dl lists. Nice, especially for fans of dl-lists like myself :-)


TXP Builders – finely-crafted code, design and txp

Offline

 

2008-01-17 13:01:42

gerhard01
Plugin Author
zêta
Real name: Gerhard

Re: Definition lists in Textile

I love definition lists too.
So, I added it to the Textile 2.
You can find it at my site .

branchiopoda,

thanks a lot for the definition list modification.

However, if you use txp tags inside, they are wrongly parsed:

dl. *Definition text*:Text1 <txp:perm_link linkid="20">Link</txp:perm_link> more text
Text2 <txp:perm_link linkid="21">Link2</txp:perm_link> Text
<dl>
    <dt><strong>Definition text</strong></dt>
    <dd>Text1 <txp:perm_link linkid="20">Link1</txp:perm_link> more text</dd>
    <dt>Text2 <txp</dt>
    <dd>perm_link linkid=“21”>Link2</txp:perm_link> more text</dd>
    </dl>

Any way to escape the colon inside txp tags?

Thanks!

Offline

 

2008-05-04 22:33:46

nabrown78
Moderator
thêta
Real name: Nora Brown
From: Boston, MA, USA
Known languages: A little Italian. Un poco!
Website

Re: Definition lists in Textile

Hey for those less Textile-savvy (me): Can I use “classTextile.php” file from branchiopedia’s site to replace the “classTextile.php” that came with Textpattern, and I’ll magically have Textile definition list capabilities?

Offline

 

Powered by FluxBB