Hi, great work Radiant ! I’d like to write a custom text filter that allows to me writing using an XML logic language (for example: …). My filter is a SAX parser that converts XML in HTML. What are the steps to integrate it into radiant?
thank you
Take a look at http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/filters/textile_filter.rbfor an example of how to create a filter. It’s a very simple example, but essentially it is the interface that you have to implement.
Make sure your filter loads the proper libraries, REXML for example, if you’re using it.
Actually, I’m surprised there hasn’t been more discussion of XML/XSLT filters! I’d be interested to see what you come up with.
Sean C. seancribbs.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.