Unless there is a strong objection I will modify the code in trunk to
use index.mobile.html

view = '.'.join(view.split().insert(-1,'mobile'))

On Aug 30, 2:13 am, Bruno Rocha <rochacbr...@gmail.com> wrote:
> On Tue, Aug 30, 2011 at 2:05 AM, Anthony <abasta...@gmail.com> wrote:
> > Good point. Couldn't you also do something like index.mobi.html or
> > index.html.mobi? I don't think these view names would necessarily have to
> > be exposed as URLs -- they just need to be used server side to render the
> > page appropriately.
>
> It is only a semantic issue, because the pattern for any API is terminating
> with the extension format. .json, .xml, .csv . it is more elegant IMO than
> x.json.mobi

Reply via email to