Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29469558: Issue 5329 - Optimize website-boilerplate for sharing on social media networks (Closed)

Created:
June 20, 2017, 2:38 p.m. by juliandoucette
Modified:
July 7, 2017, 9:34 a.m.
CC:
wspee, Lisa
Base URL:
https://hg.adblockplus.org/website-defaults
Visibility:
Public.

Description

Note: I uploaded this to review against website-defaults - as it will probably land in website-defaults despite website-boilerplate in the name. You may checkout website-boilerplate (https://gitlab.com/eyeo/website-boilerplate) and test these includes. But the first priority is to agree on the fields that we would like to support across websites.

Patch Set 1 #

Patch Set 2 : Removed shortcut icon #

Total comments: 11

Patch Set 3 : Added og:type #

Total comments: 15

Patch Set 4 : Fixed typos #

Patch Set 5 : Separated open graph and twitter fields #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -0 lines) Patch
A includes/meta/social.tmpl View 1 2 3 4 1 chunk +87 lines, -0 lines 2 comments Download
A includes/meta/standard.tmpl View 1 2 3 1 chunk +61 lines, -0 lines 6 comments Download

Messages

Total messages: 17
juliandoucette
June 20, 2017, 2:38 p.m. (2017-06-20 14:38:54 UTC) #1
juliandoucette
Ready for review. Note: I made all fields optional for the sake of backwards compatibility ...
June 20, 2017, 2:45 p.m. (2017-06-20 14:45:34 UTC) #2
juliandoucette
Added notes. I'm thinking about adding a separate include for articles/blog posts. https://codereview.adblockplus.org/29469558/diff/29469565/includes/meta/social.tmpl File includes/meta/social.tmpl ...
June 20, 2017, 2:57 p.m. (2017-06-20 14:57:54 UTC) #3
juliandoucette
https://codereview.adblockplus.org/29469558/diff/29469565/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29469565/includes/meta/social.tmpl#newcode35 includes/meta/social.tmpl:35: #} On 2017/06/20 14:57:54, juliandoucette wrote: > Looks like ...
June 20, 2017, 3:12 p.m. (2017-06-20 15:12:29 UTC) #4
ire
Thanks! Suggestion: Should we add the `fb:app_id`? This allows Facebook to tie our Facebook Page ...
June 21, 2017, 11:39 a.m. (2017-06-21 11:39:29 UTC) #5
juliandoucette
Thanks Ire :) - See answers below. https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl#newcode1 includes/meta/social.tmpl:1: {# > ...
June 21, 2017, 12:05 p.m. (2017-06-21 12:05:01 UTC) #6
juliandoucette
https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl#newcode29 includes/meta/social.tmpl:29: # On 2017/06/21 12:05:01, juliandoucette wrote: > On 2017/06/21 ...
June 21, 2017, 12:24 p.m. (2017-06-21 12:24:16 UTC) #7
juliandoucette
CC Vasily & Jon. Please find question below. https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/social.tmpl#newcode47 includes/meta/social.tmpl:47: <meta ...
June 21, 2017, 12:30 p.m. (2017-06-21 12:30:02 UTC) #8
Vasily Kuznetsov
On 2017/06/21 12:30:02, juliandoucette wrote: > @Vasily and/or @Jon I need `protocol://host.domain:port/path`. How do you ...
June 21, 2017, 1:08 p.m. (2017-06-21 13:08:49 UTC) #9
ire
https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29469579/includes/meta/social.tmpl#newcode1 includes/meta/social.tmpl:1: {# On 2017/06/21 12:05:01, juliandoucette wrote: > > Suggestion: ...
June 21, 2017, 1:20 p.m. (2017-06-21 13:20:25 UTC) #10
juliandoucette
https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/social.tmpl#newcode47 includes/meta/social.tmpl:47: <meta property="og:url" content="{{ host }}/{{ page }}"> > So ...
June 21, 2017, 3:20 p.m. (2017-06-21 15:20:46 UTC) #11
juliandoucette
CC: Matze & Ferris (please tell me if I should just CC one or neither ...
June 21, 2017, 3:28 p.m. (2017-06-21 15:28:48 UTC) #12
juliandoucette
- Added response from matze - Removed Ferris, Matze, Vasily, Jon (to avoid spamming them) ...
June 22, 2017, 6:27 p.m. (2017-06-22 18:27:43 UTC) #13
ire
https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/standard.tmpl File includes/meta/standard.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/standard.tmpl#newcode61 includes/meta/standard.tmpl:61: {% endif %} Should the html5shiv and other IE-related ...
July 4, 2017, 9:03 a.m. (2017-07-04 09:03:00 UTC) #14
juliandoucette
Thanks Ire, please find your answer below. (@Lisa, @wspee @Thomas feel free to un-CC yourself ...
July 4, 2017, 10:05 a.m. (2017-07-04 10:05:28 UTC) #15
ire
https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/standard.tmpl File includes/meta/standard.tmpl (right): https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/standard.tmpl#newcode61 includes/meta/standard.tmpl:61: {% endif %} On 2017/07/04 10:05:27, juliandoucette wrote: > ...
July 4, 2017, 1:27 p.m. (2017-07-04 13:27:51 UTC) #16
juliandoucette
July 4, 2017, 2:49 p.m. (2017-07-04 14:49:29 UTC) #17
https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/stand...
File includes/meta/standard.tmpl (right):

https://codereview.adblockplus.org/29469558/diff/29470671/includes/meta/stand...
includes/meta/standard.tmpl:61: {% endif %}
On 2017/07/04 13:27:50, ire wrote:
> I think (:P) you're right. I didn't necessarily mean they needed to go in this
> file, I just meant as a website-defaults meta.

In that case: Yes.

Powered by Google App Engine
This is Rietveld