Re: AMP pages with Tapestry

Michael Gentry <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAA-upzq_d9AtYzXz9z1G=i9MMYxY=B_9f2gPms+HDQnTS5BFpQ@mail.gmail.com>
Hi Carlos,

I've never used AMP, but see if the following markup will work with it:

<html amp="true">

mrg


On Tue, Nov 29, 2016 at 3:36 PM, Carlos Montero Canabal <
[email protected]> wrote:

> Hello Tapestry users,
>
> I would like to create an amp version of my pages into a tapestry5.4
> webapp. According to https://www.ampproject.org/
> docs/reference/spec#required-markup <https://www.ampproject.org/
> docs/reference/spec#required-markup> the root html only would be:
>
> <html amp>
>
> Tapestry5 make a xhtml compilation for the .tml, so I ask you if there is
> any method to:
>
> 1. Exclude de xhtml compilation for this pages
> 2. Intercept the result and modify it to eliminate additional tags added
> by Tapestry.
> 3. Create a MarkupModel for AMPHtml?
>
> What would be the best solution?
>
> Best regards
>
> Carlos Montero
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.