Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-25 13:15:06

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Espresso!

Can anybody give me a clue in what way I can use this beautiful app with Textpattern so that I can edit page templates (.html)?

Now, in Firefox, I use the extension ‘It’s All Text!’ to fire BBEdit for editing page templates. But in no way I can configure this add-on to do the same with Espresso.

Any help is welcome … :)

PS
Btw … is there a Textpattern sugar yet?

Last edited by RedFox (2009-03-25 13:16:58)

Offline

#2 2009-03-25 16:12:35

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: Espresso!

Oh yes please, also noticed brandnew Espresso and now beg for sugar :-)
If other things I have to do are finished (uh, maybe in ten years ;) ) I’d even try to add it myself (or better help doing it, if a working group is a reasonable way to split up work?) –
maybe it would be a good idea to deliver easy txp-editing in a repository for different editor’s “add-ins”, “bundles”, “sugars” or whatever they’re called?

I myself do plain editing at the moment but I think those things are worth a try.

(BTW I once started to make txp-syntaxhighlighting for UltraEdit. But didn’t finish it.)

Last edited by saccade (2009-03-25 16:27:12)

Offline

#3 2009-03-25 19:19:03

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

Re: Espresso!

Have you tried cnk_versioning? It works well together with Coda at least.

Offline

#4 2009-03-26 11:07:12

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 553

Re: Espresso!

If anyone’s interested in Espresso! it’s included as part of the MacHeist 3 bundle. Currently it’s not unlocked but with 12 days left there’s a chance it could be.

http://www.macheist.com/

Thanks for pointing out cnk_versioning mapu I’m just about to start testing it, looks very interesting I have to say and could go very well with Espresso! and a Textpatten Sugar.

Offline

#5 2009-04-06 14:59:30

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 553

Re: Espresso!

Just to anyone who might be interested Espresso! has been unlocked from the MacHeist bundle. If you want to get it (and a load of other apps) for $39 you only have 1 day left.

mapu: I just wanted to say thank you so much for pointing out cnk_versioning, I had no idea about this plugin before and it works wonderfully. =D

Offline

#6 2009-04-06 18:52:51

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Espresso!

Thanks for the tip. Buying it right now!


Prrrrrrrr

Offline

#7 2009-04-07 07:45:30

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Espresso!

Just to anyone who might be interested Espresso! has been unlocked from the MacHeist bundle.

Looks like a lot of people were waiting for that to become unlocked before buying as the surge in the last day has been phenomenal (probably about 3 times as much as some of the other days). I guess the developers make a not insignificant sum even if they receive only a tiny fraction of the app’s original cost, but suddenly having nearly 72,000 licensees to potentially support after 10 days would give me grey hair overnight.

Btw … is there a Textpattern sugar yet?

Haven’t seen one but it would be good, especially if it supported code-folding for txp tags too. There is a textile sugar, though.

Last edited by jakob (2009-04-07 07:48:09)


TXP Builders – finely-crafted code, design and txp

Online

#8 2009-04-10 14:54:30

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: Espresso!

I like Espresso a lot, but without support for Textpattern tags— at least recognizing .txp as XML/XHTML-style documents —I can only use it for XHTML & CSS development. I’d be willing to contribute to building a Sugar, but I can’t find any step-by-step documentation. If anyone has gotten started, I’m willing to help out!

Offline

#9 2009-04-10 19:03:20

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: Espresso!

There is some information on how to make a sugar on this page!

Offline

#10 2009-04-10 20:48:38

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Espresso!

More specific infos in the MacRabbit Wiki. Here there’s mention of a tool for converting Textmate tmlanguage files so you might be able to take mario’s txp textmate bundle as a starting point (just show the package contents to see the individual files).


TXP Builders – finely-crafted code, design and txp

Online

#11 2010-04-02 11:11:54

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: Espresso!

Did somebody worked on this? Thanks


Regards,

Joey

Offline

#12 2010-11-06 11:42:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Espresso!

at least recognizing .txp as XML/XHTML-style documents

There are some instructions here on how to add txp as an extension so that espresso recognizes it as having the language “xml/html”.

The page makes it looks complex but it is very easy. The basic process is as follows:

  • extract a copy of the xml+html.sugar from the espresso program file
  • copy it to your application support directory in libraries
  • bump the version number of the copy in info.plist so it is loaded instead of the in-built sugar
  • add <extension>txp</extension> to languages.xml
  • save all the files and restart espresso

From now on all txp files in a project are rendered with the language interpreter html+xml. Code folding of txp tags works as does closing txp tags with </.


TXP Builders – finely-crafted code, design and txp

Online

Board footer

Powered by FluxBB