Files can only be outputted with .html currently. However, there have
been discussions about changing this so staticmatic can be used with
other templating languages or scripting like shtml, php or asp. This
may come in a later release, but it's not top of the list.
> Files can only be outputted with .html currently. However, there have
> been discussions about changing this so staticmatic can be used with
> other templating languages or scripting like shtml, php or asp. This
> may come in a later release, but it's not top of the list.
Yes, I definitely do. But I'm wary about switching to Webby because I
already put a lot of effort to learning StaticMatic and the project is
at a pretty far advanced stage right now. So maybe I can crib this
functionality from Webby, and extend StaticMatic.
I understand helpers are sort of where you put the custom Ruby
code...but would a helper have the scope and ability to modify this
functionality? Or do I need to hack the core? What is the best
practice? Also, can either of you point me in the right direction to
find the code logic where the extension types are set?
thanks,
Volkan
On 23 Oct, 13:20, Matthew Helmick <matt.helm...@gmail.com> wrote:
> If you truly need this now, you can achieve this with webby, but I don't
> know what your other requirements might be.
> -Matt
> On Fri, Oct 23, 2009 at 3:15 AM, Stephen Bartholomew <st...@curve21.com>wrote:
> > Hi Volkan,
> > Files can only be outputted with .html currently. However, there have
> > been discussions about changing this so staticmatic can be used with
> > other templating languages or scripting like shtml, php or asp. This
> > may come in a later release, but it's not top of the list.
I haven't looked at staticmatic's internals to be able to answer this
question, so I defer to the experts in the list. Webby is pretty easy, but
has the slight annoyance of keeping all the template files as ".txt" files
(no .haml or .erb extensions).
On Sat, Oct 24, 2009 at 8:58 AM, picardo <spockspla...@gmail.com> wrote:
> Hey Matt,
> Yes, I definitely do. But I'm wary about switching to Webby because I
> already put a lot of effort to learning StaticMatic and the project is
> at a pretty far advanced stage right now. So maybe I can crib this
> functionality from Webby, and extend StaticMatic.
> I understand helpers are sort of where you put the custom Ruby
> code...but would a helper have the scope and ability to modify this
> functionality? Or do I need to hack the core? What is the best
> practice? Also, can either of you point me in the right direction to
> find the code logic where the extension types are set?
> thanks,
> Volkan
> On 23 Oct, 13:20, Matthew Helmick <matt.helm...@gmail.com> wrote:
> > Volkan,
> > If you truly need this now, you can achieve this with webby, but I don't
> > know what your other requirements might be.
> > -Matt
> > On Fri, Oct 23, 2009 at 3:15 AM, Stephen Bartholomew <st...@curve21.com
> >wrote:
> > > Hi Volkan,
> > > Files can only be outputted with .html currently. However, there have
> > > been discussions about changing this so staticmatic can be used with
> > > other templating languages or scripting like shtml, php or asp. This
> > > may come in a later release, but it's not top of the list.
The new extension typing sounds like a great idea. But perhaps with a
full on extension api, similar to jQuery and Drupal projects, these
enhancements can also be done by third-party developers. There are
always some small improvements that would be productive to some
developers, though not necessarily critical to the project as a whole.
Anyways, I'm glad to hear about the extension plans. Perhaps I can be
of some help. I've been studying the internals somewhat, and though
I'm not quite there yet understanding the flow, I can provide useful
feedback, testing and debugging at this point -- but I'll do anything
you ask me, really.
Many thanks,
Volkan
On 26 Oct, 03:15, Stephen Bartholomew <st...@curve21.com> wrote:
> It is something I have in the pipeline but there's a few other things
> to hit first. The plan is to use rails style naming:
> my_file.html.haml
> The first extension will be used as the built filename.
> It'd be difficult to achieve this with helpers. Helpers are used to
> output code into your templates rather than affect the internal build
> process.