Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-01 11:32:15

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

[plugin] [ORPHAN] upm_textile: Parse any text with Textile.

upm_textile

Parse any text with Textile.

Last edited by uli (2013-01-24 17:11:11)

Offline

#2 2006-07-01 13:32:17

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

Mary,
can I assume this is a wrapping tag?

used like this:

<code>
<txp:upm_textile>
this is a link, and you should definitely click it
</txp:upm_textile>

Is that right?

:)


Offline

#3 2006-07-01 13:35:10

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

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

Yes.

Offline

#4 2006-07-01 18:06:59

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

hi Mary,
thanks for a new plug-in…
what does exactly do? :D

“Parse any text with Textile.”
Yes, but what does it mean?
Is something similar to < code>< /code>

Thanks!
edit: i have installed it and read the help, but not tried it yet…

Last edited by maniqui (2006-07-01 18:07:29)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2006-07-02 17:48:35

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

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

Wrap the tag around any text you want Textiled. It was originally brought up here, for using from the write tab, but it could be used from any page or form too.

Offline

#6 2006-07-07 08:03:42

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

thanks Mary
this has just come in really handy :o)

Offline

#7 2006-07-16 01:48:44

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

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

v.0.2

Offline

#8 2007-04-30 08:08:54

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

This plugin is a great idea, but there’s one hitch that’s keeping me from using it at the moment.

I’d like to use this to give post titles the Textile treatment, but my site design gives these titles one heading level on article list pages and another on individual article pages. Because of this, I can’t override the default <p> wrapping tags with something like h3. My _Awesome_ Post Title in the title field. Even if the heading levels weren’t a problem, I’d still rather keep the semantics in the templates rather than shoehorning it into content fields.

Is there a way to use this plugin for Textile formatting, but optionally strip out the paragraph tags? I’ve tried the various attribute / value options, but haven’t had any success so far. Thanks in advance for your help.

Offline

#9 2007-04-30 20:04:48

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

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

No, but I think you may be able to find another plugin that can strip them for you.

Offline

#10 2007-05-01 03:35:34

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

Such a plugin doesn’t seem to exist (yet), but I can do without this functionality for now. The way post titles are handled is frustrating, but livable.

Learning to write plugins is one of my goals for the coming months. I’ll keep this in mind as a plugin idea, or possibly a modification to your existing plugin. Thanks for the help!

Offline

#11 2007-05-01 06:53:06

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

etz_striptags will strip tags for you. Perhaps the following will work:

<txp:upm_textile>
     <txp:etz_striptags>
          <txp:title />
     </txp:etz_striptags>
</txp:upm_textile>

I’ve never needed to nest plugins before, but if it doesn’t work, you could store the stripped output as a PHP variable, then Textile that.

Offline

#12 2007-05-11 04:14:41

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

Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.

v.0.3

Last edited by Mary (2013-01-24 17:22:48)

Offline

Board footer

Powered by FluxBB