Merge lp:~cwayne/news-scope/news-added-cats into lp:~news-scope-team/news-scope/news-scope-outdated

Proposed by Chris Wayne
Status: Merged
Approved by: Kyle Nitzsche
Approved revision: 100
Merged at revision: 100
Proposed branch: lp:~cwayne/news-scope/news-added-cats
Merge into: lp:~news-scope-team/news-scope/news-scope-outdated
Diff against target: 135 lines (+96/-1)
1 file modified
data/child_scopes.json (+96/-1)
To merge this branch: bzr merge lp:~cwayne/news-scope/news-added-cats
Reviewer Review Type Date Requested Status
Kyle Nitzsche (community) Approve
Review via email: mp+259870@code.launchpad.net

Description of the change

Get categories same as they were with old-style news scope

To post a comment you must log in.
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/child_scopes.json'
--- data/child_scopes.json 2015-05-21 23:41:56 +0000
+++ data/child_scopes.json 2015-05-22 00:55:30 +0000
@@ -23,6 +23,11 @@
23 "id": "dept-tech",23 "id": "dept-tech",
24 "root": "False",24 "root": "False",
25 "_title": "Technology"25 "_title": "Technology"
26 },
27 {
28 "id": "dept-sports",
29 "root": "false",
30 "_title": "Sports"
26 }31 }
27 ]32 ]
28 },33 },
@@ -119,6 +124,36 @@
119 {124 {
120 "scope":125 "scope":
121 {126 {
127 "id": "com.canonical.elpais_ELPAIS",
128 "local_id": "elpais-international",
129 "category_title": "",
130 "department": "dept-international",
131 "link_to_child": "false",
132 "child_department": "http://ep00.epimg.net/rss/internacional/portada.xml",
133 "surface_template":
134 {
135 "components":
136 {
137 "art": "art",
138 "title": "title",
139 "subtitle": "subtitle",
140 "summary": "summary",
141 "emblem": "emblem"
142 },
143 "schema-version": 1,
144 "template":
145 {
146 "card-layout": "horizontal",
147 "card-size": "large",
148 "collapsed-rows": 0,
149 "category-layout": "vertical-journal"
150 }
151 }
152 }
153 },
154 {
155 "scope":
156 {
122 "id": "com.canonical.scopes.bbc_bbc",157 "id": "com.canonical.scopes.bbc_bbc",
123 "local_id": "bbc-national",158 "local_id": "bbc-national",
124 "category_title": "",159 "category_title": "",
@@ -149,6 +184,36 @@
149 {184 {
150 "scope":185 "scope":
151 {186 {
187 "id": "com.canonical.scopes.euronews_euronews",
188 "local_id": "euronews-national",
189 "category_title": "",
190 "department": "dept-national",
191 "link_to_child": "false",
192 "child_department": "http://www.euronews.com/_partners/ubuntu/europe_LANGCODE.xml",
193 "surface_template":
194 {
195 "components":
196 {
197 "art": "art",
198 "title": "title",
199 "subtitle": "subtitle",
200 "summary": "summary",
201 "emblem": "emblem"
202 },
203 "schema-version": 1,
204 "template":
205 {
206 "card-layout": "horizontal",
207 "card-size": "large",
208 "collapsed-rows": 0,
209 "category-layout": "vertical-journal"
210 }
211 }
212 }
213 },
214 {
215 "scope":
216 {
152 "id": "com.canonical.elpais_ELPAIS",217 "id": "com.canonical.elpais_ELPAIS",
153 "local_id": "elpais-national",218 "local_id": "elpais-national",
154 "category_title": "",219 "category_title": "",
@@ -179,7 +244,7 @@
179 "keyword":244 "keyword":
180 {245 {
181 "keyword": "sports",246 "keyword": "sports",
182 "_department_title": "Sports",247 "department": "dept-sports",
183 "shared_category": "sports",248 "shared_category": "sports",
184 "_shared_category_title": " ",249 "_shared_category_title": " ",
185 "category_renderer":250 "category_renderer":
@@ -203,6 +268,36 @@
203 }268 }
204 }269 }
205 },270 },
271{
272 "scope":
273 {
274 "id": "com.canonical.elpais_ELPAIS",
275 "local_id": "elpais-sport",
276 "category_title": "",
277 "department": "dept-sports",
278 "link_to_child": "false",
279 "child_department": "http://ep00.epimg.net/rss/deportes/portada.xml",
280 "surface_template":
281 {
282 "components":
283 {
284 "art": "art",
285 "title": "title",
286 "subtitle": "subtitle",
287 "summary": "summary",
288 "emblem": "emblem"
289 },
290 "schema-version": 1,
291 "template":
292 {
293 "card-layout": "horizontal",
294 "card-size": "large",
295 "collapsed-rows": 0,
296 "category-layout": "vertical-journal"
297 }
298 }
299 }
300 },
206 {301 {
207 "keyword":302 "keyword":
208 {303 {

Subscribers

People subscribed via source and target branches

to all changes: