Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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: 607
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: 607
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
Re: Espresso!
Thanks for the tip. Buying it right now!
…Prrrrrrrr…
Offline
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
Offline
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
Re: Espresso!
There is some information on how to make a sugar on this page!
Offline
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
Offline
#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
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
Offline
Re: Espresso!
Thank you very much, Jakob! And as a bonus, I found out how to get the brackets in my css to stay on the same line. Excellent!
…Prrrrrrrr…
Offline
Re: Espresso!
Thanks, Jacob! I finally got a chance to do it, and it checks out. I’ll fire up Espresso for tomorrow’s dev session and give it another fair shake!
Offline
Re: Espresso!
It took me a while to warm to Espresso (despite the name) but now it works very well in combination with cnk_versioning. I make my cnk_versioning files into an espresso project, then separately open an arbitrary file in espresso from the finder to get a new window and from there open a preview pane (only because I haven’t worked out how to break the preview out of the project window), type in the address of your site for the preview, then “manage styles” and override with your styles.css file in the project. That gives you three windows – your project files in one ‘multi-window’, a separate site preview and separate live css editing much like css-edit. The only thing missing is the DOM-infos that css-edit provides (and perhaps its versioning facility if you use that). For the latter you can park your espresso project files in your dropbox account – you can then develop from different machines and benefit from dropbox’s in-built versioning (albeit roundabout).
BTW: on a tangentially related topic, I recently gave browserlab a shot and you can currently get a year’s free access. It’s not the same as debugging for IE via VMware/parallels but useful if you want to try how it looks (as opposed to how it works) in the myriad of other browsers you might not (or no longer) have installed on your system.
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1