AMP pages with Tapestry

Carlos Montero Canabal <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
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.