govkit-ca 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +4 -0
  3. data/README.md +1 -1
  4. data/govkit-ca.gemspec +4 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/cbc_ca.rb +1 -1
  6. data/lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb +3 -4
  7. data/lib/gov_kit-ca/postal_code/strategy/elections_ca.rb +4 -6
  8. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +0 -1
  9. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +5 -1
  10. data/lib/gov_kit-ca/postal_code.rb +19 -7
  11. data/lib/gov_kit-ca/represent.rb +108 -0
  12. data/lib/gov_kit-ca/version.rb +1 -1
  13. data/lib/gov_kit-ca.rb +2 -1
  14. data/spec/cbc_ca_spec.rb +14 -25
  15. data/spec/conservative_ca_spec.rb +1 -10
  16. data/spec/digital-copyright_ca_spec.rb +0 -9
  17. data/spec/elections_ca_spec.rb +0 -9
  18. data/spec/greenparty_ca_spec.rb +0 -9
  19. data/spec/liberal_ca_spec.rb +1 -10
  20. data/spec/ndp_ca_spec.rb +0 -9
  21. data/spec/parl_gc_ca_spec.rb +8 -0
  22. data/spec/postal_code_spec.rb +69 -87
  23. data/spec/represent_spec.rb +279 -0
  24. data/spec/spec_helper.rb +1 -4
  25. data/spec/strategy_set_spec.rb +55 -2
  26. data/tasks/tasks.rb +0 -28
  27. metadata +47 -133
  28. data/spec/fixtures/cbc_ca/A1A1A1.response +0 -11
  29. data/spec/fixtures/cbc_ca/G0C2Y0.response +0 -11
  30. data/spec/fixtures/cbc_ca/H0H0H0.response +0 -11
  31. data/spec/fixtures/cbc_ca/K0A1K0.response +0 -11
  32. data/spec/fixtures/cbc_ca/T5S2B9.response +0 -11
  33. data/spec/fixtures/cbc_ca/X1B1B1.response +0 -11
  34. data/spec/fixtures/conservative_ca/A1A1A1.response +0 -452
  35. data/spec/fixtures/conservative_ca/G0C2Y0.response +0 -452
  36. data/spec/fixtures/conservative_ca/H0H0H0.response +0 -452
  37. data/spec/fixtures/conservative_ca/K0A1K0.response +0 -455
  38. data/spec/fixtures/conservative_ca/T5S2B9.response +0 -453
  39. data/spec/fixtures/conservative_ca/X1B1B1.response +0 -452
  40. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +0 -227
  41. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +0 -229
  42. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +0 -243
  43. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +0 -230
  44. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +0 -233
  45. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +0 -243
  46. data/spec/fixtures/elections_ca/A1A1A1.response +0 -10
  47. data/spec/fixtures/elections_ca/G0C2Y0.response +0 -11
  48. data/spec/fixtures/elections_ca/H0H0H0.response +0 -10
  49. data/spec/fixtures/elections_ca/K0A1K0.response +0 -10
  50. data/spec/fixtures/elections_ca/T5S2B9.response +0 -10
  51. data/spec/fixtures/elections_ca/X1B1B1.response +0 -10
  52. data/spec/fixtures/greenparty_ca/A1A1A1.response +0 -13
  53. data/spec/fixtures/greenparty_ca/G0C2Y0.response +0 -13
  54. data/spec/fixtures/greenparty_ca/H0H0H0.response +0 -13
  55. data/spec/fixtures/greenparty_ca/K0A1K0.response +0 -13
  56. data/spec/fixtures/greenparty_ca/T5S2B9.response +0 -13
  57. data/spec/fixtures/greenparty_ca/X1B1B1.response +0 -13
  58. data/spec/fixtures/liberal_ca/A1A1A1.response +0 -702
  59. data/spec/fixtures/liberal_ca/G0C2Y0.response +0 -570
  60. data/spec/fixtures/liberal_ca/H0H0H0.response +0 -649
  61. data/spec/fixtures/liberal_ca/K0A1K0.response +0 -650
  62. data/spec/fixtures/liberal_ca/T5S2B9.response +0 -570
  63. data/spec/fixtures/liberal_ca/X1B1B1.response +0 -649
  64. data/spec/fixtures/ndp_ca/A1A1A1.response +0 -610
  65. data/spec/fixtures/ndp_ca/G0C2Y0.response +0 -610
  66. data/spec/fixtures/ndp_ca/H0H0H0.response +0 -593
  67. data/spec/fixtures/ndp_ca/K0A1K0.response +0 -641
  68. data/spec/fixtures/ndp_ca/T5S2B9.response +0 -605
  69. data/spec/fixtures/ndp_ca/X1B1B1.response +0 -593
@@ -1,455 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Date: Tue, 05 Mar 2013 03:46:13 GMT
3
- Server: Apache/2.2.22 (Debian)
4
- X-Powered-By: PHP/5.4.4-9
5
- Set-Cookie: qtrans_cookie_test=qTranslate+Cookie+Test; path=/; domain=www.conservative.ca
6
- X-Pingback: http://www.conservative.ca/xmlrpc.php
7
- Vary: Accept-Encoding
8
- Connection: close
9
- Transfer-Encoding: chunked
10
- Content-Type: text/html; charset=UTF-8
11
-
12
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13
- <html dir="ltr" lang="en-US">
14
- <head>
15
- <script src="//cdn.optimizely.com/js/166119657.js"></script>
16
- <script>
17
- _udn = ".conservative.ca";
18
- </script>
19
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
20
- <title>Members of Parliament | Conservative Party of Canada</title>
21
- <link rel="profile" href="http://gmpg.org/xfn/11" />
22
- <link rel="stylesheet" type="text/css" media="all" href="http://www.conservative.ca/wp-content/themes/conservative/style.css" />
23
- <link rel="pingback" href="http://www.conservative.ca/xmlrpc.php" />
24
- <link rel="alternate" type="application/rss+xml" title="Conservative Party of Canada &raquo; Members of Parliament Comments Feed" href="http://www.conservative.ca/?feed=rss2&#038;page_id=35" />
25
- <link href="http://www.conservative.ca/wp-content/plugins/cpcphotos/colorbox/colorbox.css" rel="stylesheet" type="text/css" /><link rel='stylesheet' id='cpcemailsignupcss-css' href='http://www.conservative.ca/wp-content/plugins/cpcemailsignup/cpcemailsignup.css?ver=1.0' type='text/css' media='screen' />
26
- <link rel='stylesheet' id='fancybox2css-css' href='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.fancybox.css?ver=1.0' type='text/css' media='screen' />
27
- <script type='text/javascript' src='http://www.conservative.ca/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
28
- <script type='text/javascript' src='http://www.conservative.ca/wp-content/plugins/cpcemailsignup/jquery.placeholder-1.0.js?ver=3.3.1'></script>
29
- <script type='text/javascript' src='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.mousewheel-3.0.6.pack.js?ver=3.3.1'></script>
30
- <script type='text/javascript' src='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.fancybox.js?ver=3.3.1'></script>
31
- <script type='text/javascript' src='http://www.conservative.ca/wp-content/plugins/cpcphotos/colorbox/jquery.colorbox-min.js?ver=3.3.1'></script>
32
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.conservative.ca/xmlrpc.php?rsd" />
33
- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.conservative.ca/wp-includes/wlwmanifest.xml" />
34
- <link rel='prev' title='Senators' href='http://www.conservative.ca/?page_id=33' />
35
- <link rel='next' title='Your Elected National Council' href='http://www.conservative.ca/?page_id=37' />
36
- <meta name="generator" content="WordPress 3.3.1" />
37
- <link rel='canonical' href='http://www.conservative.ca/?page_id=35' />
38
-
39
- <meta http-equiv="Content-Language" content="en-US" />
40
- <link hreflang="fr" href="http://www.conservative.ca/?page_id=35&amp;lang=fr" rel="alternate" />
41
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
42
- <meta charset="UTF-8" />
43
- <meta property="og:title" content="Members of Parliament" />
44
- <meta property="og:type" content="article" />
45
- <meta property="og:image" content="http://www.conservative.ca/media/2012/06/fb_cpc.jpg" />
46
- <meta property="og:url" content="http://www.conservative.ca/?page_id=35" />
47
- <meta property="og:description" content="" />
48
- <meta property="og:site_name" content="Conservative Party of Canada" />
49
- <meta http-equiv="robots" content="index, follow" />
50
- <meta http-equiv="window-target" content="_top" />
51
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
52
- <meta name="description" content="Latest news and information from the Conservative Party of Canada. A Canadian political party led by Stephen Harper." />
53
- <meta name="keywords" content="conservative party of canada, conservative party, conservative, conservatives, harper, stephen harper, stand up for canada, trades, transit, accountability, child care, tools tax credit, transit tax credit, accountability act, child care tax credit, canada, political party, politics, federal politics" />
54
- <meta name="title" content="Conservative Party of Canada | Prime Minister Stephen Harper" />
55
- <meta name="Identifier-URL" content="www.conservative.ca" />
56
- <meta name="revisit-after" content="7 days" />
57
- <meta name="distribution" content="global" />
58
- <meta name="Coverage" content="Worldwide" />
59
- <meta name="resource-type" content="document" />
60
- <meta name="Content-Language" content="EN" />
61
- <meta name="rating" content="General" />
62
- <meta name="copyright" content="Conservative Party Of Canada" />
63
- <link rel="icon" type="image/x-icon" href="http://www.conservative.ca/media/www_conservative_ca.ico" />
64
- <link rel="shortcut icon" type="image/x-icon" href="http://www.conservative.ca/media/www_conservative_ca.ico" />
65
- <script type="text/javascript">
66
- var _gaq = _gaq || [];
67
- _gaq.push(['_setAccount', 'UA-32967487-1']);
68
- _gaq.push(['_setDomainName', 'conservative.ca']);
69
- _gaq.push(['_trackPageview']);
70
- (function() {
71
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
72
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
73
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
74
- })();
75
- </script>
76
- </head>
77
- <body class="page page-id-35 page-child parent-pageid-11 page-template page-template-template-searchbyprovince-php">
78
- <div id="jumpBar">
79
- <div class="center">
80
- <div id="switches">
81
- <div class="left lang"><a href="http://www.conservative.ca/?page_id=35&amp;lang=fr" class="btn btn-info" style="padding:0 5px 5px 5px; height:15px; margin:3px 0 0 0;">Fran&ccedil;ais</a></div>
82
- <div class="clear"></div>
83
- </div><!-- /switches -->
84
-
85
- <div id="socNets">
86
- <div class="left contact"><a href="http://www.conservative.ca/?page_id=72" class="btn btn-info" style="padding:0 5px 5px 5px; height:15px; margin:3px 0 0 0;">Contact</a></div>
87
- <div class="rollover"><a href="http://twitter.com/cpc_hq" class="twitter" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Twitter']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-twitter.png" border="0" alt="Twitter" title="Twitter" /></a></div><div class="rollover"><a href="https://www.facebook.com/pages/Conservative-Party-of-Canada-Parti-conservateur-du-Canada/5661704203" class="facebook" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Facebook']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-facebook.png" border="0" alt="Facebook" title="Facebook" /></a></div><div class="rollover"><a href="http://www.youtube.com/cpcpcc" class="youtube" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Youtube']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-youtube.png" border="0" alt="Youtube" title="Youtube" /></a></div><div class="rollover"><a href="http://www.flickr.com/photos/pmharper/" class="flickr" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Flickr']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-flickr.png" border="0" alt="Flickr" title="Flickr" /></a></div><div class="rollover"><a href="http://www.conservative.ca/?feed=rss" class="rss" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Rss']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-rss.png" border="0" alt="Rss" title="Rss" /></a></div>
88
- </div><!-- /socNets -->
89
-
90
- <div class="clear"></div>
91
- </div><!-- /center -->
92
- </div><!-- /jumpBar -->
93
- <div id="featureMenu" class="uniquePage"><div id="navMenu" class="naven"><div class="center"><a href="http://www.conservative.ca"><img id="logo" src="http://www.conservative.ca/wp-content/themes/conservative/images/featureMenu-navMenu-Conservative-en.png" width="176px" height="36px" border="0" alt="Conservative Party of Canada | Parti conservateur du Canada" title="Conservative Party of Canada | Parti conservateur du Canada" /></a>
94
- <ul class="sub-menu">
95
- <li id="menu-item-71" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-71"><a href="http://www.conservative.ca/?page_id=23">Facts</a></li>
96
- <li id="menu-item-70" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-70"><a href="http://www.conservative.ca/?page_id=25">Laureen Harper</a></li>
97
- <li id="menu-item-1836" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1836"><a href="http://www.conservative.ca/?page_id=27">Prime Minister&#8217;s website</a></li>
98
- </ul>
99
- </li>
100
- <li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor menu-item-13"><a href="http://www.conservative.ca/?page_id=11">Team</a>
101
- <ul class="sub-menu">
102
- <li id="menu-item-68" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-68"><a href="http://www.conservative.ca/?page_id=31">Ministry</a></li>
103
- <li id="menu-item-66" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-35 current_page_item menu-item-66"><a href="http://www.conservative.ca/?page_id=35">Members of Parliament</a></li>
104
- <li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.conservative.ca/?page_id=33">Senators</a></li>
105
- <li id="menu-item-65" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-65"><a href="http://www.conservative.ca/?page_id=37">Your Elected National Council</a></li>
106
- </ul>
107
- </li>
108
- <li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.conservative.ca/?page_id=9">Where We Stand</a>
109
- <ul class="sub-menu">
110
- <li id="menu-item-62" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-62"><a href="http://www.conservative.ca/?page_id=44">Issue By Issue</a></li>
111
- <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-64"><a href="http://www.conservative.ca/?page_id=40">Platform</a></li>
112
- <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-63"><a href="http://www.conservative.ca/?page_id=42">Budget 2012</a></li>
113
- <li id="menu-item-1380" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1380"><a href="http://www.conservative.ca/?page_id=923">Canada&#8217;s Founding Party</a></li>
114
- </ul>
115
- </li>
116
- <li id="menu-item-57" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-57"><a href="http://www.conservative.ca/?page_id=54">News</a></li>
117
- <li id="menu-item-58" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-58"><a href="http://www.conservative.ca/?page_id=46">Multimedia</a>
118
- <ul class="sub-menu">
119
- <li id="menu-item-61" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-61"><a href="http://www.conservative.ca/?page_id=48">Photos</a></li>
120
- <li id="menu-item-60" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-60"><a href="http://www.conservative.ca/?page_id=50">Video</a></li>
121
- <li id="menu-item-59" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-59"><a href="http://www.conservative.ca/?page_id=52">Wallpaper</a></li>
122
- </ul>
123
- </li>
124
- </ul><div id="cta-donate"><a href="https://secure.conservative.ca/donation.aspx?lang=en" class="btn btn-primary btn-cta" style="font-weight: bold;">DONATE</a></noscript></div>
125
- <div id="mainImage">
126
- <img src="http://www.conservative.ca/media/2012/06/CPC-HeaderRandomizer81.jpg" width="960px" border="0" />
127
- </div><!-- /mainImage --></div><!-- /featureMenu -->
128
- <div id="content">
129
- <div class="center">
130
- <div id="header">
131
- <div id="type">
132
- <h2>Members of Parliament</h2>
133
-
134
- <br />
135
- <form action="http://www.conservative.ca" method="get">
136
- <input type="hidden" name="page_id" value="35" />
137
- <input type="hidden" name="lang" value="en" />
138
- <div class="left"><div><select name="pr"><option value="Alberta" >Alberta</option>
139
- <div class="left" style="margin:0 0 0 10px;"><button type="submit" class="btn btn-primary">Submit</button></div>
140
- <div class="clear"></div><br />
141
- </form>
142
- <br />
143
- <form action="" method="post">
144
- <input type="hidden" name="findmymp" value="35" />
145
- <input type="hidden" name="lang" value="en" />
146
- <div class="left"><input type="text" name="pc" id="findmymppc" value="K0A1K0" maxlength="7" /></div>
147
- <div class="left" style="margin:0 0 0 10px;"><button type="submit" class="btn btn-primary">Submit</button></div>
148
- <div class="clear"></div><br />
149
- </form>
150
- <div class="left"><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell"><img src="http://www.conservative.ca/media/team/35025.jpg" width="41px" alt="Pierre Lemieux" /></a></div>
151
- <div class="left" style="margin:0 0 0 10px;"><h5><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell">Pierre Lemieux</a></h5><p><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell">Glengarry–Prescott–Russell</a></p></div><div class="clear"></div><div class="left"><a href="http://www.conservative.ca/?cr=nepean-carleton"><img src="http://www.conservative.ca/media/team/35052.jpg" width="41px" alt="Pierre Poilievre" /></a></div>
152
- <div class="left" style="margin:0 0 0 10px;"><h5><a href="http://www.conservative.ca/?cr=nepean-carleton">Pierre Poilievre</a></h5><p><a href="http://www.conservative.ca/?cr=nepean-carleton">Nepean–Carleton</a></p></div><div class="clear"></div><div class="left"><a href="http://www.conservative.ca/?cr=ottawa-orleans"><img src="http://www.conservative.ca/media/team/35063.jpg" width="41px" alt="Royal Galipeau" /></a></div>
153
- <div class="left" style="margin:0 0 0 10px;"><h5><a href="http://www.conservative.ca/?cr=ottawa-orleans">Royal Galipeau</a></h5><p><a href="http://www.conservative.ca/?cr=ottawa-orleans">Ottawa–Orléans</a></p></div><div class="clear"></div>
154
- <script type="text/javascript">
155
- $c=jQuery.noConflict(); $c(document).ready(function(){
156
- $c("#findmymppc").placeholders({value:"Postal Code"});
157
- });
158
- </script>
159
- </div><!-- /type -->
160
- <div id="share">
161
- <div class="fb left"><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.conservative.ca%2F%3Fpage_id%3D35&amp;send=false&amp;layout=box_count&amp;width=100&amp;show_faces=false&amp;action=recommend&amp;colorscheme=light&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:90px;" allowTransparency="true"></iframe></div>
162
-
163
- <div class="tw left"><a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-count="vertical">Tweet</a></div>
164
- <div class="clear"></div>
165
- </div><!-- /share -->
166
- <div class="clear"></div>
167
- <hr />
168
- </div> <!-- /top -->
169
- <div id="columns">
170
- <div id="maincol">
171
- <div id="bodyContent">
172
- </div><!-- /bodyContent -->
173
- </div><!-- /maincol -->
174
- <div id="sidebar">
175
- <div class="widget">
176
- <div class="container takeaction">
177
- <h3>Take Action</h3><hr />
178
- <div class="link" align="center">
179
- <a href="https://secure.conservative.ca/donation.aspx?lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Contribute']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-contribute.png" width="20" height="23" border="0" alt="Contribute" title="Contribute" /></a>
180
- <p><a href="https://secure.conservative.ca/donation.aspx?lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Contribute']); return true;">Contribute</a></p>
181
- </div>
182
- <div class="link" align="center">
183
- <a href="https://secure.conservative.ca/donation.aspx?cmp=ml&lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Join']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-join.png" width="26" height="21" border="0" alt="Join" title="Join" /></a>
184
- <p><a href="https://secure.conservative.ca/donation.aspx?cmp=ml&lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Join']); return true;">Join</a></p>
185
- </div>
186
- <div class="link" align="center">
187
- <a href="http://www.brymark.com/cboutique/index2.cfm" target="_blank" rel="nofollow" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Shop']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-shop.png" width="23" height="22" border="0" alt="Shop" title="Shop" /></a>
188
- <p><a href="http://www.brymark.com/cboutique/index2.cfm" target="_blank" rel="nofollow" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Shop']); return true;">Shop</a></p>
189
- </div>
190
- <div class="link" align="center">
191
- <a href="#cpcemailsignupcontainer" class="cpcemailsignup" onclick="cpcescaption('Newsletter');"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-newsletter.png" width="24" height="22" border="0" alt="Newsletter" title="Newsletter" /></a>
192
- <p><a href="#cpcemailsignupcontainer" class="cpcemailsignup" onclick="cpcescaption('Newsletter');">Newsletter</a></p>
193
- </div>
194
- <div class="clear"></div>
195
- </div>
196
-
197
- </div><div class="widget"><!--Stephen Harper--><div class="container takeaction"><img src="http://www.conservative.ca/media/2012/05/widget-pm-headerImg.jpg"><br />
198
- <h3>Stephen Harper</h3>
199
- <hr />
200
- <p>Stephen Harper is dedicated to building a stronger, prouder, more prosperous Canada by delivering real results for everyday Canadian families. He has spent his entire political career standing up and speaking out for Canadians who work hard, pay their taxes and play by the rules.</p>
201
- <p class="widgetLink linkFirst"><a href="http://www.conservative.ca/?page_id=2">Read more</a></p>
202
- <div class="clear"></div>
203
- </div>
204
- </div><div class="widget"><!--Canada’s Founding Party--><div class="container takeaction"><img src="http://www.conservative.ca/media/2012/05/widget-party-headerImg.jpg"><br />
205
- <h3>Canada’s Founding Party</h3>
206
- <hr />
207
- <p>On October 16th, 2003, the leaders of the Canadian Reform Conservative Alliance and the Progressive Conservative Party of Canada announced an agreement-in-principle to unite under a new political banner. In December 2003, the merger was overwhelmingly ratified by members of both parties and the Conservative Party of Canada was officially born.</p>
208
- <p class="widgetLink linkFirst"><a href="http://www.conservative.ca/?page_id=923">Read more</a></p>
209
- <div class="clear"></div>
210
- </div>
211
- </div> </div>
212
- <div class="clear"></div>
213
- <div class="clear"></div>
214
- </div><!-- /columns -->
215
-
216
- </div><!-- /center -->
217
- </div><!-- /content -->
218
-
219
- <div id="footer">
220
- <div class="center">
221
- <div><div id="MPs" class="col"><h4>Conservative MPs</h4><hr />
222
- <div class="MP">
223
- <div class="photoContainer"><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell"><img src="http://www.conservative.ca/media/team/35025.jpg" width="41" border="0" /></a></div>
224
- <p class="name"><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell">Pierre Lemieux</a>
225
- <p class="riding"><a href="http://www.conservative.ca/?cr=glengarry-prescott-russell">Glengarry &#8211; Prescott &#8211; Russell</a></p>
226
- <div class="clear"></div>
227
- </div><!-- /MP -->
228
-
229
 
230
- <div class="MP">
231
- <div class="photoContainer"><a href="http://www.conservative.ca/?cr=kitchener-waterloo"><img src="http://www.conservative.ca/media/team/35039.jpg" width="41" border="0" /></a></div>
232
- <p class="name"><a href="http://www.conservative.ca/?cr=kitchener-waterloo">Peter Braid</a>
233
- <p class="riding"><a href="http://www.conservative.ca/?cr=kitchener-waterloo">Kitchener &#8211; Waterloo</a></p>
234
- <div class="clear"></div>
235
- </div><!-- /MP -->
236
-
237
1
 
238
- <div class="MP">
239
- <div class="photoContainer"><a href="http://www.conservative.ca/?cr=egmont"><img src="http://www.conservative.ca/media/team/11003.jpg" width="41" border="0" /></a></div>
240
- <p class="name"><a href="http://www.conservative.ca/?cr=egmont">Gail Shea</a>
241
- <p class="riding"><a href="http://www.conservative.ca/?cr=egmont">Egmont</a></p>
242
- <div class="clear"></div>
243
- </div><!-- /MP -->
244
-
245
- <h3>Find Your MP</h3><br />
246
- <form method="post">
247
- <div class="left"><input type="text" name="pc" id="fpc" value="Postal Code" maxlength="7" /></div>
248
- <div class="left" style="margin:0 0 0 10px;"><button type="submit" id="findyourmpsubmit" class="btn btn-primary">Submit</button></div>
249
- <div class="clear"></div><br />
250
- </form>
251
- <div id="findyourmpresults"></div>
252
- </div>
253
- <script type="text/javascript">
254
- $c=jQuery.noConflict(); $c(document).ready(function(){
255
- $c(".findyourmp").fancybox({fitToView:false});
256
- $c("#fpc").focus(function () { if (this.value == "Postal Code") { this.value = ""; $c(this).attr("maxlength", "7"); } });
257
- $c("#fpc").blur(function () { if ($c.trim(this.value) == "") { $c(this).attr("maxlength", "12"); this.value = "Postal Code"; } });
258
-
259
- $c("#findyourmpsubmit").click(function () {
260
- var fpc = $c("#fpc").val();
261
- $c(this).addClass("disabled");
262
- var senddata = 'fpc='+fpc+'&x=vldpc&lang=';
263
- $c.ajax({
264
- url: "http://www.conservative.ca/wp-content/themes/conservative/functions-process.php",
265
- type: "GET",
266
- data: senddata,
267
- cache: false,
268
- success: function (html) {
269
- if (html=="new") {
270
- $c("#findyourmpresults").html("No ridings found");
271
- }
272
- else {
273
- $c("#findyourmpresults").html(html);
274
- $c.fancybox.update();
275
- }
276
- }
277
- });
278
- return false;
279
- });
280
- });
281
- </script>
282
- </div><div><div id="tweets" class="col"><h4>Recent Tweets</h4><hr /><div class="tweet"><p>Keeping our Communities Safe: <a href="http://t.co/fJC7DKoy" target="_blank">http://t.co/fJC7DKoy</a> #cdnpoli</p></div>
283
- <script type="text/javascript">
284
- $cp=jQuery.noConflict();
285
- $cp(document).ready(function(){
286
- $cp("a[rel=cpcphotos]").fancybox({
287
- "centerOnScroll" : true,
288
- "transitionIn" : "none",
289
- "transitionOut" : "none",
290
- "titlePosition" : "over",
291
- "titleFormat" : function(title, currentArray, currentIndex, currentOpts) {
292
- return '<span id="fancybox-title-over"> ' + (title.length ? ' &nbsp; ' + title : '') + '</span>';
293
- }
294
- });
295
- });
296
- </script></div><div><div id="videos" class="col"><h4>Recent Video</h4><hr />
297
- <div id="videoContainer">
298
- <div id="videoPlaceholder">
299
- <a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1"><img src="http://i.ytimg.com/vi/_7yoeZyMwbU/0.jpg" width="202px" /></a>
300
- </div>
301
- </div><!-- /videoContainer -->
302
- <p class="current"><a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1">Prime Minister Stephen Harper delivers remarks on Parliament Hill during Canada Day celebrations</a></p>
303
-
304
- <script type="text/javascript">
305
- $cv=jQuery.noConflict();
306
- $cv(document).ready(function(){
307
- $cv(".cpcvideo").fancybox({ "autoScale" : true, "centerOnScroll" : true, "transitionIn" : "none", "transitionOut" : "none", "type" : "iframe" });
308
- });
309
- </script></div> <div class="clear"></div>
310
- <hr />
311
- <div id="logo">
312
- <a href="http://www.conservative.ca"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/footer-logo-en.png" width="131" height="27" border="0" alt="Conservative Party of Canada | Parti conservateur du Canada" title="Conservative Party of Canada | Parti conservateur du Canada" /></a>
313
- </div><!-- /logo -->
314
- <div id="info">
315
- <p>This website is the property of the Conservative Party of Canada and may not be reproduced in whole or in part without express written permission.</p>
316
- <p>Copyright &copy; 2012 Authorized by the Registered Agent of the Conservative Party of Canada. - <a href="http://www.conservative.ca/?page_id=1153">Privacy Policy</a> | <a href="http://www.conservative.ca/?page_id=1256">Documents for Members</a> | <a href="http://www.conservative.ca/?page_id=1458">Employment Opportunities</a></p>
317
- </div><!-- /info -->
318
- <div class="clear"></div>
319
- </div><!-- /center -->
320
- </div><!-- /footer -->
321
-
322
- <div id="utilityBar">
323
- <div class="center">
324
- <div class="rollover"><a href="#" id="ToryTVClick" class="toryTV"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-ToryTV.png" border="0" alt="ToryTV" title="ToryTV" /></a></div>
325
- <div class="rollover"><a href="#" id="INClick" class="news"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-news-en.png" border="0" alt="Important News | Nouvelles importantes" title="Important News | Nouvelles importantes" /></a></div>
326
- <div class="rollover"><a href="https://secure.conservative.ca/donation.aspx?lang=en" class="contribute" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Footer Link (Icon)', 'Contribute']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-contribute-en.png" border="0" alt="Contribute | Contribuer" title="Contribute | Contribuer" /></a></div>
327
- <div id="search">
328
- <form method="get" action="http://www.conservative.ca">
329
- <input type="hidden" name="lang" value="" />
330
- <div id="submitButton"><button type="submit" /></button></div><input name="s" type="text" value="Search Conservative.ca" id="textEnter" />
331
- <div class="clear"></div>
332
- </form>
333
- </div><!-- /search -->
334
- <div class="clear"></div>
335
-
336
- <div class="popoutContainer tv" id="ToryTVPopup" style="display:none;">
337
- <div id="toryTV">
338
-
339
- <div id="vid">
340
- <a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1"><img src="http://i.ytimg.com/vi/_7yoeZyMwbU/0.jpg" width="391px" /></a>
341
- </div><!-- /vid -->
342
-
343
- <div id="info">
344
- <div id="others">
345
- <p class="other">Other Recent Videos</p>
346
- <div class="otherVid"><a class="cpcvideo" href="http://www.youtube.com/embed/9K9nBFJD6M0?autoplay=1"><img src="http://i.ytimg.com/vi/9K9nBFJD6M0/0.jpg" width="112px" /></a></div>
347
- </div><!-- /others -->
348
- <div class="clear"></div>
349
- </div><!-- /info -->
350
- <div class="clear"></div>
351
- </div><!-- /toryTV -->
352
- </div><!-- /popoutContainer -->
353
- <div class="popoutContainer importantNews" id="INPopup" style="display:none;">
354
- <div id="news">
355
- <p class="title"><a href="http://www.conservative.ca/?p=2526">Focused on the Economy: No New Spending</a></p>
356
- <div class="desc"><p>On Wednesday, Jim Flaherty, Minister of Finance, was in Burlington, Ontario hosting pre-budget consultations with local business and community leaders.</p>
357
- </div>
358
- <p class="more"><a href="http://www.conservative.ca/?p=2526">Read More</a></p>
359
- </div><!-- /news -->
360
- </div><!-- /popoutContainer -->
361
- </div><!-- /center -->
362
- </div><!-- /utilityBar -->
363
-
364
- <script type="text/javascript">
365
- $c=jQuery.noConflict();
366
- $c(document).ready(function(){
367
- $c("#ToryTVClick").click(function() { $c("#ToryTVPopup").toggle(); $c("#INPopup").hide(); return false; });
368
- $c("#INClick").click(function() { $c("#INPopup").toggle(); $c("#ToryTVPopup").hide(); return false; });
369
- $c("#textEnter").focus(function () { if (this.value == "Search Conservative.ca") { this.value = ""; } });
370
- $c("#textEnter").blur(function () { if (this.value == "") { this.value = "Search Conservative.ca"; } });
371
- $c(".movement").click(function() { $c("#CPCmovement").slideToggle('normal'); return false; });
372
- $c('body').addClass('sl');
373
- if ($c('#slider').length > 0) { FeatureSlideshow.init(); }
374
- $c(".whycpc").placeholders();
375
- $c(".nxt").click(function() { t=$c(this).attr("title"); n=$c(this).attr("name"); c = '.controls'+n+' .nxt'; s = '.slidercontainer'+n; $c(c).removeClass('active'); $c(this).addClass('active'); $c(s).iosSlider('goToSlide',t); return false; });
376
- });
377
- </script>
378
-
379
-
380
- <div id="cpcemailsignupcontainer" style="width:400px; display:none;">
381
- <div id="cpcemailsignupmsg"></div>
382
- <div id="cpcemailsignupform">
383
- <h3 id="cpcemailsignupcaption"></h3><br />
384
- <form action="" method="post">
385
- <input type="hidden" name="8aa15ec600cc0ab0d2cbfdfaf64c6821" value="0313" />
386
- <div><input type="text" id="es_fn" name="fn" value="First Name" class="cpces" maxlength="20" tabindex="1" /></div>
387
- <div><input type="text" id="es_ln" name="ln" value="Last Name" class="cpces" maxlength="20" tabindex="2" /></div>
388
- <div><input type="text" id="es_pc" name="pc" value="Postal Code" class="cpces" maxlength="7" tabindex="3" /></div>
389
- <div><input type="text" id="es_em" name="em" value="Email" class="cpces" maxlength="40" tabindex="4" /></div>
390
- <div><button type="submit" id="cpcemailsignupsubmit" class="btn btn-primary">Submit</button></div>
391
- </form>
392
- </div>
393
- </div>
394
- <script type="text/javascript">
395
- $c=jQuery.noConflict(); $c(document).ready(function(){ $c(".cpcemailsignup").fancybox({fitToView:false,helpers:{title:null}}); $c(".cpces").placeholders(); });
396
- </script>
397
- <script type="text/javascript">
398
- function cpcescaption(a) { $c("#cpcemailsignupcaption").html(a); }
399
- $c=jQuery.noConflict(); $c(document).ready(function(){
400
- $c("#cpcemailsignupsubmit").click(function () {
401
- var es_fn = $c("#es_fn").val(); var es_ln = $c("#es_ln").val(); var es_pc = $c("#es_pc").val(); var es_em = $c("#es_em").val();
402
- $c(this).attr('disabled','disabled');
403
- var senddata = 'fn='+es_fn+'&ln='+es_ln+'&pc='+es_pc+'&em='+es_em+'&pid=35&x=vldes&lang=en';
404
- $c.ajax({
405
- url: "http://www.conservative.ca/wp-content/plugins/cpcemailsignup/process.php",
406
- type: "GET",
407
- data: senddata,
408
- cache: false,
409
- success: function (html) {
410
- if (html==1) {
411
- $c("#cpcemailsignupmsg").html("<p class='success'>Thank you!</p>");
412
- $c("#cpcemailsignupform").hide('slow');
413
- }
414
- else {
415
- $c("#cpcemailsignupmsg").html("<p class='error'>Sorry, something went wrong. Please try again.</p>");
416
- $c("#cpcemailsignupsubmit").removeAttr('disabled');
417
- }
418
- }
419
- });
420
- return false;
421
- });
422
- });
423
- </script>
424
-
425
- <script type="text/javascript">
426
- $c=jQuery.noConflict(); $c(document).ready(function(){
427
- $c("#cpcpollsubmit").click(function () {
428
- var cp_n = $c("#cpcpoll_nom").val(); var cp_e = $c("#cpcpoll_cour").val(); var cp_pc = $c("#cpcpoll_pc").val(); var cp_l = $c("#cpcpolll").val(); var cp_i = $c("#cpcpollid").val(); var cp_r = $c("input[name='poll_response']:checked").val(); if (cp_r == undefined) { cp_r = ""; }
429
- $c(this).attr('disabled','disabled');
430
- var senddata = 'i='+cp_i+'&r='+cp_r+'&n='+cp_n+'&e='+cp_e+'&pc='+cp_pc+'&pid=35&x=vldp&lang='+cp_l;
431
- $c.ajax({
432
- url: "http://www.conservative.ca/wp-content/plugins/cpcpoll/process.php",
433
- type: "GET",
434
- data: senddata,
435
- cache: false,
436
- success: function (html) {
437
- if (html==1) {
438
- $c("#cpcpollmsg").html("<p class='success'>Thank you!</p>");
439
- $c("#cpcpollform").hide('slow');
440
- }
441
- else if (html==2) {
442
- $c("#cpcpollmsg").html("<p class='success'>You've taken this poll already.</p>");
443
- $c("#cpcpollform").hide('slow');
444
- }
445
- else {
446
- $c("#cpcpollmsg").html("<p class='error'>Sorry, something went wrong. Please try again.</p>");
447
- $c("#cpcpollsubmit").removeAttr('disabled');
448
- }
449
- }
450
- });
451
- return false;
452
- });
453
- });
454
- </script>
455
-
456
- </body>
457
- </html>