govkit-ca 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/LICENSE +1 -1
  2. data/README.md +2 -2
  3. data/Rakefile +1 -1
  4. data/govkit-ca.gemspec +8 -8
  5. data/lib/gov_kit-ca/postal_code/strategy/base.rb +33 -1
  6. data/lib/gov_kit-ca/postal_code/strategy/{cbc-ca.rb → cbc_ca.rb} +6 -13
  7. data/lib/gov_kit-ca/postal_code/strategy/{conservative-ca.rb → conservative_ca.rb} +2 -4
  8. data/lib/gov_kit-ca/postal_code/strategy/digital-copyright_ca.rb +27 -0
  9. data/lib/gov_kit-ca/postal_code/strategy/{elections-ca.rb → elections_ca.rb} +2 -4
  10. data/lib/gov_kit-ca/postal_code/strategy/{greenparty-ca.rb → greenparty_ca.rb} +3 -5
  11. data/lib/gov_kit-ca/postal_code/strategy/{liberal-ca.rb → liberal_ca.rb} +3 -5
  12. data/lib/gov_kit-ca/postal_code/strategy/{ndp-ca.rb → ndp_ca.rb} +3 -5
  13. data/lib/gov_kit-ca/postal_code/strategy/{parl-gc-ca.rb → parl_gc_ca.rb} +3 -5
  14. data/lib/gov_kit-ca/postal_code/{strategy.rb → strategy_set.rb} +1 -7
  15. data/lib/gov_kit-ca/postal_code.rb +9 -3
  16. data/lib/gov_kit-ca/version.rb +1 -1
  17. data/lib/gov_kit-ca.rb +2 -1
  18. data/spec/cbc_ca_spec.rb +13 -6
  19. data/spec/digital-copyright_ca_spec.rb +32 -0
  20. data/spec/elections_ca_spec.rb +7 -0
  21. data/spec/fixtures/cbc_ca/A1A1A1.response +11 -0
  22. data/spec/fixtures/cbc_ca/G0C2Y0.response +11 -0
  23. data/spec/fixtures/cbc_ca/H0H0H0.response +309 -0
  24. data/spec/fixtures/cbc_ca/K0A1K0.response +11 -0
  25. data/spec/fixtures/cbc_ca/T5S2B9.response +11 -0
  26. data/spec/fixtures/cbc_ca/X1B1B1.response +309 -0
  27. data/spec/fixtures/conservative_ca/A1A1A1.response +467 -0
  28. data/spec/fixtures/conservative_ca/G0C2Y0.response +467 -0
  29. data/spec/fixtures/conservative_ca/H0H0H0.response +467 -0
  30. data/spec/fixtures/conservative_ca/K0A1K0.response +467 -0
  31. data/spec/fixtures/conservative_ca/T5S2B9.response +467 -0
  32. data/spec/fixtures/conservative_ca/X1B1B1.response +467 -0
  33. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +262 -0
  34. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +263 -0
  35. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +278 -0
  36. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +264 -0
  37. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +267 -0
  38. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +278 -0
  39. data/spec/fixtures/elections_ca/A1A1A1.response +12 -0
  40. data/spec/fixtures/elections_ca/G0C2Y0.response +12 -0
  41. data/spec/fixtures/elections_ca/H0H0H0.response +11 -0
  42. data/spec/fixtures/elections_ca/K0A1K0.response +11 -0
  43. data/spec/fixtures/elections_ca/T5S2B9.response +12 -0
  44. data/spec/fixtures/elections_ca/X1B1B1.response +11 -0
  45. data/spec/fixtures/greenparty_ca/A1A1A1.response +13 -0
  46. data/spec/fixtures/greenparty_ca/G0C2Y0.response +13 -0
  47. data/spec/fixtures/greenparty_ca/H0H0H0.response +13 -0
  48. data/spec/fixtures/greenparty_ca/K0A1K0.response +13 -0
  49. data/spec/fixtures/greenparty_ca/T5S2B9.response +13 -0
  50. data/spec/fixtures/greenparty_ca/X1B1B1.response +13 -0
  51. data/spec/fixtures/liberal_ca/A1A1A1.response +582 -0
  52. data/spec/fixtures/liberal_ca/G0C2Y0.response +582 -0
  53. data/spec/fixtures/liberal_ca/H0H0H0.response +663 -0
  54. data/spec/fixtures/liberal_ca/K0A1K0.response +663 -0
  55. data/spec/fixtures/liberal_ca/T5S2B9.response +663 -0
  56. data/spec/fixtures/liberal_ca/X1B1B1.response +663 -0
  57. data/spec/fixtures/ndp_ca/A1A1A1.response +12 -0
  58. data/spec/fixtures/ndp_ca/G0C2Y0.response +12 -0
  59. data/spec/fixtures/ndp_ca/H0H0H0.response +12 -0
  60. data/spec/fixtures/ndp_ca/K0A1K0.response +12 -0
  61. data/spec/fixtures/ndp_ca/T5S2B9.response +12 -0
  62. data/spec/fixtures/ndp_ca/X1B1B1.response +12 -0
  63. data/spec/fixtures/parl_gc_ca/A1A1A1.response +337 -0
  64. data/spec/fixtures/parl_gc_ca/G0C2Y0.response +337 -0
  65. data/spec/fixtures/parl_gc_ca/H0H0H0.response +226 -0
  66. data/spec/fixtures/parl_gc_ca/K0A1K0.response +784 -0
  67. data/spec/fixtures/parl_gc_ca/T5S2B9.response +511 -0
  68. data/spec/fixtures/parl_gc_ca/X1B1B1.response +226 -0
  69. data/spec/greenparty_ca_spec.rb +7 -0
  70. data/spec/liberal_ca_spec.rb +10 -2
  71. data/spec/ndp_ca_spec.rb +7 -0
  72. data/spec/postal_code_spec.rb +13 -0
  73. data/spec/spec_helper.rb +13 -0
  74. data/spec/strategy_set_spec.rb +0 -0
  75. data/tasks/postal-code-for-districts.csv +212 -0
  76. data/tasks/tasks.rb +73 -0
  77. metadata +180 -98
  78. data/lib/gov_kit-ca/postal_code/strategy/digital_copyright-ca.rb +0 -28
  79. data/tasks/rid_to_edid.rb +0 -136
@@ -0,0 +1,262 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Sun, 05 Jun 2011 03:16:49 GMT
3
+ Server: Apache/2.2.3 (CentOS)
4
+ X-Powered-By: PHP/5.1.6
5
+ Set-Cookie: SESS81ce27b836f063f88172c006748c49b9=e46mauro0fi0ingfvk2hu6oh87; expires=Tue, 28 Jun 2011 06:50:09 GMT; path=/; domain=.digital-copyright.ca
6
+ Last-Modified: Sun, 05 Jun 2011 03:09:13 GMT
7
+ Etag: "8b6c175ffd9837a4b853393500b113d6"
8
+ Expires: Sun, 19 Nov 1978 05:00:00 GMT
9
+ Cache-Control: must-revalidate
10
+ Connection: close
11
+ Transfer-Encoding: chunked
12
+ Content-Type: text/html; charset=utf-8
13
+
14
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
15
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
16
+ <head>
17
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
19
+ <link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
20
+ <title>Postal Code Lookup | Digital Copyright Canada</title>
21
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/aggregator/aggregator.css?F" />
22
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?F" />
23
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/poll/poll.css?F" />
24
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?F" />
25
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?F" />
26
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?F" />
27
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?F" />
28
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?F" />
29
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/filefield/filefield.css?F" />
30
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?F" />
31
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/openid/openid.css?F" />
32
+ <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/style.css?F" />
33
+ <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/common.css?F" />
34
+ <script type="text/javascript" src="/misc/jquery.js?F"></script>
35
+ <script type="text/javascript" src="/misc/drupal.js?F"></script>
36
+ <script type="text/javascript" src="/modules/openid/openid.js?F"></script>
37
+ <script type="text/javascript">
38
+ <!--//--><![CDATA[//><!--
39
+ jQuery.extend(Drupal.settings, { "basePath": "/" });
40
+ //--><!]]>
41
+ </script>
42
+ </head><body>
43
+ <div id="header"> <h1 class="site-name title"><a href="/">Digital Copyright Canada</a></h1> <div class="site-slogan">All Canadian Citizens are "Rights Holders"!</div></div>
44
+ <div class="navlinks"><ul class="links" id="navlist"><li class="menu-2 first"><a href="/about">About/Sitemap</a></li>
45
+ <li class="menu-253"><a href="/billc32/letters" title="Send letters to your MP">Letters</a></li>
46
+ <li class="menu-48"><a href="/chronology" title="Chronology of Canadian Copyright Law">Chronology</a></li>
47
+ <li class="menu-3 last"><a href="/links">Links</a></li>
48
+ </ul><ul class="links" id="subnavlist"><li class="menu-254 first"><a href="http://www.digital-copyright.ca/copyright_jargon.shtml" title="">Copyright Jargon</a></li>
49
+ <li class="menu-256"><a href="/petition/ict/intro" title="Petition to protect Information Technology property rights">IT Property Petition</a></li>
50
+ <li class="menu-255 last"><a href="/petition/intro" title="Petition for Users&#039; Rights">Users&#039; Rights Petition</a></li>
51
+ </ul> </div>
52
+ <table id="content">
53
+ <tr>
54
+ <td id="main">
55
+ <div class="breadcrumb"><a href="/">Home</a></div><h2>Postal Code Lookup</h2>
56
+ <!-- begin content -->
57
+ <div class="node sticky">
58
+ <div class="content">
59
+ <UL><LI><a HREF="/edid/10007">St. John's South - Mount Pearl / St. John's-Sud - Mount Pearl</A>
60
+ </UL> </div>
61
+ <div class="links"><ul class="links inline"><li class="node_submitted first"><span>By System at 2005/12/13 - 17:04</span></li>
62
+ <li class="taxonomy_term_403"><a href="/election2008/blog" rel="tag" title="Canadian federal election is called for October 14, 2008">Canada Votes 2008</a></li>
63
+ <li class="taxonomy_term_1 last"><a href="/edid" rel="tag" title="Electoral Districts of Canada (organized by province)">Canadian Electoral Districts</a></li>
64
+ </ul></div>
65
+ </div>
66
+
67
+ <!-- end content -->
68
+ <div id="footer"><div class="xml-icon"><a href="/node/feed"><img src="/misc/xml.png" width="36" height="14" alt="XML feed" ALIGN="RIGHT"></a></div>
69
+
70
+ <H2 ALIGN="CENTER">All Canadian Citizens are "Rights Holders"!</H2>
71
+
72
+ <P ALIGN="CENTER">
73
+ <!-- Creative Commons License -->
74
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.gif" /></a><br />
75
+ Unless otherwise stated, content on this site are licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">Creative Commons License</a>.
76
+ <!-- /Creative Commons License -->
77
+
78
+
79
+ <!--
80
+
81
+ <rdf:RDF xmlns="http://web.resource.org/cc/"
82
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
83
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
84
+ <Work rdf:about="">
85
+ <license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
86
+ </Work>
87
+
88
+ <License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.0/">
89
+ <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
90
+ <permits rdf:resource="http://web.resource.org/cc/Distribution" />
91
+ <requires rdf:resource="http://web.resource.org/cc/Notice" />
92
+ <requires rdf:resource="http://web.resource.org/cc/Attribution" />
93
+ <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
94
+ </License>
95
+
96
+ </rdf:RDF>
97
+
98
+ -->
99
+
100
+ <P ALIGN="CENTER">This site and forum sponsored and managed by <A HREF="http://www.flora.ca/">FLORA Community Consulting</A>.</div>
101
+ </td>
102
+ <td id="sidebar-right"><div id="block-menu-menu-activities-menu" class="block block-menu">
103
+ <h2>Activities</h2>
104
+
105
+ <div class="content">
106
+ <ul class="menu"><li class="expanded first"><a href="/election2011/blog" title="Canadian federal election is called for May 2, 2011">Election 2011</a><ul class="menu"><li class="leaf first last"><a href="/PoliticalParties" title="">Registered Political Parties</a></li>
107
+ </ul></li>
108
+ <li class="expanded"><a href="/chronology" title="Chronology of Canadian Copyright Law, including past and current bills">Cronology (including bills)</a><ul class="menu"><li class="expanded first"><a href="/billc32" title="Copyright Bill tabled by the Conservative Government on June 2, 2010 (First reading).">Bill C-32</a><ul class="menu"><li class="leaf first last"><a href="/billc32/com" title="">Legislative Committee</a></li>
109
+ </ul></li>
110
+ <li class="leaf"><a href="/billc60/intro" title="Copyright Bill tabled by Liberal government on June 20, 2005.">Bill C-60</a></li>
111
+ <li class="leaf last"><a href="/billc61" title="Copyright Bill tabled by the Conservative Government on June 12, 2008.">Bill C-61</a></li>
112
+ </ul></li>
113
+ <li class="expanded active-trail"><a href="/edid" title="List of provinces towards finding your electoral district">Electoral District (list)</a><ul class="menu"><li class="leaf first active-trail"><a href="/edid/postal" title="Page to find your electoral district based on your postal code" class="active">Postal Code lookup</a></li>
114
+ <li class="expanded last"><a href="/billc32/letters" title="">Send a letter to your MP</a><ul class="menu"><li class="leaf first last"><a href="/important_mp" title="MPs with positions relevant to technology policy">Important MPs</a></li>
115
+ </ul></li>
116
+ </ul></li>
117
+ <li class="expanded"><a href="/petition/intro" title="">Petitions (Petition for Users Rights)</a><ul class="menu"><li class="leaf first"><a href="/petition/ict/intro" title="">Petition to protect IT property rights</a></li>
118
+ <li class="leaf last"><a href="/petition/acta/intro" title="">Petition opposing ACTA</a></li>
119
+ </ul></li>
120
+ <li class="leaf last"><a href="/about" title="">Participate in mailing lists</a></li>
121
+ </ul> </div>
122
+ </div>
123
+ <div id="block-user-1" class="block block-user">
124
+ <h2>Navigation</h2>
125
+
126
+ <div class="content">
127
+ <ul class="menu"><li class="leaf first"><a href="/search">search</a></li>
128
+ <li class="leaf"><a href="/tracker">Recent posts</a></li>
129
+ <li class="collapsed last"><a href="/aggregator">Feed aggregator</a></li>
130
+ </ul> </div>
131
+ </div>
132
+ <div id="block-block-8" class="block block-block">
133
+ <h2>Bloggers</h2>
134
+
135
+ <div class="content">
136
+ <A HREF="http://feedburner.google.com/fb/a/mailverify?uri=DigitalCopyrightCanada">Subscribe to email via FeedBurner</A>.
137
+ <div class="item-list"><ul><li class="first"><a href="/blog/2">Russell McOrmond</a></li>
138
+ <li><a href="/blog/6">chris_brand</a></li>
139
+ <li><a href="/blog/230">Darryl Moore</a></li>
140
+ <li><a href="/blog/315">DonK</a></li>
141
+ <li><a href="/blog/679">ablair</a></li>
142
+ <li><a href="/blog/184">Oscar</a></li>
143
+ <li><a href="/blog/68">rakerman</a></li>
144
+ <li><a href="/blog/22">jlam</a></li>
145
+ <li><a href="/blog/469">mcr</a></li>
146
+ <li><a href="/blog/13">Jem Berkes</a></li>
147
+ <li class="last"><a href="/blog/19963">Garthgraham</a></li>
148
+ </ul></div> </div>
149
+ </div>
150
+ <div id="block-block-9" class="block block-block">
151
+ <h2>Other key sites</h2>
152
+
153
+ <div class="content">
154
+ <p><DIV class="menu"><UL><br />
155
+ <LI class="leaf"><A href="http://www.copyrightforcanadians.ca/" rel="tag">Copyright For Canadians</a><br />
156
+ </li><LI class="leaf"><A href="http://onlinerights.ca/">Online Rights Canada (ORC)</a><br />
157
+ </li><LI class="leaf"><A href="http://www.cippic.ca">CIPPIC</a><br />
158
+ </li><LI class="leaf"><A href="http://excesscopyright.blogspot.com/">Howard Knopf</a><br />
159
+ </li><LI class="leaf"><A href="http://michaelgeist.ca/">Michael Geist</a><br />
160
+ </li><LI class="leaf"><A href="http://www.faircopyright.ca/">Laura Murray</a><br />
161
+ </li><LI class="leaf"><A href="http://p2pnet.net/">p2pnet news</a><br />
162
+ </li><LI class="leaf"><A href="http://www.faircopyrightforcanada.ca/">Fair Copyright for Canada</a> (Links to Facebook group, chapters, etc)<br />
163
+ </li><LI class="leaf"><A href="http://www.facebook.com/group.php?gid=2262548754">Facebook: Digital Copyright Canada</a><br />
164
+ </li><LI class="leaf"><A href="http://www.facebook.com/group.php?gid=22812140680">Facebook: Unlocked Media</a><br />
165
+ <BR /><br />
166
+ </li><LI class="leaf"><A href="/aggregator/sources">Other BLOGS listed in our news aggregator</a><br />
167
+ </li></ul><br />
168
+ </div></p>
169
+ </div>
170
+ </div>
171
+ <div id="block-user-0" class="block block-user">
172
+ <h2>User login</h2>
173
+
174
+ <div class="content">
175
+ <form action="/edid/postal?destination=node%2F1603%3Fpostalcode%3DA1A1A1" accept-charset="UTF-8" method="post" id="user-login-form">
176
+ <div><div class="form-item" id="edit-openid-identifier-wrapper">
177
+ <label for="edit-openid-identifier">Log in using OpenID: </label>
178
+ <input type="text" maxlength="255" name="openid_identifier" id="edit-openid-identifier" size="13" value="" class="form-text" />
179
+ <div class="description"><a href="http://openid.net/">What is OpenID?</a></div>
180
+ </div>
181
+ <div class="form-item" id="edit-name-wrapper">
182
+ <label for="edit-name">Username: <span class="form-required" title="This field is required.">*</span></label>
183
+ <input type="text" maxlength="60" name="name" id="edit-name" size="15" value="" class="form-text required" />
184
+ </div>
185
+ <div class="form-item" id="edit-pass-wrapper">
186
+ <label for="edit-pass">Password: <span class="form-required" title="This field is required.">*</span></label>
187
+ <input type="password" name="pass" id="edit-pass" maxlength="60" size="15" class="form-text required" />
188
+ </div>
189
+ <input type="submit" name="op" id="edit-submit" value="Log in" class="form-submit" />
190
+ <input type="hidden" name="form_build_id" id="form-665f9c81513ecb40b5fa92168f9b1c05" value="form-665f9c81513ecb40b5fa92168f9b1c05" />
191
+ <input type="hidden" name="form_id" id="edit-user-login-block" value="user_login_block" />
192
+ <input type="hidden" name="openid.return_to" id="edit-openid.return-to" value="http://www.digital-copyright.ca/openid/authenticate?destination=node%2F1603%3Fpostalcode%3DA1A1A1" />
193
+ <div class="item-list"><ul><li class="openid-link first"><a href="/%2523">Log in using OpenID</a></li>
194
+ <li class="user-link last"><a href="/%2523">Cancel OpenID login</a></li>
195
+ </ul></div><div class="item-list"><ul><li class="first"><a href="/user/register" title="Create a new user account.">Create new account</a></li>
196
+ <li class="last"><a href="/user/password" title="Request new password via e-mail.">Request new password</a></li>
197
+ </ul></div>
198
+ </div></form>
199
+ </div>
200
+ </div>
201
+ <div id="block-search-0" class="block block-search">
202
+ <h2>Search</h2>
203
+
204
+ <div class="content">
205
+ <form action="/edid/postal?postalcode=A1A1A1" accept-charset="UTF-8" method="post" id="search-block-form">
206
+ <div><div class="container-inline">
207
+ <div class="form-item" id="edit-search-block-form-1-wrapper">
208
+ <label for="edit-search-block-form-1">Search this site: </label>
209
+ <input type="text" maxlength="128" name="search_block_form" id="edit-search-block-form-1" size="15" value="" title="Enter the terms you wish to search for." class="form-text" />
210
+ </div>
211
+ <input type="submit" name="op" id="edit-submit-1" value="Search" class="form-submit" />
212
+ <input type="hidden" name="form_build_id" id="form-e36d7fb863ed6fe9f05bb8efe979b661" value="form-e36d7fb863ed6fe9f05bb8efe979b661" />
213
+ <input type="hidden" name="form_id" id="edit-search-block-form" value="search_block_form" />
214
+ </div>
215
+
216
+ </div></form>
217
+ </div>
218
+ </div>
219
+ <div id="block-block-2" class="block block-block">
220
+ <h2>Other search...</h2>
221
+
222
+ <div class="content">
223
+ <p><UL><br />
224
+ <LI><A HREF="http://list.digital-copyright.ca/mailman/listinfo">Mailing lists and their archives</a> are not included in this search. The main 'discuss' list <A HREF="/discuss/">has a simple search interface</a>.<br />
225
+ </li></ul></p>
226
+ </div>
227
+ </div>
228
+ <div id="block-aggregator-feed-14" class="block block-aggregator">
229
+ <h2>Digital Copyright Canada BLOG</h2>
230
+
231
+ <div class="content">
232
+ <div class="item-list"><ul><li class="first"><a href="http://www.digital-copyright.ca/node/5347">Semi-new cabinet</a>
233
+ </li>
234
+ <li><a href="http://www.digital-copyright.ca/node/5346">Advice to an NDP official opposition on Copyright</a>
235
+ </li>
236
+ <li><a href="http://www.digital-copyright.ca/node/5345">Science and Technology minister</a>
237
+ </li>
238
+ <li><a href="http://www.digital-copyright.ca/node/5343">Supreme Court Justice Ian Binnie to retire</a>
239
+ </li>
240
+ <li><a href="http://www.digital-copyright.ca/node/5342">What is it like being a 20-something elected into federal politics?</a>
241
+ </li>
242
+ <li><a href="http://www.digital-copyright.ca/node/5341">Rookie MP Kennedy Stewart - SFU rock musician</a>
243
+ </li>
244
+ <li class="last"><a href="http://www.digital-copyright.ca/node/5340">Non-incumbent returning MPs: Peggy Nash, Françoise Boivin</a>
245
+ </li>
246
+ </ul></div><div class="more-link"><a href="/aggregator/sources/14" title="View this feed&#039;s recent news.">more</a></div> </div>
247
+ </div>
248
+ <div id="block-block-4" class="block block-block">
249
+ <h2>Online Rights Canada</h2>
250
+
251
+ <div class="content">
252
+ <div align="center"><a href="http://action.eff.org/orc">
253
+ <!-- img src="http://www.eff.org/bloggers/badges/blog_125x125.gif" alt="" width="125" height="125" border="0" align="middle" --><!-- img src="http://www.eff.org/bloggers/badges/blog_125x125.gif" alt="" width="125" height="125" border="0" align="middle" --><p><small>Support Online Rights Canada (Via EFF)</small></p></a></div>
254
+ <p>
255
+ If you appreciate <a HREF="http://www.onlinerights.ca">Online Rights Canada</a>'s work, please consider making a donation to the Electronic Frontier Foundation.</p>
256
+ </div>
257
+ </div>
258
+ </td>
259
+ </tr>
260
+ </table>
261
+ </body>
262
+ </html>
@@ -0,0 +1,263 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Sun, 05 Jun 2011 03:16:50 GMT
3
+ Server: Apache/2.2.3 (CentOS)
4
+ X-Powered-By: PHP/5.1.6
5
+ Set-Cookie: SESS81ce27b836f063f88172c006748c49b9=26cvh73usc1ol6svvi6qqpgbn6; expires=Tue, 28 Jun 2011 06:50:10 GMT; path=/; domain=.digital-copyright.ca
6
+ Last-Modified: Sun, 05 Jun 2011 03:09:16 GMT
7
+ Etag: "d1e9d77d9e8552dcd58fc5cef098d00f"
8
+ Expires: Sun, 19 Nov 1978 05:00:00 GMT
9
+ Cache-Control: must-revalidate
10
+ Connection: close
11
+ Transfer-Encoding: chunked
12
+ Content-Type: text/html; charset=utf-8
13
+
14
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
15
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
16
+ <head>
17
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
19
+ <link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
20
+ <title>Postal Code Lookup | Digital Copyright Canada</title>
21
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/aggregator/aggregator.css?F" />
22
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?F" />
23
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/poll/poll.css?F" />
24
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?F" />
25
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?F" />
26
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?F" />
27
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?F" />
28
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?F" />
29
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/filefield/filefield.css?F" />
30
+ <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?F" />
31
+ <link type="text/css" rel="stylesheet" media="all" href="/modules/openid/openid.css?F" />
32
+ <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/style.css?F" />
33
+ <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/common.css?F" />
34
+ <script type="text/javascript" src="/misc/jquery.js?F"></script>
35
+ <script type="text/javascript" src="/misc/drupal.js?F"></script>
36
+ <script type="text/javascript" src="/modules/openid/openid.js?F"></script>
37
+ <script type="text/javascript">
38
+ <!--//--><![CDATA[//><!--
39
+ jQuery.extend(Drupal.settings, { "basePath": "/" });
40
+ //--><!]]>
41
+ </script>
42
+ </head><body>
43
+ <div id="header"> <h1 class="site-name title"><a href="/">Digital Copyright Canada</a></h1> <div class="site-slogan">All Canadian Citizens are "Rights Holders"!</div></div>
44
+ <div class="navlinks"><ul class="links" id="navlist"><li class="menu-2 first"><a href="/about">About/Sitemap</a></li>
45
+ <li class="menu-253"><a href="/billc32/letters" title="Send letters to your MP">Letters</a></li>
46
+ <li class="menu-48"><a href="/chronology" title="Chronology of Canadian Copyright Law">Chronology</a></li>
47
+ <li class="menu-3 last"><a href="/links">Links</a></li>
48
+ </ul><ul class="links" id="subnavlist"><li class="menu-254 first"><a href="http://www.digital-copyright.ca/copyright_jargon.shtml" title="">Copyright Jargon</a></li>
49
+ <li class="menu-256"><a href="/petition/ict/intro" title="Petition to protect Information Technology property rights">IT Property Petition</a></li>
50
+ <li class="menu-255 last"><a href="/petition/intro" title="Petition for Users&#039; Rights">Users&#039; Rights Petition</a></li>
51
+ </ul> </div>
52
+ <table id="content">
53
+ <tr>
54
+ <td id="main">
55
+ <div class="breadcrumb"><a href="/">Home</a></div><h2>Postal Code Lookup</h2>
56
+ <!-- begin content -->
57
+ <div class="node sticky">
58
+ <div class="content">
59
+ <UL><LI><a HREF="/edid/24019">Gaspésie - Îles-de-la-Madeleine / Gaspésie - Îles-de-la-Madeleine</A>
60
+ <LI><a HREF="/edid/24039">Manicouagan / Manicouagan</A>
61
+ </UL> </div>
62
+ <div class="links"><ul class="links inline"><li class="node_submitted first"><span>By System at 2005/12/13 - 17:04</span></li>
63
+ <li class="taxonomy_term_403"><a href="/election2008/blog" rel="tag" title="Canadian federal election is called for October 14, 2008">Canada Votes 2008</a></li>
64
+ <li class="taxonomy_term_1 last"><a href="/edid" rel="tag" title="Electoral Districts of Canada (organized by province)">Canadian Electoral Districts</a></li>
65
+ </ul></div>
66
+ </div>
67
+
68
+ <!-- end content -->
69
+ <div id="footer"><div class="xml-icon"><a href="/node/feed"><img src="/misc/xml.png" width="36" height="14" alt="XML feed" ALIGN="RIGHT"></a></div>
70
+
71
+ <H2 ALIGN="CENTER">All Canadian Citizens are "Rights Holders"!</H2>
72
+
73
+ <P ALIGN="CENTER">
74
+ <!-- Creative Commons License -->
75
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.gif" /></a><br />
76
+ Unless otherwise stated, content on this site are licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">Creative Commons License</a>.
77
+ <!-- /Creative Commons License -->
78
+
79
+
80
+ <!--
81
+
82
+ <rdf:RDF xmlns="http://web.resource.org/cc/"
83
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
84
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
85
+ <Work rdf:about="">
86
+ <license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
87
+ </Work>
88
+
89
+ <License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.0/">
90
+ <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
91
+ <permits rdf:resource="http://web.resource.org/cc/Distribution" />
92
+ <requires rdf:resource="http://web.resource.org/cc/Notice" />
93
+ <requires rdf:resource="http://web.resource.org/cc/Attribution" />
94
+ <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
95
+ </License>
96
+
97
+ </rdf:RDF>
98
+
99
+ -->
100
+
101
+ <P ALIGN="CENTER">This site and forum sponsored and managed by <A HREF="http://www.flora.ca/">FLORA Community Consulting</A>.</div>
102
+ </td>
103
+ <td id="sidebar-right"><div id="block-menu-menu-activities-menu" class="block block-menu">
104
+ <h2>Activities</h2>
105
+
106
+ <div class="content">
107
+ <ul class="menu"><li class="expanded first"><a href="/election2011/blog" title="Canadian federal election is called for May 2, 2011">Election 2011</a><ul class="menu"><li class="leaf first last"><a href="/PoliticalParties" title="">Registered Political Parties</a></li>
108
+ </ul></li>
109
+ <li class="expanded"><a href="/chronology" title="Chronology of Canadian Copyright Law, including past and current bills">Cronology (including bills)</a><ul class="menu"><li class="expanded first"><a href="/billc32" title="Copyright Bill tabled by the Conservative Government on June 2, 2010 (First reading).">Bill C-32</a><ul class="menu"><li class="leaf first last"><a href="/billc32/com" title="">Legislative Committee</a></li>
110
+ </ul></li>
111
+ <li class="leaf"><a href="/billc60/intro" title="Copyright Bill tabled by Liberal government on June 20, 2005.">Bill C-60</a></li>
112
+ <li class="leaf last"><a href="/billc61" title="Copyright Bill tabled by the Conservative Government on June 12, 2008.">Bill C-61</a></li>
113
+ </ul></li>
114
+ <li class="expanded active-trail"><a href="/edid" title="List of provinces towards finding your electoral district">Electoral District (list)</a><ul class="menu"><li class="leaf first active-trail"><a href="/edid/postal" title="Page to find your electoral district based on your postal code" class="active">Postal Code lookup</a></li>
115
+ <li class="expanded last"><a href="/billc32/letters" title="">Send a letter to your MP</a><ul class="menu"><li class="leaf first last"><a href="/important_mp" title="MPs with positions relevant to technology policy">Important MPs</a></li>
116
+ </ul></li>
117
+ </ul></li>
118
+ <li class="expanded"><a href="/petition/intro" title="">Petitions (Petition for Users Rights)</a><ul class="menu"><li class="leaf first"><a href="/petition/ict/intro" title="">Petition to protect IT property rights</a></li>
119
+ <li class="leaf last"><a href="/petition/acta/intro" title="">Petition opposing ACTA</a></li>
120
+ </ul></li>
121
+ <li class="leaf last"><a href="/about" title="">Participate in mailing lists</a></li>
122
+ </ul> </div>
123
+ </div>
124
+ <div id="block-user-1" class="block block-user">
125
+ <h2>Navigation</h2>
126
+
127
+ <div class="content">
128
+ <ul class="menu"><li class="leaf first"><a href="/search">search</a></li>
129
+ <li class="leaf"><a href="/tracker">Recent posts</a></li>
130
+ <li class="collapsed last"><a href="/aggregator">Feed aggregator</a></li>
131
+ </ul> </div>
132
+ </div>
133
+ <div id="block-block-8" class="block block-block">
134
+ <h2>Bloggers</h2>
135
+
136
+ <div class="content">
137
+ <A HREF="http://feedburner.google.com/fb/a/mailverify?uri=DigitalCopyrightCanada">Subscribe to email via FeedBurner</A>.
138
+ <div class="item-list"><ul><li class="first"><a href="/blog/2">Russell McOrmond</a></li>
139
+ <li><a href="/blog/6">chris_brand</a></li>
140
+ <li><a href="/blog/230">Darryl Moore</a></li>
141
+ <li><a href="/blog/315">DonK</a></li>
142
+ <li><a href="/blog/679">ablair</a></li>
143
+ <li><a href="/blog/68">rakerman</a></li>
144
+ <li><a href="/blog/184">Oscar</a></li>
145
+ <li><a href="/blog/22">jlam</a></li>
146
+ <li><a href="/blog/469">mcr</a></li>
147
+ <li><a href="/blog/19963">Garthgraham</a></li>
148
+ <li class="last"><a href="/blog/13">Jem Berkes</a></li>
149
+ </ul></div> </div>
150
+ </div>
151
+ <div id="block-block-9" class="block block-block">
152
+ <h2>Other key sites</h2>
153
+
154
+ <div class="content">
155
+ <p><DIV class="menu"><UL><br />
156
+ <LI class="leaf"><A href="http://www.copyrightforcanadians.ca/" rel="tag">Copyright For Canadians</a><br />
157
+ </li><LI class="leaf"><A href="http://onlinerights.ca/">Online Rights Canada (ORC)</a><br />
158
+ </li><LI class="leaf"><A href="http://www.cippic.ca">CIPPIC</a><br />
159
+ </li><LI class="leaf"><A href="http://excesscopyright.blogspot.com/">Howard Knopf</a><br />
160
+ </li><LI class="leaf"><A href="http://michaelgeist.ca/">Michael Geist</a><br />
161
+ </li><LI class="leaf"><A href="http://www.faircopyright.ca/">Laura Murray</a><br />
162
+ </li><LI class="leaf"><A href="http://p2pnet.net/">p2pnet news</a><br />
163
+ </li><LI class="leaf"><A href="http://www.faircopyrightforcanada.ca/">Fair Copyright for Canada</a> (Links to Facebook group, chapters, etc)<br />
164
+ </li><LI class="leaf"><A href="http://www.facebook.com/group.php?gid=2262548754">Facebook: Digital Copyright Canada</a><br />
165
+ </li><LI class="leaf"><A href="http://www.facebook.com/group.php?gid=22812140680">Facebook: Unlocked Media</a><br />
166
+ <BR /><br />
167
+ </li><LI class="leaf"><A href="/aggregator/sources">Other BLOGS listed in our news aggregator</a><br />
168
+ </li></ul><br />
169
+ </div></p>
170
+ </div>
171
+ </div>
172
+ <div id="block-user-0" class="block block-user">
173
+ <h2>User login</h2>
174
+
175
+ <div class="content">
176
+ <form action="/edid/postal?destination=node%2F1603%3Fpostalcode%3DG0C2Y0" accept-charset="UTF-8" method="post" id="user-login-form">
177
+ <div><div class="form-item" id="edit-openid-identifier-wrapper">
178
+ <label for="edit-openid-identifier">Log in using OpenID: </label>
179
+ <input type="text" maxlength="255" name="openid_identifier" id="edit-openid-identifier" size="13" value="" class="form-text" />
180
+ <div class="description"><a href="http://openid.net/">What is OpenID?</a></div>
181
+ </div>
182
+ <div class="form-item" id="edit-name-wrapper">
183
+ <label for="edit-name">Username: <span class="form-required" title="This field is required.">*</span></label>
184
+ <input type="text" maxlength="60" name="name" id="edit-name" size="15" value="" class="form-text required" />
185
+ </div>
186
+ <div class="form-item" id="edit-pass-wrapper">
187
+ <label for="edit-pass">Password: <span class="form-required" title="This field is required.">*</span></label>
188
+ <input type="password" name="pass" id="edit-pass" maxlength="60" size="15" class="form-text required" />
189
+ </div>
190
+ <input type="submit" name="op" id="edit-submit" value="Log in" class="form-submit" />
191
+ <input type="hidden" name="form_build_id" id="form-349efa0af5672ab45bd1ca3b1a4faaf8" value="form-349efa0af5672ab45bd1ca3b1a4faaf8" />
192
+ <input type="hidden" name="form_id" id="edit-user-login-block" value="user_login_block" />
193
+ <input type="hidden" name="openid.return_to" id="edit-openid.return-to" value="http://www.digital-copyright.ca/openid/authenticate?destination=node%2F1603%3Fpostalcode%3DG0C2Y0" />
194
+ <div class="item-list"><ul><li class="openid-link first"><a href="/%2523">Log in using OpenID</a></li>
195
+ <li class="user-link last"><a href="/%2523">Cancel OpenID login</a></li>
196
+ </ul></div><div class="item-list"><ul><li class="first"><a href="/user/register" title="Create a new user account.">Create new account</a></li>
197
+ <li class="last"><a href="/user/password" title="Request new password via e-mail.">Request new password</a></li>
198
+ </ul></div>
199
+ </div></form>
200
+ </div>
201
+ </div>
202
+ <div id="block-search-0" class="block block-search">
203
+ <h2>Search</h2>
204
+
205
+ <div class="content">
206
+ <form action="/edid/postal?postalcode=G0C2Y0" accept-charset="UTF-8" method="post" id="search-block-form">
207
+ <div><div class="container-inline">
208
+ <div class="form-item" id="edit-search-block-form-1-wrapper">
209
+ <label for="edit-search-block-form-1">Search this site: </label>
210
+ <input type="text" maxlength="128" name="search_block_form" id="edit-search-block-form-1" size="15" value="" title="Enter the terms you wish to search for." class="form-text" />
211
+ </div>
212
+ <input type="submit" name="op" id="edit-submit-1" value="Search" class="form-submit" />
213
+ <input type="hidden" name="form_build_id" id="form-e107303d92df8731594e7b2491a39290" value="form-e107303d92df8731594e7b2491a39290" />
214
+ <input type="hidden" name="form_id" id="edit-search-block-form" value="search_block_form" />
215
+ </div>
216
+
217
+ </div></form>
218
+ </div>
219
+ </div>
220
+ <div id="block-block-2" class="block block-block">
221
+ <h2>Other search...</h2>
222
+
223
+ <div class="content">
224
+ <p><UL><br />
225
+ <LI><A HREF="http://list.digital-copyright.ca/mailman/listinfo">Mailing lists and their archives</a> are not included in this search. The main 'discuss' list <A HREF="/discuss/">has a simple search interface</a>.<br />
226
+ </li></ul></p>
227
+ </div>
228
+ </div>
229
+ <div id="block-aggregator-feed-14" class="block block-aggregator">
230
+ <h2>Digital Copyright Canada BLOG</h2>
231
+
232
+ <div class="content">
233
+ <div class="item-list"><ul><li class="first"><a href="http://www.digital-copyright.ca/node/5347">Semi-new cabinet</a>
234
+ </li>
235
+ <li><a href="http://www.digital-copyright.ca/node/5346">Advice to an NDP official opposition on Copyright</a>
236
+ </li>
237
+ <li><a href="http://www.digital-copyright.ca/node/5345">Science and Technology minister</a>
238
+ </li>
239
+ <li><a href="http://www.digital-copyright.ca/node/5343">Supreme Court Justice Ian Binnie to retire</a>
240
+ </li>
241
+ <li><a href="http://www.digital-copyright.ca/node/5342">What is it like being a 20-something elected into federal politics?</a>
242
+ </li>
243
+ <li><a href="http://www.digital-copyright.ca/node/5341">Rookie MP Kennedy Stewart - SFU rock musician</a>
244
+ </li>
245
+ <li class="last"><a href="http://www.digital-copyright.ca/node/5340">Non-incumbent returning MPs: Peggy Nash, Françoise Boivin</a>
246
+ </li>
247
+ </ul></div><div class="more-link"><a href="/aggregator/sources/14" title="View this feed&#039;s recent news.">more</a></div> </div>
248
+ </div>
249
+ <div id="block-block-4" class="block block-block">
250
+ <h2>Online Rights Canada</h2>
251
+
252
+ <div class="content">
253
+ <div align="center"><a href="http://action.eff.org/orc">
254
+ <!-- img src="http://www.eff.org/bloggers/badges/blog_125x125.gif" alt="" width="125" height="125" border="0" align="middle" --><!-- img src="http://www.eff.org/bloggers/badges/blog_125x125.gif" alt="" width="125" height="125" border="0" align="middle" --><p><small>Support Online Rights Canada (Via EFF)</small></p></a></div>
255
+ <p>
256
+ If you appreciate <a HREF="http://www.onlinerights.ca">Online Rights Canada</a>'s work, please consider making a donation to the Electronic Frontier Foundation.</p>
257
+ </div>
258
+ </div>
259
+ </td>
260
+ </tr>
261
+ </table>
262
+ </body>
263
+ </html>