Dec 04, 2008, 12:37 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: [ granted (both!) ] Textile or Markdown Integration  (Read 12167 times)
0 Members and 1 Guest are viewing this topic.
afkuz
Jr. Member
*
Posts: 15


WWW
« on: Jun 16, 2005, 10:24 PM »

I think that the implementation of Textile (http://textism.com/tools/textile/) and/or Markdown (http://daringfireball.net/projects/markdown/) would be extremely useful in MODx.  While TinyMCE and FCKeditor are good  in their own respects, I think many users would like the opportunity to use one (or both) of these wiki-style syntaxes.  It would be a great addition to an already awesome CMS!

Keep up the good work and please consider this suggestion!
« Last Edit: Mar 01, 2006, 08:46 AM by rthrash » Logged

Top Dead Center Design, LLC
Design, Develop, Manage
http://tdcdesign.com/
xwisdom
Foundation
*
Posts: 1,732



« Reply #1 on: Jun 17, 2005, 12:08 AM »


Hi afkuz ,

Many thanks for the suggestions.

I'm delighted to say that as of MODx TP2.1 both Textile and Markdown can be easily implemented as plugins. It's as easy as ABC. TP3 will event make it much easier.

example:

A) Create a plugin that listens to the OnDocumentPrerender event that would convert textile syntax found within <textitle> tags.

B) Add some content to a document using the textarea:

<textitle>
h2{color:green}. This is a title

h3. This is a subhead
</textitle>

C) Load up your web page and you're done


The same can be done for the Markdown syntax:

<markdown>
*   Candy.
*   Gum.
*   Booze.
</markdown>

Logged

xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder - Create and do more with less.
Carsten
Coding Team
*
Posts: 561



WWW
« Reply #2 on: Jun 18, 2005, 04:13 AM »

Boy, this is really wonderful stuff.

I really like what daringfireball does too.


Combine all of this into ModX and phew this is going rock the net!
Logged

Tangent-Warrior Smiley
afkuz
Jr. Member
*
Posts: 15


WWW
« Reply #3 on: Jun 20, 2005, 12:07 PM »

xwisdom,

I really would like to take the time to create a plugin that would implement Textile, but I have no idea where to begin.  I'm really not sure of how Textile even works behind the scenes... all I know is that it does its job VERY well and formats nice clean XHTML.  If you have any suggestions or ideas please share them.  Would it be possible to have this be a "factory-installed" feature in the next release?  Also, about when are we due for the next release?  I can't say how much I love this CMS!  Keep up the great work!
Logged

Top Dead Center Design, LLC
Design, Develop, Manage
http://tdcdesign.com/
rthrash
Foundation
*
Posts: 9,575



WWW
« Reply #4 on: Jun 20, 2005, 12:36 PM »

There's a 50/50 chance you'll see another release late this week. It should include the "real" module implementation and some sample plugins you can use to model integrating Textile and/or Markdown. We'll definitely keep everyone up to date. Cheesy
Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
afkuz
Jr. Member
*
Posts: 15


WWW
« Reply #5 on: Jun 20, 2005, 06:46 PM »

There's a 50/50 chance you'll see another release late this week. It should include the "real" module implementation and some sample plugins you can use to model integrating Textile and/or Markdown. We'll definitely keep everyone up to date. Cheesy


Freakin' awesome!  You guys do great work!  The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want.  As always, thanks for the great work!
Logged

Top Dead Center Design, LLC
Design, Develop, Manage
http://tdcdesign.com/
xwisdom
Foundation
*
Posts: 1,732



« Reply #6 on: Jun 20, 2005, 09:09 PM »

Freakin' awesome!? You guys do great work!? The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want.? As always, thanks for the great work!

Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?

Using the parsers you can include include both <textile> and <markdown> codes anywhere inside your document or template.

example:

<textitle>
h2{color:green}. My Title
</textitle>
<markdown>
*   Candy.
*   Gum.
*   Booze.
</markdown>



Logged

xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder - Create and do more with less.
afkuz
Jr. Member
*
Posts: 15


WWW
« Reply #7 on: Jun 20, 2005, 09:29 PM »

Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?

I think I would like to see a Textile/Markdown text editor... it's easy enough to create the template in regular (X)HTML, so that might just be more work for the developer.  Really, I'm cool either way... whichever you guys feel would be more beneficial than by all means I'll be happy.  We just need to make sure that there is a quick tag reference on-hand (or at least a link to the documentation for each syntax), since it can be a little difficult to remember some of the syntax. Smiley
Logged

Top Dead Center Design, LLC
Design, Develop, Manage
http://tdcdesign.com/
xwisdom
Foundation
*
Posts: 1,732



« Reply #8 on: Jun 20, 2005, 10:22 PM »


What's the license used for Textile and Markdown? And where can I download the latest php codes?

I've found this site but it does not show the license and I don't know if it has the lastest versions:

http://www.movalog.com/archives/dynamic/breaking-plugins?p=2
Logged

xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder - Create and do more with less.
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #9 on: Jun 21, 2005, 02:33 AM »

http://www.textism.com/tools/textile/license.html

http://www.michelf.com/projects/php-markdown/license/

Is this it?
« Last Edit: Jun 21, 2005, 02:37 AM by sottwell » Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
zi
MODx Special Forces /
Administrator
*
Posts: 3,014


May Peace Be On You


WWW
« Reply #10 on: Jun 21, 2005, 07:08 AM »

For Markdown http://daringfireball.net/projects/markdown/license

For Textism http://www.textism.com/tools/textile/license.html

well they are from 1st post of this thread Wink

Regards

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
rthrash
Foundation
*
Posts: 9,575



WWW
« Reply #11 on: Jun 21, 2005, 07:42 AM »

Looks to me that both are free to include.
Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
zi
MODx Special Forces /
Administrator
*
Posts: 3,014


May Peace Be On You


WWW
« Reply #12 on: Jun 21, 2005, 08:06 AM »

then write include() statements  Cheesy  Grin

Regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
afkuz
Jr. Member
*
Posts: 15


WWW
« Reply #13 on: Jun 21, 2005, 08:11 AM »

Looks to me that both are free to include.

They should be free, since I've only seen them used with opensource projects, which according to the licenses would make it opensource too, right?  I think I'm understanding this correctly.
Logged

Top Dead Center Design, LLC
Design, Develop, Manage
http://tdcdesign.com/
xwisdom
Foundation
*
Posts: 1,732



« Reply #14 on: Jun 21, 2005, 08:31 AM »


Ok, Thanks guys. It looks like all should be ok now. I'll wip up a Textile plugin and 
demonstrate how it works.
Logged

xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder - Create and do more with less.
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!