From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17502 Path: news.gmane.org!.POSTED!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: Re: Markdown for AMP Project https://www.ampproject.org/ Date: Sat, 29 Apr 2017 18:07:45 -0700 Message-ID: References: <74722d2b-3362-48e3-a0b4-fa4502bc8005@googlegroups.com> <436da55e-15b1-4571-8716-bc35ae061e22@googlegroups.com> <3ec5c6ae-f370-4c7f-a582-319ca909ede9@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e64509c6e14054e57f159 X-Trace: blaine.gmane.org 1493514509 5664 195.159.176.226 (30 Apr 2017 01:08:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2017 01:08:29 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS252WXTEIBBC7SSTEAKGQEIARLSLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Apr 30 03:08:24 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb0-f189.google.com ([209.85.213.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4dLa-0001Ng-8g for gtp-pandoc-discuss@m.gmane.org; Sun, 30 Apr 2017 03:08:22 +0200 Original-Received: by mail-yb0-f189.google.com with SMTP id b2sf9269613yba.1 for ; Sat, 29 Apr 2017 18:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=iqMd/5ib347msaqjDTSjAib3zuzKunF3E3wXJ2zctYg=; b=BWX/GFwWITTL6X8jiKZJ3PP/YsTwILWJNuzVBou2lpSgAmIPfg5HsRYD5g3wn2ink5 43mGkx7PSJ4aP4qp1tkmDXZB8Xu8Ynt/xSWHrIA6rW2+OdYx35J2SAN2gGww16fSjWmr 5J67nvpKva0Pd4u8LjLPEvxqTLOOc1hsUoprQtEumtTwDaY52OEwW/OQNapvcfqmR17u nhy6RF5OiGpXpirMAIwAnW9x+FS86F+tnmkIgfHCikb8iH9Mv6o0xnJXKrhG2ittWyLD 7/mYAOCV0EZlpeNLaOw7MPu8bpcFuN813vt2KLLhh2IQQ66bM1F71cJ7xAOEAmJIB987 eSaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=iqMd/5ib347msaqjDTSjAib3zuzKunF3E3wXJ2zctYg=; b=A2dFoyHsMDkf+ljwKwpgd2yekKis+YeQ44w5Obtpe8GbQqhpdxYq8rWMXyyH8chOK7 +7QmXoydC23TUziv3myubOieA8GT9shUT0AfXDaD2iCBVYaYIJXeBYMP2OYha2cHQHCh dLBeO4vGMWp7rD1xPewIbC0f6DG2eILcCqctq8z+nis6TEJNim5XI0yHKy3T34vagp7Q 6wenOT10CeV7sewjsf64TIWvBCmmlkcQv8GkhR3LbbGgx0qsRrR80g2HUSMX4/Tjxt2N CdE+QW+8jX9CoxhOBT7uuM+pBxuRGDrG70AkFn2HuDmxTLwFc4rWX9etKIAzQc5Ybmx4 Bfcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=iqMd/5ib347msaqjDTSjAib3zuzKunF3E3wXJ2zctYg=; b=e0smDIy8UqM9UzOQlSqbeFUhY6b5WSRZs35/i2YrjZBNKXdRu+TOXM845mqwIE8nKL bJGY4UqH1A+lB8qZy/Zs0y3j4jdanYEOOCZWc998fGv/G9TyGyu4t6/eiS4Q7Q4XA/P1 CobOjBrmwxtJirnOVyDDuxlnaGrnacdaTP0jo+YcxUJj6iGwp0l1pdwSyyfZRpdRgkB0 Jv+kFut+X/u7vOBP8QyeDiqV1ofGdITAPtk58f+M1HguJ2jsy2WBvpG9GBRz8Dd7YNPU Hl9LQRHBp12aR6v9pD09YaBm2iTQNw51+gLT8Lp3JaOGJjPLOhB8pc/OQTGxMsbLvYJT eRzA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AN3rC/6WHS7bYZj03edI8vZcW9ZccTFH6WuZzR+D8qlSedfPKusByERm P+36NlLjQn/PKQ== X-Received: by 10.36.108.17 with SMTP id w17mr34167itb.1.1493514507855; Sat, 29 Apr 2017 18:08:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.59.209 with SMTP id i200ls2557775ioa.52.gmail; Sat, 29 Apr 2017 18:08:26 -0700 (PDT) X-Received: by 10.99.107.194 with SMTP id g185mr8946130pgc.101.1493514506882; Sat, 29 Apr 2017 18:08:26 -0700 (PDT) Original-Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com. [2607:f8b0:4002:c09::230]) by gmr-mx.google.com with ESMTPS id m63si1016556ywd.5.2017.04.29.18.08.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Apr 2017 18:08:26 -0700 (PDT) Received-SPF: pass (google.com: domain of christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c09::230 as permitted sender) client-ip=2607:f8b0:4002:c09::230; Original-Received: by mail-yb0-x230.google.com with SMTP id 11so22555555yby.0 for ; Sat, 29 Apr 2017 18:08:26 -0700 (PDT) X-Received: by 10.37.83.65 with SMTP id h62mr14483585ybb.92.1493514506231; Sat, 29 Apr 2017 18:08:26 -0700 (PDT) Original-Received: by 10.37.44.129 with HTTP; Sat, 29 Apr 2017 18:07:45 -0700 (PDT) In-Reply-To: X-Original-Sender: christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c09::230 as permitted sender) smtp.mailfrom=christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17502 Archived-At: --001a113e64509c6e14054e57f159 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable By the way, the "cleanup" notebook in the experiment branch is a pure python version of the code which do not requires weave. On Sat, Apr 29, 2017 at 5:28 PM, Kolen Cheung wrote: > By the way, PageSpeed Insights > can be useful > to hunt down problems that makes your webpage slow. But don=E2=80=99t bli= ndly > follow all its advice. Some can never be fulfilled, or too compromised > depending on your need. > > On Saturday, April 29, 2017 at 5:26:42 PM UTC-7, Kolen Cheung wrote: > > Oh, I don=E2=80=99t expect it to be so effective. (Perhaps that=E2=80=99s= why John Gruber >> is *the* indie blogger, and the creator of markdown.) >> >> Going back to accelerating pages in general, pandoc=E2=80=99s output is = already >> very =E2=80=9Caccelerated=E2=80=9D, meaning that it is very minimal and = static. >> >> Of course when you design a website, you will add your own js and css on >> top of pandoc=E2=80=99s output, and also add some banners / headers / et= c. >> >> The key of AMP is that they don=E2=80=99t allow js (apart from many othe= r good >> practices). So you can mimic that too. >> >> One interesting point is that if you use Google Analytics, Google Ads, >> Google Search, etc., they insert js to your page. (I don=E2=80=99t study= AMP enough >> to see how they handle this.). So do DISQUS, and Facebook/Twitter badges= , >> etc. If you googled it, people has suggested not to use the official >> provided badges but create your own static one (just an image with link)= . >> >> Another note is that if you want to include Math in your webpage, where >> pandoc can handles it well, you might want to avoid using MathJax but so= me >> other solutions. Good alternatives are the --webtex, or jgm/pandoc-tex2s= vg: >> Pandoc filter to convert math to SVG using MathJax-node=E2=80=99s tex2sv= g >> , which makes the equations >> static. >> >> On Saturday, April 29, 2017 at 5:01:31 PM UTC-7, supp=E2=80=A6-ZohPw8X7yHRhl2p70BpVqQ@public.gmane.org= m wrote: >> >> On Sunday, April 30, 2017 at 2:04:45 AM UTC+3, Kolen Cheung wrote: >>>> >>>> AFAIK I didn=E2=80=99t see people doing this (but I could be wrong). J= ust to >>>> point out some problems of AMP: >>>> >>>> - Daring Fireball: The Problem With AMP >>>> >>>> >>>> I agree on those considerations. Closed case for me. >>> >> =E2=80=8B >> > =E2=80=8B > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/pandoc-discuss/uzEEUzQAvMw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/ > msgid/pandoc-discuss/aefedaf2-8b5f-48a4-ab4f-b64ef59390f7% > 40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAOX6kG6cKJ5G7V4LeDQuvqKBZXmKKJouEXoer9DpBHrWa7Co%2BQ%40mail= .gmail.com. For more options, visit https://groups.google.com/d/optout. --001a113e64509c6e14054e57f159 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
By the way, the "cleanup" notebook in the experi= ment branch is a pure python version of the code which do not requires weav= e.

On Sat, A= pr 29, 2017 at 5:28 PM, Kolen Cheung <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

By the way, PageSpeed Insights can= be useful to hunt down problems that makes your webpage slow. But don=E2= =80=99t blindly follow all its advice. Some can never be fulfilled, or too = compromised depending on your need.

On Saturday, April 29, 2017 at = 5:26:42 PM UTC-7, Kolen Cheung wrote:

Oh, I= don=E2=80=99t expect it to be so effective. (Perhaps that=E2=80=99s why Jo= hn Gruber is the indie blogger, and the creator of markdown.)

Going back to accelerating page= s in general, pandoc=E2=80=99s output is already very =E2=80=9Caccelerated= =E2=80=9D, meaning that it is very minimal and static.

Of course when you design a web= site, you will add your own js and css on top of pandoc=E2=80=99s output, a= nd also add some banners / headers / etc.

The key of AMP is that they don= =E2=80=99t allow js (apart from many other good practices). So you can mimi= c that too.

One interesting point is that i= f you use Google Analytics, Google Ads, Google Search, etc., they insert js= to your page. (I don=E2=80=99t study AMP enough to see how they handle thi= s.). So do DISQUS, and Facebook/Twitter badges, etc. If you googled it, peo= ple has suggested not to use the official provided badges but create your o= wn static one (just an image with link).

Another note is that if you wan= t to include Math in your webpage, where pandoc can handles it well, you mi= ght want to avoid using MathJax but some other solutions. Good alternatives= are the --webtex, or jgm/pandoc-tex2svg: Pandoc filter to convert math to SVG using MathJax-= node=E2=80=99s tex2svg, which makes the equations static.

On Saturday, April 29, 2017 at = 5:01:31 PM UTC-7, supp=E2=80=A6@rcdrun.com wrote:

On Sunday, April 30, 2017 at 2:04= :45 AM UTC+3, Kolen Cheung wrote:

AFAIK I = didn=E2=80=99t see people doing this (but I could be wrong). Just to point = out some problems of AMP:

I a= gree on those considerations. Closed case for me.

=E2=80=8B

=E2=80=8B

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://g= roups.google.com/d/topic/pandoc-discuss/uzEEUzQAvMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
p= andoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https:= //groups.google.com/d/msgid/pandoc-discuss/aefedaf2-8b5f-48a4-ab4= f-b64ef59390f7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAOX6kG6cKJ5G7V4LeDQuvqKBZXmKKJouEXoer9= DpBHrWa7Co%2BQ%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a113e64509c6e14054e57f159--