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

Issue 29480675: Issue 5329 - Added standard social media meta data to website-defaults (Closed)

Created:
July 5, 2017, 9:43 p.m. by juliandoucette
Modified:
Sept. 25, 2017, 2:35 p.m.
Base URL:
https://hg.adblockplus.org/website-defaults
Visibility:
Public.

Description

Issue 5329 - Added standard social media meta data to website-defaults

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fixed typo on og:description #

Patch Set 3 : Added facebook and printrist ids #

Total comments: 1

Patch Set 4 : Fixed "pinterest" typo #

Total comments: 9

Patch Set 5 : Added og(title|description) fallbacks #

Patch Set 6 : Added license header #

Patch Set 7 : Refactored defaults and updated locale logic #

Total comments: 2

Patch Set 8 : Renamed filter and replaced double quotes #

Patch Set 9 : Added missing translate filters #

Total comments: 1

Patch Set 10 : Removed test page in favour of default template #

Patch Set 11 : Refactored output, added og:image:alt #

Patch Set 12 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -1 line) Patch
A filters/to_og_locale.py View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A includes/meta/social.tmpl View 1 2 3 4 5 6 7 8 9 10 1 chunk +52 lines, -0 lines 0 comments Download
M settings.ini View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M templates/default.tmpl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30
juliandoucette
July 5, 2017, 9:43 p.m. (2017-07-05 21:43:55 UTC) #1
juliandoucette
Note: This includes standard website meta data for social media. There will be another include ...
July 5, 2017, 9:47 p.m. (2017-07-05 21:47:25 UTC) #2
juliandoucette
On 2017/07/05 21:47:25, juliandoucette wrote: > Note: This includes standard website meta data for social ...
July 5, 2017, 9:47 p.m. (2017-07-05 21:47:56 UTC) #3
ire
Thanks. A couple general comments: 1. In the other review you mentioned something about a ...
July 7, 2017, 4:05 p.m. (2017-07-07 16:05:07 UTC) #4
juliandoucette
> 1. In the other review you mentioned something about a field forpinterest. Is that ...
July 7, 2017, 8:05 p.m. (2017-07-07 20:05:20 UTC) #5
juliandoucette
On 2017/07/07 20:05:20, juliandoucette wrote: > I haven't decided where I want to draw the ...
July 7, 2017, 8:11 p.m. (2017-07-07 20:11:22 UTC) #6
ire
https://codereview.adblockplus.org/29480675/diff/29480676/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29480676/includes/meta/social.tmpl#newcode16 includes/meta/social.tmpl:16: <meta property="og:descirption" content="{{ og_description }}"> On 2017/07/07 20:05:20, juliandoucette ...
July 10, 2017, 7:50 a.m. (2017-07-10 07:50:58 UTC) #7
juliandoucette
Notes below. https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> I think ...
July 11, 2017, 12:10 p.m. (2017-07-11 12:10:45 UTC) #8
ire
https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> On 2017/07/11 12:10:45, juliandoucette ...
July 12, 2017, 7:55 a.m. (2017-07-12 07:55:20 UTC) #9
juliandoucette
likewise for og:description https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> On ...
July 12, 2017, 3:52 p.m. (2017-07-12 15:52:38 UTC) #10
ire
https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> On 2017/07/12 15:52:38, juliandoucette ...
July 13, 2017, 9:39 a.m. (2017-07-13 09:39:46 UTC) #11
juliandoucette
https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> On 2017/07/13 09:39:46, ire ...
July 14, 2017, 11:27 a.m. (2017-07-14 11:27:32 UTC) #12
ire
LGTM https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl File includes/meta/social.tmpl (right): https://codereview.adblockplus.org/29480675/diff/29485607/includes/meta/social.tmpl#newcode13 includes/meta/social.tmpl:13: <meta property="og:title" content="{{ og_title }}"> On 2017/07/14 11:27:31, ...
July 17, 2017, 7:18 a.m. (2017-07-17 07:18:22 UTC) #13
juliandoucette
+Vasily +Jon Can you please review my tooglocale filter? Ideally, I would load https://api.crowdin.com/api/supported-languages and ...
Aug. 8, 2017, 11:38 p.m. (2017-08-08 23:38:28 UTC) #14
juliandoucette
(I would like to prioritize this because I could fix https://issues.adblockplus.org/ticket/1274 and https://issues.adblockplus.org/ticket/1198 using this ...
Aug. 8, 2017, 11:43 p.m. (2017-08-08 23:43:54 UTC) #15
Vasily Kuznetsov
Hi Julian, The filter looks good, except for the nit about the quotes (see below). ...
Aug. 9, 2017, 5:02 p.m. (2017-08-09 17:02:48 UTC) #16
Jon Sonesen
On 2017/08/09 17:02:48, Vasily Kuznetsov wrote: > Hi Julian, > > The filter looks good, ...
Aug. 9, 2017, 6:50 p.m. (2017-08-09 18:50:19 UTC) #17
juliandoucette
I renamed the filter and replaced the double quotes with single quotes. I'd like to ...
Aug. 9, 2017, 7:19 p.m. (2017-08-09 19:19:41 UTC) #18
juliandoucette
(I removed kvas and jsonesen from CC to avoid spamming them) Added missing translation filters ...
Aug. 9, 2017, 10:38 p.m. (2017-08-09 22:38:54 UTC) #19
Vasily Kuznetsov
LGTM for filters/to_og_locale.py in PS9.
Aug. 10, 2017, 3:09 p.m. (2017-08-10 15:09:09 UTC) #20
juliandoucette
@kvas Updated Patchset is mostly Jinja :) I don't know how to localize meta images. ...
Aug. 21, 2017, 12:01 p.m. (2017-08-21 12:01:15 UTC) #21
Vasily Kuznetsov
On 2017/08/21 12:01:15, juliandoucette wrote: > @kvas > > Updated Patchset is mostly Jinja :) ...
Aug. 21, 2017, 5:26 p.m. (2017-08-21 17:26:21 UTC) #22
juliandoucette
On 2017/08/21 17:26:21, Vasily Kuznetsov wrote: > Hi Julian, > > This is a bit ...
Aug. 21, 2017, 7:15 p.m. (2017-08-21 19:15:24 UTC) #23
Vasily Kuznetsov
On 2017/08/21 19:15:24, juliandoucette wrote: > On 2017/08/21 17:26:21, Vasily Kuznetsov wrote: > > Hi ...
Aug. 22, 2017, 10:43 a.m. (2017-08-22 10:43:02 UTC) #24
Vasily Kuznetsov
On 2017/08/22 10:43:02, Vasily Kuznetsov wrote: > On 2017/08/21 19:15:24, juliandoucette wrote: > > On ...
Aug. 22, 2017, 10:47 a.m. (2017-08-22 10:47:27 UTC) #25
juliandoucette
On 2017/08/22 10:47:27, Vasily Kuznetsov wrote: > So anyway, `sources.py:Source.resolve_link` is accessible to the filters ...
Aug. 22, 2017, 11:15 a.m. (2017-08-22 11:15:35 UTC) #26
Vasily Kuznetsov
On 2017/08/22 11:15:35, juliandoucette wrote: > On 2017/08/22 10:47:27, Vasily Kuznetsov wrote: > > > ...
Aug. 22, 2017, 2:30 p.m. (2017-08-22 14:30:00 UTC) #27
juliandoucette
On 2017/08/22 14:30:00, Vasily Kuznetsov wrote: > I haven't thought about augmenting the converters, but ...
Aug. 22, 2017, 2:45 p.m. (2017-08-22 14:45:30 UTC) #28
Vasily Kuznetsov
On 2017/08/22 14:45:30, juliandoucette wrote: > On 2017/08/22 14:30:00, Vasily Kuznetsov wrote: > > I ...
Aug. 22, 2017, 5:33 p.m. (2017-08-22 17:33:22 UTC) #29
juliandoucette
Aug. 23, 2017, 11:02 a.m. (2017-08-23 11:02:13 UTC) #30
On 2017/08/22 17:33:22, Vasily Kuznetsov wrote:
> I'm happy to add meta.content to converters.py
> (https://issues.adblockplus.org/ticket/5557), but that will take a bit of
time.
> Can this review wait for it? Otherwise you can land it with the first option
and
> then update after the converters.py change lands.

I think it can wait. At least until we can actually share code from
website-defaults to websites :D

Powered by Google App Engine
This is Rietveld