Skip to content

Commit

Permalink
Update special postcode page.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Dec 26, 2024
1 parent 9da6522 commit 2fc069a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 7 deletions.
38 changes: 31 additions & 7 deletions templates/website/about-special.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,52 @@ <h2>Special Postcodes</h2>
<div class="large-8 columns">

<dl>
<dt><b><a name="giro"></a>GIR 0AA</b></dt>
<dd>Girobank, now owned by Alliance &amp; Leicester.
<dt id="giro">GIR 0AA</dt>
<dd>Girobank, now owned by Santander.
<a href="https://www.theguardian.com/money/2003/jul/07/business.postalservice">Guardian
article</a></dd>
<dt><b><a name="santa"></a>XM4 5HQ</b> (previously SAN TA1)</dt>
<dt id="santa">XM4 5HQ (previously SAN TA1)</dt>
<dd>Santa Claus’s full address is Santa Claus (or Father Christmas), Santa’s Grotto, Reindeerland, XM4 5HQ.</dd>
</dl>

<h2>Fictional Postcodes</h2>

<p>At the moment, <b>WriteToThem.com</b> can’t directly get you in contact with
<p>At the moment, WriteToThem can’t directly get you in contact with
representatives of fictional locations. Hopefully, the links below will help.</p>

<dl>
<dt><b><a name="archers"></a>AM</b></dt>
<dt id="archers">AM</dt>
<dd>Ambridge, Borsetshire. Home of <a href="https://www.bbc.co.uk/radio4/archers/">The Archers</a>.</dd>

<dt><b><a name="reddwarf"></a>RE1</b></dt>
<dt id="coronationstreet">M10 9KC</dt>
<dd>
<a href="https://www.itv.com/coronationstreet">Coronation Street</a>, Weatherfield.
</dd>

<dt id="reddwarf">RE1</dt>
<dd>The deep space mining vessel <a href="https://www.reddwarf.co.uk/">Red Dwarf</a>.</dd>

<dt><b><a name="training"></a>FX</b></dt>
<dt id="wallaceandgromit">WG7 7FU</dt>
<dd>
West Wallaby Street, Wigan. Home of
<a href="https://www.wallaceandgromit.com/">Wallace and Gromit</a>
(Wigan’s postcode area is actually WN).
</dd>

<dt id="training">FX</dt>
<dd>FX - Fairfax. Used by the <a href="https://www.royalmail.com/">Royal Mail</a> for training purposes.</dd>
</dl>

<h2>Previously Fictional Postcodes</h2>

<dl>
<dt id="eastenders">E20</dt>
<dd>
This used to be a fictional postcode district for Walford, East London,
home of <a href="http://www.bbc.co.uk/eastenders/">EastEnders</a>, but
it started <a href="https://www.bbc.co.uk/news/uk-england-london-12789694">being used for real</a>
by the Olympic Park in 2011.
</dd>
</dl>

</div>
Expand Down
6 changes: 6 additions & 0 deletions web/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ function postcode_form($pc, $cobrand, $cocode, $a_forward, $error_message, $opti
'G1R0AA' => 'giro',
'SANTA1' => 'santa',
'XM45HQ' => 'santa',
'M109KC' => 'coronationstreet',
'WG77FU' => 'wallaceandgromit',
);
$ft = null;
if (array_key_exists($pc2, $specialmap)) {
Expand All @@ -197,6 +199,10 @@ function postcode_form($pc, $cobrand, $cocode, $a_forward, $error_message, $opti
$ft = 'training';
} elseif ($pc23 == 'RE1') {
$ft = 'reddwarf';
} elseif ($pc23 == 'WG7') {
$ft = 'wallaceandgromit';
} elseif ($pc23 == 'M10') {
$ft = 'coronationstreet';
}

if (isset($ft)) {
Expand Down

0 comments on commit 2fc069a

Please sign in to comment.