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,605 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Tue, 05 Mar 2013 03:51:48 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:48 +0000
7
+ Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
8
+ Etag: "1362455508"
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":"GluSaa4YngvvVl8IYpHNgjIpIjrN8VuwjccsEMbSs9A","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="T5S2B9" />
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/48015" class="result-data clearfix no-mp">
340
+ <span class="left-side">
341
+ <span class="large-print">Edmonton--St. Albert</span> <br/>
342
+ <span class="fine-print">Alberta - 48015</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
+ </ul>
351
+ </div>
352
+
353
+
354
+ <div class="province-list clearfix">
355
+ <h2>Provinces and territories</h2>
356
+ <div class="province-column column1">
357
+ <a href="/your-riding/?search=ab">Alberta</a><br/>
358
+ <a href="/your-riding/?search=bc">British Columbia</a><br/>
359
+ <a href="/your-riding/?search=mb">Manitoba</a><br/>
360
+ </div>
361
+ <div class="province-column column2">
362
+ <a href="/your-riding/?search=nb">New Brunswick</a><br/>
363
+ <a href="/your-riding/?search=nl">Newfoundland and Labrador</a><br/>
364
+ <a href="/your-riding/?search=ns">Nova Scotia</a><br/>
365
+ <a href="/your-riding/?search=nu">Nunavut</a><br/>
366
+ </div>
367
+ <div class="province-column column3">
368
+ <a href="/your-riding/?search=on">Ontario</a><br/>
369
+ <a href="/your-riding/?search=pe">Prince Edward Island</a><br/>
370
+ <a href="/your-riding/?search=qc">Quebec</a><br/>
371
+ </div>
372
+ <div class="province-column column4">
373
+ <a href="/your-riding/?search=sk">Saskatchewan</a><br/>
374
+ <a href="/your-riding/?search=nt">Northwest Territories</a><br/>
375
+ <a href="/your-riding/?search=yt">Yukon</a>
376
+ </div>
377
+ </div>
378
+
379
+ </div>
380
+
381
+ </div><!-- .theme-function -->
382
+
383
+ </div>
384
+ </div>
385
+ </div>
386
+ </div>
387
+ <div class="share-links-wrapper clearfix">
388
+
389
+ <div class="share-links">
390
+ <div class="share-links-prefix">Share<br />this page</div>
391
+ <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>
392
+ <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>
393
+ <a href="https://plus.google.com/share?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-google js-new-window"></a>
394
+ <a href="http://sharebyemail.ndp.ca/?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-email js-new-window"></a>
395
+ </div>
396
+ <div class="like-links">
397
+ <!-- google +1 -->
398
+ <!-- Place this tag where you want the +1 button to render. -->
399
+ <div class="like-links-gp">
400
+ <div class="g-plusone" data-size="medium" data-href="http%3A%2F%2Fwww.ndp.ca%2Fyour-riding"></div>
401
+ </div>
402
+ <!-- facebook like -->
403
+ <div class="like-links-fb">
404
+ <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>
405
+ </div>
406
+ </div>
407
+ </div>
408
+
409
+ <!-- facebook like -->
410
+ <div id="fb-root"></div>
411
+ <script>(function(d, s, id) {
412
+ var js, fjs = d.getElementsByTagName(s)[0];
413
+ if (d.getElementById(id)) return;
414
+ js = d.createElement(s); js.id = id;
415
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
416
+ fjs.parentNode.insertBefore(js, fjs);
417
+ }(document, 'script', 'facebook-jssdk'));</script>
418
+
419
+ <!-- Place this tag after the last +1 button tag. -->
420
+ <script type="text/javascript">
421
+ (function() {
422
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
423
+ po.src = 'https://apis.google.com/js/plusone.js';
424
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
425
+ })();
426
+ </script>
427
+ </div>
428
+ </div>
429
+ </div>
430
+ </div>
431
+ <div id="footer" class="clearfix">
432
+ <div id="super-footer" class="gradient">
433
+ <div id="super-footer-content" class="clearfix">
434
+ <div id="take-action-bottom">
435
+ <div class="-region--takeaction-tpl clearfix">
436
+
437
+ <ul class="clearfix">
438
+ <li class="clearfix">
439
+ <a href="#x" class="take-action-tip" tabindex="1"></a>
440
+ <a href="#x" class="button-open gradient" tabindex="1">Take Action</a>
441
+ <img src="/sites/all/themes/tom2012/imgs/blank.gif" class="button-close " />
442
+ <div class="submenu-wrapper clearfix">
443
+ <a class="submenu-close-top" href="">&nbsp;</a>
444
+ <ul class="submenu clearfix">
445
+ <li>
446
+ <div class="icon-box-wrapper">
447
+ <div class="icon-box clearfix">
448
+ <div class="icon-box-content high-res">
449
+ <a href="http://www.ndp.ca/donate" class="donate">&nbsp;</a>
450
+ </div>
451
+ </div>
452
+ <a class="link" href="http://www.ndp.ca/donate">Donate</a>
453
+ </div>
454
+ </li>
455
+ <li>
456
+ <div class="icon-box-wrapper">
457
+ <div class="icon-box clearfix">
458
+ <div class="icon-box-content high-res">
459
+ <a href="http://www.ndp.ca/join" class="join">&nbsp;</a>
460
+ </div>
461
+ </div>
462
+ <a class="link" href="http://www.ndp.ca/join">Join</a>
463
+ </div>
464
+ </li>
465
+ <li>
466
+ <div class="icon-box-wrapper">
467
+ <div class="icon-box clearfix">
468
+ <div class="icon-box-content high-res">
469
+ <a href="http://www.ndp.ca/volunteer" class="volunteer">&nbsp;</a>
470
+ </div>
471
+ </div>
472
+ <a class="link" href="http://www.ndp.ca/volunteer">Volunteer</a>
473
+ </div>
474
+ </li>
475
+ <li>
476
+ <div class="icon-box-wrapper">
477
+ <div class="icon-box clearfix">
478
+ <div class="icon-box-content high-res">
479
+ <a href="http://www.ndp.ca/endp-subscribe" class="get-email-updates">&nbsp;</a>
480
+ </div>
481
+ </div>
482
+ <a class="link" href="http://www.ndp.ca/endp-subscribe">Get email updates</a>
483
+ </div>
484
+ </li>
485
+ <li>
486
+ <div class="icon-box-wrapper">
487
+ <div class="icon-box clearfix">
488
+ <div class="icon-box-content high-res">
489
+ <a href="http://www.ndp.ca/app" class="download-app">&nbsp;</a>
490
+ </div>
491
+ </div>
492
+ <a class="link" href="http://www.ndp.ca/app">Download the NDP app</a>
493
+ </div>
494
+ </li>
495
+ <li class="social">
496
+ <ul class="clearfix">
497
+ <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>
498
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
499
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
500
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
501
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
502
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
503
+ </ul>
504
+ </li>
505
+ </ul>
506
+ <a class="submenu-close-bottom" href="">&nbsp;</a>
507
+ </div>
508
+ </li>
509
+ <li class="social-mobile">
510
+ <ul class="clearfix">
511
+ <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>
512
+ <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
513
+ <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
514
+ <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
515
+ <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
516
+ <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
517
+ </ul>
518
+ </li>
519
+ </ul>
520
+ </div>
521
+ </div>
522
+ </div>
523
+ </div>
524
+ <div id="sitemap" class="-region--sitemap-tpl clearfix">
525
+
526
+
527
+ <ul class="clearfix">
528
+ <li class="menu-Home">
529
+ <a href="http://www.ndp.ca/">Home</a>
530
+
531
+ </li>
532
+ <li class="menu-Tom Mulcair">
533
+ <a href="http://www.ndp.ca/tommulcair">Tom Mulcair</a>
534
+
535
+ </li>
536
+ <li class="menu-Party">
537
+ <a href="http://www.ndp.ca/your-riding">Party</a>
538
+ <ul class="submenu">
539
+ <li><a href="http://www.ndp.ca/history">History</a></li>
540
+ <li><a href="http://www.ndp.ca/ourcaucus">Our Caucus</a></li>
541
+ <li><a href="http://www.ndp.ca/shadow-cabinet">Shadow Cabinet</a></li>
542
+ <li><a href="http://www.ndp.ca/commissions">Commissions</a></li>
543
+ <li><a href="http://www.ndp.ca/constitution">Constitution</a></li>
544
+ <li><a href="http://www.ndp.ca/policy-book">Policy Book</a></li>
545
+ <li><a href="http://www.ndp.ca/federal-council">Federal Council</a></li>
546
+ <li><a href="http://www.ndp.ca/jobs">Jobs</a></li>
547
+ <li><a href="http://www.ndp.ca/contact">Contact</a></li>
548
+ <li><a href="http://www.ndp.ca/your-riding">Your Riding</a></li>
549
+ <li><a href="http://qc.ndp.ca">NDP Quebec</a></li>
550
+ <li><a href="http://montreal2013.ndp.ca">NDP Convention</a></li>
551
+ </ul>
552
+
553
+ </li>
554
+ <li class="menu-News">
555
+ <a href="http://www.ndp.ca/news/recent/">News</a>
556
+ <ul class="submenu">
557
+ <li><a href="http://www.ndp.ca/news/recent/press-release">Press Releases</a></li>
558
+ <li><a href="http://www.ndp.ca/news/recent/statement">Statements</a></li>
559
+ <li><a href="http://www.ndp.ca/news/recent/reality-check">Reality Checks</a></li>
560
+ </ul>
561
+
562
+ </li>
563
+ <li class="menu-Photos and Video">
564
+ <a href="http://www.ndp.ca/videos">Photos and Video</a>
565
+ <ul class="submenu">
566
+ <li><a href="http://www.ndp.ca/videos">Video Gallery</a></li>
567
+ <li><a href="http://www.ndp.ca/photos">Photo Gallery</a></li>
568
+ <li><a href="http://www.ndp.ca/logos">Logos</a></li>
569
+ </ul>
570
+
571
+ </li>
572
+ <li class="menu-Take Action">
573
+ <a href="http://www.ndp.ca/join">Take Action</a>
574
+ <ul class="submenu">
575
+ <li><a href="http://www.ndp.ca/join">Join</a></li>
576
+ <li><a href="http://www.ndp.ca/donate">Donate</a></li>
577
+ <li><a href="http://www.ndp.ca/volunteer">Volunteer</a></li>
578
+ <li><a href="http://www.ndp.ca/endp-subscribe">Get Email Updates</a></li>
579
+ <li><a href="http://www.ndp.ca/online-tools">Online Tools</a></li>
580
+ <li><a href="http://www.ndp.ca/app">Download the NDP App</a></li>
581
+ </ul>
582
+
583
+ </li>
584
+ </ul>
585
+
586
+ </div>
587
+ <div id="copyright" >
588
+ <p>© 2012 New Democratic Party of Canada, all rights reserved. Paid for and authorized by the registered agent of Canada's NDP.</p>
589
+ </div>
590
+ </div>
591
+
592
+ </div></div> <!-- /#page, /#page-wrapper -->
593
+
594
+ <script type="text/javascript">
595
+ jQuery('#nav-toggle').click(function () {
596
+ jQuery('#wrapper').toggleClass('hideContent');
597
+ jQuery('#nav').toggleClass('showNav');
598
+ });
599
+ if(jQuery("html").hasClass("ua-desktop")) {
600
+ jQuery('#page').prepend('<img id="bg-img" src="/sites/all/themes/tom2012/imgs/mulcair.png" alt="Thomas Mulcair" />');
601
+ }
602
+ </script>
603
+
604
+ </body>
605
+ </html>