tantek.com

t

  1. @chrismessina we can make #AMP smaller:
    * script: ban JSONLD
    * meta: ban "property" attr, schema-org

    make optional (not required)
    * link rel=canonical
    * meta name=viewport
    * script ampproject
    * style body opacity
    * anything "amp-*"

    allow but make loading expected to be optional by default:
    * picture, source
    * img - by default works like a span with its alt text
      * perhaps allow per domain user opt-in, starting with same-origin
    * any @font-face

    re: https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#required-markup

    on
  2. Remember when I declared js;dr?
    #AMP: “not include author-written JavaScript, nor 3rd-party scripts”

    https://www.ampproject.org/how-it-works/#not%20include%20any%20author-written%20JavaScript,%20nor%20any%20third-party%20scripts

    Background: tantek.com/2015/069/t1/js-dr-javascript-required-dead

    However, View Source on ampproject.org/how-it-works, and they’ve still got some work to do, e.g. their misuse of <blockquote> for second level headings, e.g.:

     <blockquote>AMP HTML is pretty fast.</blockquote>

    Remember in the 1990s when presentational web authors would use "blockquote" to mean, "indent this"? @Zeldman remembers.

    HTML has a high performance element for second level headings.

    Curiously enough it’s called <h2>, e.g. that AMP Project page should be using:

     <h2>AMP HTML is pretty fast.</h2>

    But this is any easy fix. I’m sure it was a minor oversight.

    Because why would someone worried about size & performance use 20 characters of open close tag names, when 4 would do?

    Consider this an open challenge, what else can you cut from AMP?

    @KevinMarks already has some suggestions: http://www.kevinmarks.com/ampreaction.html

    on