govkit-ca 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.yardopts +4 -0
  2. data/README.md +2 -1
  3. data/govkit-ca.gemspec +3 -3
  4. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +1 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +2 -2
  6. data/lib/gov_kit-ca/postal_code.rb +2 -4
  7. data/lib/gov_kit-ca/version.rb +1 -1
  8. data/lib/gov_kit-ca.rb +2 -2
  9. data/spec/cbc_ca_spec.rb +1 -0
  10. data/spec/{conservative_ca_spec.ca → conservative_ca_spec.rb} +1 -1
  11. data/spec/elections_ca_spec.rb +2 -2
  12. data/spec/fixtures/cbc_ca/A1A1A1.response +11 -0
  13. data/spec/fixtures/cbc_ca/G0C2Y0.response +11 -0
  14. data/spec/fixtures/cbc_ca/H0H0H0.response +11 -0
  15. data/spec/fixtures/cbc_ca/K0A1K0.response +11 -0
  16. data/spec/fixtures/cbc_ca/T5S2B9.response +11 -0
  17. data/spec/fixtures/cbc_ca/X1B1B1.response +11 -0
  18. data/spec/fixtures/conservative_ca/A1A1A1.response +452 -0
  19. data/spec/fixtures/conservative_ca/G0C2Y0.response +452 -0
  20. data/spec/fixtures/conservative_ca/H0H0H0.response +452 -0
  21. data/spec/fixtures/conservative_ca/K0A1K0.response +455 -0
  22. data/spec/fixtures/conservative_ca/T5S2B9.response +453 -0
  23. data/spec/fixtures/conservative_ca/X1B1B1.response +452 -0
  24. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +227 -0
  25. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +229 -0
  26. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +243 -0
  27. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +230 -0
  28. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +233 -0
  29. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +243 -0
  30. data/spec/fixtures/elections_ca/A1A1A1.response +10 -0
  31. data/spec/fixtures/elections_ca/G0C2Y0.response +11 -0
  32. data/spec/fixtures/elections_ca/H0H0H0.response +10 -0
  33. data/spec/fixtures/elections_ca/K0A1K0.response +10 -0
  34. data/spec/fixtures/elections_ca/T5S2B9.response +10 -0
  35. data/spec/fixtures/elections_ca/X1B1B1.response +10 -0
  36. data/spec/fixtures/greenparty_ca/A1A1A1.response +13 -0
  37. data/spec/fixtures/greenparty_ca/G0C2Y0.response +13 -0
  38. data/spec/fixtures/greenparty_ca/H0H0H0.response +13 -0
  39. data/spec/fixtures/greenparty_ca/K0A1K0.response +13 -0
  40. data/spec/fixtures/greenparty_ca/T5S2B9.response +13 -0
  41. data/spec/fixtures/greenparty_ca/X1B1B1.response +13 -0
  42. data/spec/fixtures/liberal_ca/A1A1A1.response +702 -0
  43. data/spec/fixtures/liberal_ca/G0C2Y0.response +570 -0
  44. data/spec/fixtures/liberal_ca/H0H0H0.response +649 -0
  45. data/spec/fixtures/liberal_ca/K0A1K0.response +650 -0
  46. data/spec/fixtures/liberal_ca/T5S2B9.response +570 -0
  47. data/spec/fixtures/liberal_ca/X1B1B1.response +649 -0
  48. data/spec/fixtures/ndp_ca/A1A1A1.response +610 -0
  49. data/spec/fixtures/ndp_ca/G0C2Y0.response +610 -0
  50. data/spec/fixtures/ndp_ca/H0H0H0.response +593 -0
  51. data/spec/fixtures/ndp_ca/K0A1K0.response +641 -0
  52. data/spec/fixtures/ndp_ca/T5S2B9.response +605 -0
  53. data/spec/fixtures/ndp_ca/X1B1B1.response +593 -0
  54. data/spec/liberal_ca_spec.rb +1 -4
  55. data/spec/ndp_ca_spec.rb +1 -1
  56. data/spec/spec_helper.rb +4 -0
  57. data/spec/strategy_set_spec.rb +5 -0
  58. data/tasks/tasks.rb +4 -5
  59. metadata +114 -8
@@ -0,0 +1,641 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Tue, 05 Mar 2013 03:51:49 GMT
3
+ Server: Apache/2.2.3 (CentOS)
4
+ X-Powered-By: PHP/5.3.10, PleskLin
5
+ Expires: Sun, 19 Nov 1978 05:00:00 GMT
6
+ Last-Modified: Tue, 05 Mar 2013 03:51:49 +0000
7
+ Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
8
+ Etag: "1362455509"
9
+ Content-Language: en
10
+ Link: <http://www.ndp.ca/node/9700>; rel="shortlink",<http://www.ndp.ca/your-riding>; rel="canonical"
11
+ X-Generator: Drupal 7 (http://drupal.org)
12
+ Set-Cookie: shields:logged-in=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; domain=www.ndp.ca
13
+ Connection: close
14
+ Transfer-Encoding: chunked
15
+ Content-Type: text/html; charset=utf-8
16
+
17
+ <!DOCTYPE html>
18
+ <html lang="en">
19
+ <head>
20
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
21
+ <link rel="shortcut icon" href="http://www.ndp.ca/sites/all/themes/tom2012/imgs/favicon.ico" type="image/vnd.microsoft.icon" />
22
+ <link rel="shortlink" href="http://www.ndp.ca/node/9700" />
23
+ <link rel="canonical" href="http://www.ndp.ca/your-riding" />
24
+ <meta name="Generator" content="Drupal 7 (http://drupal.org)" />
25
+ <title>Your Riding | Canada&#039;s NDP / NPD du Canada</title>
26
+ <!--[if lt IE 7]>
27
+ <script>window.location = (window.location+"").replace("http://www.","http://lite.");</script>
28
+ <![endif]-->
29
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css__9zsakYbWSOTLroLLtWO9P7zLJXhXtSJo2OgXN4wIrU.css" media="all" />
30
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_hFC-VOe0wdKw2fEoLiDmBwN2H2GfvZABVolycsXSAMw.css" media="all" />
31
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_bYxVGgWE7bYgKhbXEpAc8jA2Q6Uyb7G-1zs03PwEfBY.css" media="all" />
32
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_yssam9B3GHMU6Ht8jDumsUwnh0F5A9Tt5ZG9uHZlziY.css" media="all" />
33
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_TCvcUjHilIyZ_ctJGkOsMzJHZXiUC1vkjGXuCr7tUBM.css" media="screen and (max-width: 657px)" />
34
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_Q9hq-mID6g8pTo5KHiH5yXFBEgjVKiYhgl3WBlVePOY.css" media="screen and (min-width: 658px)" />
35
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_-Ga8h1RYZw8-4JOqb6atB6nv6kQ30vJyZ0y0Tbd1ut8.css" media="screen and (min-width: 974px)" />
36
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_Pg9fU5tPfs4byk05dl9jAKEdB_9d9x0jwO6t1Gr_kTc.css" media="screen and (min-width: 1136px)" />
37
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_iOYzWhRAGtwsQIcnghr3Bw8k9PhNOMoxxvSbL7cxTAc.css" media="screen and (min-width: 1390px) and (max-aspect-ratio: 5/3)" />
38
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_8DaXZm41v90V_BK6oEA21bchaUJTUIdKF6YbLAZK1es.css" media="screen and (min-width: 1390px) and (min-aspect-ratio: 5/3)" />
39
+ <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_KVl6OArlsFTcbavhG3tU-405-lVCIW62cF7bsRoDKgs.css" media="screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min--moz-device-pixel-ratio: 1.5), screen and (-o-min-device-pixel-ratio: 1.5/1), screen and (min-device-pixel-ratio: 1.5)" />
40
+ <script type="text/javascript" src="http://www.ndp.ca/misc/jquery.js?v=1.4.4"></script>
41
+ <script type="text/javascript" src="http://www.ndp.ca/misc/jquery.once.js?v=1.2"></script>
42
+ <script type="text/javascript" src="http://www.ndp.ca/misc/drupal.js?mihb0q"></script>
43
+ <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/js_new_window/js/js-new-window.js?mihb0q"></script>
44
+ <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/js_save_key/js/js-save-key.js?mihb0q"></script>
45
+ <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/livevalidation/js/validation.js?mihb0q"></script>
46
+ <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/treats/your_riding_page/js/your-riding-page.js?mihb0q"></script>
47
+ <script type="text/javascript">
48
+ <!--//--><![CDATA[//><!--
49
+ jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"tom2012","theme_token":"F9m1x1CR0z07FVw8YM7GFortESCjqkF97VlHglHePyk","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all\/modules\/tricks\/js_new_window\/js\/js-new-window.js":1,"sites\/all\/modules\/tricks\/js_save_key\/js\/js-save-key.js":1,"sites\/all\/modules\/tricks\/livevalidation\/js\/validation.js":1,"sites\/all\/modules\/treats\/your_riding_page\/js\/your-riding-page.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"sites\/all\/modules\/downloaded\/date\/date_api\/date.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/downloaded\/views\/css\/views.css":1,"sites\/all\/modules\/downloaded\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/treats\/health_nav\/css\/health-nav.css":1,"sites\/all\/modules\/treats\/tbc_nav\/css\/tbc-nav.css":1,"sites\/all\/modules\/treats\/your_riding_page\/css\/your-riding-page.css":1,"sites\/all\/modules\/treats\/share_links\/css\/share_links.css":1,"sites\/all\/themes\/tom2012\/layout-core.css":1,"sites\/all\/themes\/tom2012\/layout-mobile.css":1,"sites\/all\/themes\/tom2012\/layout-desktop.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-offset.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-limit-width.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-limit-height.css":1,"sites\/all\/themes\/tom2012\/layout-highres.css":1}}});
50
+ //--><!]]>
51
+ </script>
52
+
53
+ <!-- http://t.co/dKP3o1e -->
54
+ <meta name="HandheldFriendly" content="True">
55
+ <meta name="MobileOptimized" content="320">
56
+ <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1.0">
57
+ <meta name="format-detection" content="telephone=no">
58
+ <meta name="title" content="Your Riding" />
59
+ <meta name="description" content="Find your MP or riding association with the NDP’s easy-to-use interactive map." />
60
+ <meta name="keywords" content="Thomas Mulcair Canada's New Democrats." />
61
+ <link rel="image_src" href="http://www.ndp.ca/sites/all/modules/treats/share_links/images/fb-bilingual-thumb.jpg" />
62
+ <meta property="og:image" content="http://www.ndp.ca/sites/all/modules/treats/share_links/images/fb-bilingual-thumb.jpg" />
63
+ <meta property="og:url" content="http://www.ndp.ca/your-riding" />
64
+ <meta property="og:title" content="Your Riding" />
65
+ <meta property="og:description" content="Find your MP or riding association with the NDP’s easy-to-use interactive map." />
66
+ <meta property="og:locale" content="en_US" />
67
+ <meta name="tweet" content="Find your MP or riding association with the NDP’s easy-to-use interactive map. #NDP http://ndp.ca/your-riding" />
68
+ <!--[if IE]>
69
+ <link rel="stylesheet" type="text/css" href="../sites/all/themes/tom2012/layout-ie-only.css" />
70
+ <![endif]-->
71
+ <!--[if IE 6]>
72
+ <link rel="stylesheet" type="text/css" href="../sites/all/themes/tom2012/layout-ie6-only.css" />
73
+ <![endif]-->
74
+ <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/respond.min.js"></script>
75
+ <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/syze.min.js"></script>
76
+ <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/tinynav.min.js"></script>
77
+ <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/cssua.min.js"></script>
78
+ <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/pixelratio.js"></script>
79
+ <script type="text/javascript">
80
+ // Some browsers subtract scrollbar width when calculating viewport size
81
+ // This causes Syze dependent CSS to trigger at a different width than media query dependent CSS
82
+ // We address this on a per-browser basis below
83
+ if (jQuery('html').hasClass('ua-ie-9')) { // scrollbar width = 17px
84
+ syze.sizes(303, 641, 957).names({ 303:'Mobile', 641:'Desktop', 957:'Desktop-wide' });
85
+ } else if (jQuery('html').hasClass('ua-firefox')) { // scrollbar width = 15px
86
+ syze.sizes(305, 643, 959).names({ 305:'Mobile', 643:'Desktop', 959:'Desktop-wide' });
87
+ } else {
88
+ syze.sizes(320, 658, 974).names({ 320:'Mobile', 658:'Desktop', 974:'Desktop-wide' });
89
+ }
90
+ </script>
91
+
92
+ <script type="text/javascript">
93
+
94
+ var _gaq = _gaq || [];
95
+ _gaq.push(['_setAccount', 'UA-30109525-1']); // Entire Webserver Tracking
96
+ _gaq.push(['_setDomainName', 'none']);
97
+ _gaq.push(['_setAllowLinker', true]);
98
+ _gaq.push(['_trackPageview']);
99
+
100
+ (function() {
101
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
102
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
103
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
104
+ })();
105
+
106
+ </script><script type="text/javascript">
107
+ var _gaq = _gaq || [];
108
+ _gaq.push(['_setAccount', 'UA-10510140-3']); // NDP Main Site Tracking
109
+ _gaq.push(['_setDomainName', 'ndp.ca']);
110
+ _gaq.push(['_setAllowLinker', true]);
111
+ _gaq.push(['_trackPageview']);
112
+
113
+ (function() {
114
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
115
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
116
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
117
+ })();
118
+ </script>
119
+
120
+ </head>
121
+ <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-9700 node-type-page i18n-en theme-hide-sidebar -html-tpl isEnglish" >
122
+ <div id="skip-link">
123
+ <a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
124
+ </div>
125
+ <div id="page-wrapper" class="-page-tpl"><div id="page">
126
+
127
+ <div id="nav" class="-region--navbar-tpl clearfix hideNav">
128
+
129
+
130
+ <ul class="clearfix">
131
+ <li class="menu-Home">
132
+ <a class="gradient" href="http://www.ndp.ca/">Home</a>
133
+
134
+ </li>
135
+ <li class="menu-Tom Mulcair">
136
+ <a class="gradient" href="http://www.ndp.ca/tommulcair">Tom Mulcair</a>
137
+
138
+ </li>
139
+ <li class="menu-Party">
140
+ <a class="gradient" href="http://www.ndp.ca/your-riding">Party</a>
141
+ <ul class="submenu">
142
+ <li><a class="" href="http://www.ndp.ca/history"><span class="nav-arrow">&#9658;</span> History</a></li>
143
+ <li><a class="" href="http://www.ndp.ca/ourcaucus"><span class="nav-arrow">&#9658;</span> Our Caucus</a></li>
144
+ <li><a class="" href="http://www.ndp.ca/shadow-cabinet"><span class="nav-arrow">&#9658;</span> Shadow Cabinet</a></li>
145
+ <li><a class="" href="http://www.ndp.ca/commissions"><span class="nav-arrow">&#9658;</span> Commissions</a></li>
146
+ <li><a class="" href="http://www.ndp.ca/constitution"><span class="nav-arrow">&#9658;</span> Constitution</a></li>
147
+ <li><a class="" href="http://www.ndp.ca/policy-book"><span class="nav-arrow">&#9658;</span> Policy Book</a></li>
148
+ <li><a class="" href="http://www.ndp.ca/federal-council"><span class="nav-arrow">&#9658;</span> Federal Council</a></li>
149
+ <li><a class="" href="http://www.ndp.ca/jobs"><span class="nav-arrow">&#9658;</span> Jobs</a></li>
150
+ <li><a class="" href="http://www.ndp.ca/contact"><span class="nav-arrow">&#9658;</span> Contact</a></li>
151
+ <li><a class="" href="http://www.ndp.ca/your-riding"><span class="nav-arrow">&#9658;</span> Your Riding</a></li>
152
+ <li><a class="js-new-window" href="http://qc.ndp.ca"><span class="nav-arrow">&#9658;</span> NDP Quebec</a></li>
153
+ <li><a class="js-new-window" href="http://montreal2013.ndp.ca"><span class="nav-arrow">&#9658;</span> NDP Convention</a></li>
154
+ </ul>
155
+
156
+ </li>
157
+ <li class="menu-News">
158
+ <a class="gradient" href="http://www.ndp.ca/news/recent/">News</a>
159
+ <ul class="submenu">
160
+ <li><a class="" href="http://www.ndp.ca/news/recent/press-release"><span class="nav-arrow">&#9658;</span> Press Releases</a></li>
161
+ <li><a class="" href="http://www.ndp.ca/news/recent/statement"><span class="nav-arrow">&#9658;</span> Statements</a></li>
162
+ <li><a class="" href="http://www.ndp.ca/news/recent/reality-check"><span class="nav-arrow">&#9658;</span> Reality Checks</a></li>
163
+ </ul>
164
+
165
+ </li>
166
+ <li class="menu-Photos and Video">
167
+ <a class="gradient" href="http://www.ndp.ca/videos">Photos and Video</a>
168
+ <ul class="submenu">
169
+ <li><a class="" href="http://www.ndp.ca/videos"><span class="nav-arrow">&#9658;</span> Video Gallery</a></li>
170
+ <li><a class="" href="http://www.ndp.ca/photos"><span class="nav-arrow">&#9658;</span> Photo Gallery</a></li>
171
+ <li><a class="" href="http://www.ndp.ca/logos"><span class="nav-arrow">&#9658;</span> Logos</a></li>
172
+ </ul>
173
+
174
+ </li>
175
+ <li class="menu-Take Action">
176
+ <a class="gradient" href="http://www.ndp.ca/join">Take Action</a>
177
+ <ul class="submenu">
178
+ <li><a class="" href="http://www.ndp.ca/join"><span class="nav-arrow">&#9658;</span> Join</a></li>
179
+ <li><a class="" href="http://www.ndp.ca/donate"><span class="nav-arrow">&#9658;</span> Donate</a></li>
180
+ <li><a class="" href="http://www.ndp.ca/volunteer"><span class="nav-arrow">&#9658;</span> Volunteer</a></li>
181
+ <li><a class="" href="http://www.ndp.ca/endp-subscribe"><span class="nav-arrow">&#9658;</span> Get Email Updates</a></li>
182
+ <li><a class="" href="http://www.ndp.ca/online-tools"><span class="nav-arrow">&#9658;</span> Online Tools</a></li>
183
+ <li><a class="" href="http://www.ndp.ca/app"><span class="nav-arrow">&#9658;</span> Download the NDP App</a></li>
184
+ </ul>
185
+
186
+ </li>
187
+ <li class="menu-donate">
188
+ <a href="http://www.ndp.ca/donate" class="gradient">Donate</a>
189
+ <a href="http://www.ndp.ca/donate" class="donate-tip"></a>
190
+ </li>
191
+ </ul>
192
+
193
+ </div>
194
+ <div id="take-action-top" class="clearfix">
195
+ <div class="-region--takeaction-tpl clearfix">
196
+
197
+ <ul class="clearfix">
198
+ <li class="clearfix">
199
+ <a href="#x" class="take-action-tip" tabindex="1"></a>
200
+ <a href="#x" class="button-open gradient" tabindex="1">Take Action</a>
201
+ <img src="/sites/all/themes/tom2012/imgs/blank.gif" class="button-close " />
202
+ <div class="submenu-wrapper clearfix">
203
+ <a class="submenu-close-top" href="">&nbsp;</a>
204
+ <ul class="submenu clearfix">
205
+ <li>
206
+ <div class="icon-box-wrapper">
207
+ <div class="icon-box clearfix">
208
+ <div class="icon-box-content high-res">
209
+ <a href="http://www.ndp.ca/donate" class="donate">&nbsp;</a>
210
+ </div>
211
+ </div>
212
+ <a class="link" href="http://www.ndp.ca/donate">Donate</a>
213
+ </div>
214
+ </li>
215
+ <li>
216
+ <div class="icon-box-wrapper">
217
+ <div class="icon-box clearfix">
218
+ <div class="icon-box-content high-res">
219
+ <a href="http://www.ndp.ca/join" class="join">&nbsp;</a>
220
+ </div>
221
+ </div>
222
+ <a class="link" href="http://www.ndp.ca/join">Join</a>
223
+ </div>
224
+ </li>
225
+ <li>
226
+ <div class="icon-box-wrapper">
227
+ <div class="icon-box clearfix">
228
+ <div class="icon-box-content high-res">
229
+ <a href="http://www.ndp.ca/volunteer" class="volunteer">&nbsp;</a>
230
+ </div>
231
+ </div>
232
+ <a class="link" href="http://www.ndp.ca/volunteer">Volunteer</a>
233
+ </div>
234
+ </li>
235
+ <li>
236
+ <div class="icon-box-wrapper">
237
+ <div class="icon-box clearfix">
238
+ <div class="icon-box-content high-res">
239
+ <a href="http://www.ndp.ca/endp-subscribe" class="get-email-updates">&nbsp;</a>
240
+ </div>
241
+ </div>
242
+ <a class="link" href="http://www.ndp.ca/endp-subscribe">Get email updates</a>
243
+ </div>
244
+ </li>
245
+ <li>
246
+ <div class="icon-box-wrapper">
247
+ <div class="icon-box clearfix">
248
+ <div class="icon-box-content high-res">
249
+ <a href="http://www.ndp.ca/app" class="download-app">&nbsp;</a>
250
+ </div>
251
+ </div>
252
+ <a class="link" href="http://www.ndp.ca/app">Download the NDP app</a>
253
+ </div>
254
+ </li>
255
+ <li class="social">
256
+ <ul class="clearfix">
257
+ <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
258
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
259
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
260
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
261
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
262
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
263
+ </ul>
264
+ </li>
265
+ </ul>
266
+ <a class="submenu-close-bottom" href="">&nbsp;</a>
267
+ </div>
268
+ </li>
269
+ <li class="social-mobile">
270
+ <ul class="clearfix">
271
+ <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
272
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
273
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
274
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
275
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
276
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
277
+ </ul>
278
+ </li>
279
+ </ul>
280
+ </div>
281
+ </div>
282
+ <div id="wrapper" class="clearfix showContent">
283
+ <div class="-region--header-tpl clearfix">
284
+
285
+ <div id="header" class="clearfix">
286
+ <div id="super-nav" class="clearfix">
287
+ <ul id="nav-toggle">
288
+ <li><a href="#">Menu</a></li>
289
+ </ul>
290
+ <ul id="donate-mobile" class="clearfix">
291
+ <li class="menu-donate">
292
+ <a href="http://www.ndp.ca/donate" class="gradient">Donate</a>
293
+ <a href="#" class="donate-tip"></a>
294
+ </li>
295
+ </ul>
296
+ <a class="ndp-logo high-res" href="#">NDP</a>
297
+ <div id="lang">
298
+ <a href="http://www.npd.ca/votre-circonscription">Français</a>
299
+ </div>
300
+ <div id="contact">
301
+ <a href="http://www.ndp.ca/contact">Contact</a>
302
+ </div>
303
+ </div>
304
+ </div>
305
+
306
+ </div>
307
+ <div id="banner">
308
+ <div id="banner-content">
309
+ <h1 class="title" id="page-title">Your Riding</h1> </div>
310
+ <div id="lang-small"><a href="http://www.npd.ca/votre-circonscription">Français</a></div>
311
+ </div>
312
+ <div id="main-wrapper">
313
+ <div id="main" class="clearfix">
314
+ <div class="tabs clearfix"></div> <div id="main-content" class="clearfix">
315
+ <div class="region region-content -region-tpl">
316
+ <div id="block-system-main" class="block block-system -block-tpl">
317
+
318
+
319
+ <div >
320
+ <div id="node-9700" class="node node-page -node--page-tpl clearfix">
321
+
322
+
323
+ <div class="theme-function">
324
+ <div class="your-riding-page js-your-riding-page -your-riding-page-tpl">
325
+
326
+ <div class="riding-search clearfix">
327
+ <form id="riding-serach-form" action="/your-riding/">
328
+ <h2>Find your MP or riding association by name, riding, or postal code</h2>
329
+ <input type="text" name="search" class="search-field" value="K0A1K0" />
330
+ <input type="submit" value="Search" class="js-hide" />
331
+ <a class="search-button js-show" href="http://www.ndp.ca/" onclick="jQuery('#riding-serach-form').submit(); return false;">Search</a>
332
+ </form>
333
+ </div>
334
+
335
+
336
+ <div class="search-results">
337
+ <ul class="ridings">
338
+ <li class="result-row">
339
+ <a href="http://www.ndp.ca/district/35025" class="result-data clearfix no-mp">
340
+ <span class="left-side">
341
+ <span class="large-print">Glengarry--Prescott--Russell</span> <br/>
342
+ <span class="fine-print">Ontario - 35025</span>
343
+ &nbsp;
344
+ </span>
345
+ <span class="right-side">
346
+ <span class="riding-link"><span class="large-print"><span class="label">Riding Association</span></span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span>
347
+ </span>
348
+ </a>
349
+ </li>
350
+ <li class="result-row">
351
+ <a href="http://www.ndp.ca/district/35012" class="result-data clearfix no-mp">
352
+ <span class="left-side">
353
+ <span class="large-print">Carleton--Mississippi Mills</span> <br/>
354
+ <span class="fine-print">Ontario - 35012</span>
355
+ &nbsp;
356
+ </span>
357
+ <span class="right-side">
358
+ <span class="riding-link"><span class="large-print"><span class="label">Riding Association</span></span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span>
359
+ </span>
360
+ </a>
361
+ </li>
362
+ <li class="result-row">
363
+ <a href="http://www.ndp.ca/district/35040" class="result-data clearfix no-mp">
364
+ <span class="left-side">
365
+ <span class="large-print">Lanark--Frontenac--Lennox and Addington</span> <br/>
366
+ <span class="fine-print">Ontario - 35040</span>
367
+ &nbsp;
368
+ </span>
369
+ <span class="right-side">
370
+ <span class="riding-link"><span class="large-print"><span class="label">Riding Association</span></span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span>
371
+ </span>
372
+ </a>
373
+ </li>
374
+ <li class="result-row">
375
+ <a href="http://www.ndp.ca/district/35052" class="result-data clearfix no-mp">
376
+ <span class="left-side">
377
+ <span class="large-print">Nepean--Carleton</span> <br/>
378
+ <span class="fine-print">Ontario - 35052</span>
379
+ &nbsp;
380
+ </span>
381
+ <span class="right-side">
382
+ <span class="riding-link"><span class="large-print"><span class="label">Riding Association</span></span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span>
383
+ </span>
384
+ </a>
385
+ </li>
386
+ </ul>
387
+ </div>
388
+
389
+
390
+ <div class="province-list clearfix">
391
+ <h2>Provinces and territories</h2>
392
+ <div class="province-column column1">
393
+ <a href="/your-riding/?search=ab">Alberta</a><br/>
394
+ <a href="/your-riding/?search=bc">British Columbia</a><br/>
395
+ <a href="/your-riding/?search=mb">Manitoba</a><br/>
396
+ </div>
397
+ <div class="province-column column2">
398
+ <a href="/your-riding/?search=nb">New Brunswick</a><br/>
399
+ <a href="/your-riding/?search=nl">Newfoundland and Labrador</a><br/>
400
+ <a href="/your-riding/?search=ns">Nova Scotia</a><br/>
401
+ <a href="/your-riding/?search=nu">Nunavut</a><br/>
402
+ </div>
403
+ <div class="province-column column3">
404
+ <a href="/your-riding/?search=on">Ontario</a><br/>
405
+ <a href="/your-riding/?search=pe">Prince Edward Island</a><br/>
406
+ <a href="/your-riding/?search=qc">Quebec</a><br/>
407
+ </div>
408
+ <div class="province-column column4">
409
+ <a href="/your-riding/?search=sk">Saskatchewan</a><br/>
410
+ <a href="/your-riding/?search=nt">Northwest Territories</a><br/>
411
+ <a href="/your-riding/?search=yt">Yukon</a>
412
+ </div>
413
+ </div>
414
+
415
+ </div>
416
+
417
+ </div><!-- .theme-function -->
418
+
419
+ </div>
420
+ </div>
421
+ </div>
422
+ </div>
423
+ <div class="share-links-wrapper clearfix">
424
+
425
+ <div class="share-links">
426
+ <div class="share-links-prefix">Share<br />this page</div>
427
+ <a href="/share_links/shortlink_tweet?text=Find+your+MP+or+riding+association+with+the+NDP%E2%80%99s+easy-to-use+interactive+map.+%23NDP&amp;share_url=http%3A%2F%2Fndp.ca%2Fyour-riding" class="share-links-twitter js-new-window"></a>
428
+ <a href="https://facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-facebook js-new-window"></a>
429
+ <a href="https://plus.google.com/share?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-google js-new-window"></a>
430
+ <a href="http://sharebyemail.ndp.ca/?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-email js-new-window"></a>
431
+ </div>
432
+ <div class="like-links">
433
+ <!-- google +1 -->
434
+ <!-- Place this tag where you want the +1 button to render. -->
435
+ <div class="like-links-gp">
436
+ <div class="g-plusone" data-size="medium" data-href="http%3A%2F%2Fwww.ndp.ca%2Fyour-riding"></div>
437
+ </div>
438
+ <!-- facebook like -->
439
+ <div class="like-links-fb">
440
+ <div class="fb-like" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" data-href="http%3A%2F%2Fwww.ndp.ca%2Fyour-riding"></div>
441
+ </div>
442
+ </div>
443
+ </div>
444
+
445
+ <!-- facebook like -->
446
+ <div id="fb-root"></div>
447
+ <script>(function(d, s, id) {
448
+ var js, fjs = d.getElementsByTagName(s)[0];
449
+ if (d.getElementById(id)) return;
450
+ js = d.createElement(s); js.id = id;
451
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
452
+ fjs.parentNode.insertBefore(js, fjs);
453
+ }(document, 'script', 'facebook-jssdk'));</script>
454
+
455
+ <!-- Place this tag after the last +1 button tag. -->
456
+ <script type="text/javascript">
457
+ (function() {
458
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
459
+ po.src = 'https://apis.google.com/js/plusone.js';
460
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
461
+ })();
462
+ </script>
463
+ </div>
464
+ </div>
465
+ </div>
466
+ </div>
467
+ <div id="footer" class="clearfix">
468
+ <div id="super-footer" class="gradient">
469
+ <div id="super-footer-content" class="clearfix">
470
+ <div id="take-action-bottom">
471
+ <div class="-region--takeaction-tpl clearfix">
472
+
473
+ <ul class="clearfix">
474
+ <li class="clearfix">
475
+ <a href="#x" class="take-action-tip" tabindex="1"></a>
476
+ <a href="#x" class="button-open gradient" tabindex="1">Take Action</a>
477
+ <img src="/sites/all/themes/tom2012/imgs/blank.gif" class="button-close " />
478
+ <div class="submenu-wrapper clearfix">
479
+ <a class="submenu-close-top" href="">&nbsp;</a>
480
+ <ul class="submenu clearfix">
481
+ <li>
482
+ <div class="icon-box-wrapper">
483
+ <div class="icon-box clearfix">
484
+ <div class="icon-box-content high-res">
485
+ <a href="http://www.ndp.ca/donate" class="donate">&nbsp;</a>
486
+ </div>
487
+ </div>
488
+ <a class="link" href="http://www.ndp.ca/donate">Donate</a>
489
+ </div>
490
+ </li>
491
+ <li>
492
+ <div class="icon-box-wrapper">
493
+ <div class="icon-box clearfix">
494
+ <div class="icon-box-content high-res">
495
+ <a href="http://www.ndp.ca/join" class="join">&nbsp;</a>
496
+ </div>
497
+ </div>
498
+ <a class="link" href="http://www.ndp.ca/join">Join</a>
499
+ </div>
500
+ </li>
501
+ <li>
502
+ <div class="icon-box-wrapper">
503
+ <div class="icon-box clearfix">
504
+ <div class="icon-box-content high-res">
505
+ <a href="http://www.ndp.ca/volunteer" class="volunteer">&nbsp;</a>
506
+ </div>
507
+ </div>
508
+ <a class="link" href="http://www.ndp.ca/volunteer">Volunteer</a>
509
+ </div>
510
+ </li>
511
+ <li>
512
+ <div class="icon-box-wrapper">
513
+ <div class="icon-box clearfix">
514
+ <div class="icon-box-content high-res">
515
+ <a href="http://www.ndp.ca/endp-subscribe" class="get-email-updates">&nbsp;</a>
516
+ </div>
517
+ </div>
518
+ <a class="link" href="http://www.ndp.ca/endp-subscribe">Get email updates</a>
519
+ </div>
520
+ </li>
521
+ <li>
522
+ <div class="icon-box-wrapper">
523
+ <div class="icon-box clearfix">
524
+ <div class="icon-box-content high-res">
525
+ <a href="http://www.ndp.ca/app" class="download-app">&nbsp;</a>
526
+ </div>
527
+ </div>
528
+ <a class="link" href="http://www.ndp.ca/app">Download the NDP app</a>
529
+ </div>
530
+ </li>
531
+ <li class="social">
532
+ <ul class="clearfix">
533
+ <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
534
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
535
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
536
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
537
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
538
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
539
+ </ul>
540
+ </li>
541
+ </ul>
542
+ <a class="submenu-close-bottom" href="">&nbsp;</a>
543
+ </div>
544
+ </li>
545
+ <li class="social-mobile">
546
+ <ul class="clearfix">
547
+ <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
548
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
549
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
550
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
551
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
552
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
553
+ </ul>
554
+ </li>
555
+ </ul>
556
+ </div>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ <div id="sitemap" class="-region--sitemap-tpl clearfix">
561
+
562
+
563
+ <ul class="clearfix">
564
+ <li class="menu-Home">
565
+ <a href="http://www.ndp.ca/">Home</a>
566
+
567
+ </li>
568
+ <li class="menu-Tom Mulcair">
569
+ <a href="http://www.ndp.ca/tommulcair">Tom Mulcair</a>
570
+
571
+ </li>
572
+ <li class="menu-Party">
573
+ <a href="http://www.ndp.ca/your-riding">Party</a>
574
+ <ul class="submenu">
575
+ <li><a href="http://www.ndp.ca/history">History</a></li>
576
+ <li><a href="http://www.ndp.ca/ourcaucus">Our Caucus</a></li>
577
+ <li><a href="http://www.ndp.ca/shadow-cabinet">Shadow Cabinet</a></li>
578
+ <li><a href="http://www.ndp.ca/commissions">Commissions</a></li>
579
+ <li><a href="http://www.ndp.ca/constitution">Constitution</a></li>
580
+ <li><a href="http://www.ndp.ca/policy-book">Policy Book</a></li>
581
+ <li><a href="http://www.ndp.ca/federal-council">Federal Council</a></li>
582
+ <li><a href="http://www.ndp.ca/jobs">Jobs</a></li>
583
+ <li><a href="http://www.ndp.ca/contact">Contact</a></li>
584
+ <li><a href="http://www.ndp.ca/your-riding">Your Riding</a></li>
585
+ <li><a href="http://qc.ndp.ca">NDP Quebec</a></li>
586
+ <li><a href="http://montreal2013.ndp.ca">NDP Convention</a></li>
587
+ </ul>
588
+
589
+ </li>
590
+ <li class="menu-News">
591
+ <a href="http://www.ndp.ca/news/recent/">News</a>
592
+ <ul class="submenu">
593
+ <li><a href="http://www.ndp.ca/news/recent/press-release">Press Releases</a></li>
594
+ <li><a href="http://www.ndp.ca/news/recent/statement">Statements</a></li>
595
+ <li><a href="http://www.ndp.ca/news/recent/reality-check">Reality Checks</a></li>
596
+ </ul>
597
+
598
+ </li>
599
+ <li class="menu-Photos and Video">
600
+ <a href="http://www.ndp.ca/videos">Photos and Video</a>
601
+ <ul class="submenu">
602
+ <li><a href="http://www.ndp.ca/videos">Video Gallery</a></li>
603
+ <li><a href="http://www.ndp.ca/photos">Photo Gallery</a></li>
604
+ <li><a href="http://www.ndp.ca/logos">Logos</a></li>
605
+ </ul>
606
+
607
+ </li>
608
+ <li class="menu-Take Action">
609
+ <a href="http://www.ndp.ca/join">Take Action</a>
610
+ <ul class="submenu">
611
+ <li><a href="http://www.ndp.ca/join">Join</a></li>
612
+ <li><a href="http://www.ndp.ca/donate">Donate</a></li>
613
+ <li><a href="http://www.ndp.ca/volunteer">Volunteer</a></li>
614
+ <li><a href="http://www.ndp.ca/endp-subscribe">Get Email Updates</a></li>
615
+ <li><a href="http://www.ndp.ca/online-tools">Online Tools</a></li>
616
+ <li><a href="http://www.ndp.ca/app">Download the NDP App</a></li>
617
+ </ul>
618
+
619
+ </li>
620
+ </ul>
621
+
622
+ </div>
623
+ <div id="copyright" >
624
+ <p>© 2012 New Democratic Party of Canada, all rights reserved. Paid for and authorized by the registered agent of Canada's NDP.</p>
625
+ </div>
626
+ </div>
627
+
628
+ </div></div> <!-- /#page, /#page-wrapper -->
629
+
630
+ <script type="text/javascript">
631
+ jQuery('#nav-toggle').click(function () {
632
+ jQuery('#wrapper').toggleClass('hideContent');
633
+ jQuery('#nav').toggleClass('showNav');
634
+ });
635
+ if(jQuery("html").hasClass("ua-desktop")) {
636
+ jQuery('#page').prepend('<img id="bg-img" src="/sites/all/themes/tom2012/imgs/mulcair.png" alt="Thomas Mulcair" />');
637
+ }
638
+ </script>
639
+
640
+ </body>
641
+ </html>