FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

File extensions

Feed 1 posts, 2 voices

Avatar
17 posts

It would be extremely useful (and for some use cases necessary) for Frog to be able to specify file extension as well as transfer content-type at least per-layout, and perhaps per-document. I can think of two use cases, both of which I’m running into as I’m setting up Frog for a client:

1. Funky caching of newsfeeds or other non-HTML content.
2. Dynamic generation of files whose name is mandated by a third-party specification (eg. robots.txt).

Neither of these is make-or-break for me at this juncture, but it would I think be a simple feature to add, and especially for the first use case would make a big difference in terms of Frog’s efficiency. It would, also, make my life much easier. :)

 
Avatar
184 posts

Hey JKing,

Frog already supports custom file/page extensions on a per-page basis. Take a look at the xml Google sitemap example or RSS xml example. If you were looking to create a large directory of pages as files however, I can see that manually writing the slug extension being a little annoying.