Concerning filename extensions, ".vhtml" is probably better for the SEO
black magic than ".vm".

For the MIME type, you generally only need it to characterize the type
of the generated content (that is, text/html, text/plain,
text/xml ...).

I guess there would indeed be situations where you need to specify the
MIME type of raw templates. I agree that text/x-velocity or, better,
text/x-apache-velocity would be fine.


  Claude

On Wed, 25 Jan 2012 12:21:23 -0600
Barbara Baughman <baugh...@utdallas.edu> wrote:

> I general use the ".vm" file extension to distinguish velocity
> templates from other kinds of text files.  However, I'm sure Velocity
> itself doesn't care about the file extension and everyone uses what
> they please.
> 
> Barbara Baughman
> Systems Analyst
> Information Security
> 972-883-2157
> 
> 
> On 1/25/12 12:01 PM, Sergiu Dumitriu wrote:
> > Is there a recommended MIME type that should be used for .vm files?
> > I found text/velocity on
> > http://www.filesuffix.com/extension/vm.html but I'd like to get an
> > official opinion.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
> For additional commands, e-mail: user-h...@velocity.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...@velocity.apache.org

Reply via email to