That's great. I've been using gen.py for that (a little bit modified because it was looking for mercurial revisions!??). However a simple 1-liner with xsltproc should be enough.
On Wed, Jun 19, 2013 at 11:45 PM, Peter Saint-Andre <stpe...@stpeter.im> wrote: > Fixed: > > http://xmpp.org/extensions/xep-0008.html > > We don't have a script that generates all the XEP files, but I figured > you might like to see one example (I've updated xep.xsl and we just need > to regenerate the XEPs). > > Peter > > On 6/18/13 6:30 AM, Daniele Ricci wrote: >> I've created an example XEP to test it with my Android mobile: >> http://www.kontalk.org/files/xmpp/xep-0008.html >> >> On Tue, Jun 18, 2013 at 2:30 PM, Daniele Ricci <daniele.ath...@gmail.com> >> wrote: >>> Hi all, >>> I often read XEPs and RFCs from my mobile phone. It would be nice to >>> add a viewport meta to the XSL to let mobile phones display them >>> correctly. I've just tried, works great. Something like this (of >>> course you can change it to whatever you consider useful): >>> >>> <meta name="viewport" content="width=device-width; initial-scale=1.0; >>> maximum-scale=2.0;"/> >>> >>> A quick article that talks about that: >>> https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag >>> Just an example anyway. >>> >>> Of course XML prettified data will go out of the screen if it's larger >>> than the viewport (that is, device width). >>> >>> Cheers >>> -- >>> Daniele -- Daniele