Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: src/appengine/scripts/redirector.py

Issue 99503002: appropriating Shailen's excellent Futures intro into tutorial (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: another pesky file Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/appengine/app.yaml ('k') | src/diagrams/tutorials/futures/eventloop.graffle » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 from webapp2 import * 1 from webapp2 import *
2 2
3 NEWS_POSTS = { 3 NEWS_POSTS = {
4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html', 4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html',
5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html', 5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html',
6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html', 6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html',
7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html', 7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html',
8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html', 8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html',
9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html', 9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html',
10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html', 10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html',
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 Route('/dartium/', RedirectHandler, 170 Route('/dartium/', RedirectHandler,
171 defaults={'_uri': '/tools/dartium/'}), 171 defaults={'_uri': '/tools/dartium/'}),
172 Route('/community/', RedirectHandler, 172 Route('/community/', RedirectHandler,
173 defaults={'_uri': '/support/'}), 173 defaults={'_uri': '/support/'}),
174 Route('/docs/getting-started/editor/', RedirectHandler, 174 Route('/docs/getting-started/editor/', RedirectHandler,
175 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}), 175 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}),
176 Route('/docs/getting-started/sdk/', RedirectHandler, 176 Route('/docs/getting-started/sdk/', RedirectHandler,
177 defaults={'_uri': '/docs/sdk/'}), 177 defaults={'_uri': '/docs/sdk/'}),
178 Route('/resources/', RedirectHandler, 178 Route('/resources/', RedirectHandler,
179 defaults={'_uri': '/community/'}), 179 defaults={'_uri': '/community/'}),
180 Route('/articles/using-future-based-apis/', RedirectHandler,
181 defaults={'_uri': '/docs/tutorials/futures/'}),
180 Route('/articles/profiling/', RedirectHandler, 182 Route('/articles/profiling/', RedirectHandler,
181 defaults={'_uri': '/articles/benchmarking/'}), 183 defaults={'_uri': '/articles/benchmarking/'}),
182 Route('/articles/m1-language-changes/', RedirectHandler, 184 Route('/articles/m1-language-changes/', RedirectHandler,
183 defaults={'_uri': '/articles/'}), 185 defaults={'_uri': '/articles/'}),
184 Route('/articles/m2-whats-new/', RedirectHandler, 186 Route('/articles/m2-whats-new/', RedirectHandler,
185 defaults={'_uri': '/articles/'}), 187 defaults={'_uri': '/articles/'}),
186 Route('/articles/m3-whats-new/', RedirectHandler, 188 Route('/articles/m3-whats-new/', RedirectHandler,
187 defaults={'_uri': '/articles/'}), 189 defaults={'_uri': '/articles/'}),
188 Route('/articles/dart-js/', RedirectHandler, 190 Route('/articles/dart-js/', RedirectHandler,
189 defaults={'_uri': '/articles/js-dart-interop/'}), 191 defaults={'_uri': '/articles/js-dart-interop/'}),
(...skipping 29 matching lines...) Expand all
219 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 221 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
220 Route('/+isolates', RedirectHandler, 222 Route('/+isolates', RedirectHandler,
221 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}), 223 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}),
222 Route('/+', RedirectHandler, 224 Route('/+', RedirectHandler,
223 defaults={'_uri': 'https://google.com/+dartlang'}), 225 defaults={'_uri': 'https://google.com/+dartlang'}),
224 Route('/mailing-list', RedirectHandler, 226 Route('/mailing-list', RedirectHandler,
225 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}), 227 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}),
226 Route('/<path:[^.]*[^/]$>', RedirectHandler, 228 Route('/<path:[^.]*[^/]$>', RedirectHandler,
227 defaults={'_uri': trailing_slash})], 229 defaults={'_uri': trailing_slash})],
228 debug=True) 230 debug=True)
OLDNEW
« no previous file with comments | « src/appengine/app.yaml ('k') | src/diagrams/tutorials/futures/eventloop.graffle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698