<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>

<feed xmlns="http://purl.org/atom/ns#" version="0.3" xml:lang="en-GB">
<link href="https://www.blogger.com/atom/6963532" rel="service.post" title="no eclipse" type="application/atom+xml"/>
<link href="https://www.blogger.com/atom/6963532" rel="service.feed" title="no eclipse" type="application/atom+xml"/>
<title mode="escaped" type="text/html">no eclipse</title>
<tagline mode="escaped" type="text/html">relax, the lights have just been turned out</tagline>
<link href="http://www.bardsleys.co.uk/adam/" rel="alternate" title="no eclipse" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532</id>
<modified>2006-06-03T21:54:58Z</modified>
<generator url="http://www.blogger.com/" version="6.72">Blogger</generator>
<info mode="xml" type="text/html">
<div xmlns="http://www.w3.org/1999/xhtml">This is an Atom formatted XML site feed. It is intended to be viewed in a Newsreader or syndicated to another site. Please visit the <a href="http://help.blogger.com/bin/answer.py?answer=697">Blogger Help</a> for more info.</div>
</info>
<convertLineBreaks xmlns="http://www.blogger.com/atom/ns#">true</convertLineBreaks>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/110613286689271382" rel="service.edit" title="Dead" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2005-01-19T11:06:46+00:00</issued>
<modified>2005-01-19T11:07:46Z</modified>
<created>2005-01-19T11:07:46Z</created>
<link href="http://www.bardsleys.co.uk/adam/2005/01/dead.html" rel="alternate" title="Dead" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-110613286689271382</id>
<title mode="escaped" type="text/html">Dead</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">This website is now dead. I have my own server and I will at some point soon remove this totally. My new stuff will be at <a href="http://think.textdriven.com">think.textdriven.com</a> until I get a domain. I don't think anyone really read this anyway :) but I thoiught I'd post just incase.
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/109535161202352830" rel="service.edit" title="Gmail Invites and the time!" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-09-16T17:18:12+01:00</issued>
<modified>2004-09-16T16:20:12Z</modified>
<created>2004-09-16T16:20:12Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/09/gmail-invites-and-time.html" rel="alternate" title="Gmail Invites and the time!" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-109535161202352830</id>
<title mode="escaped" type="text/html">Gmail Invites and the time!</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I only just realised what time it is. I should go home and Salsa! Anyway I was only going to post to offer gmail invites in case anyone wants em. I didn't even notice I had them until just now :)
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/109489953575350917" rel="service.edit" title="Ooh I feel all special" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-09-11T11:40:51+01:00</issued>
<modified>2004-09-11T10:57:51Z</modified>
<created>2004-09-11T10:45:35Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/09/ooh-i-feel-all-special.html" rel="alternate" title="Ooh I feel all special" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-109489953575350917</id>
<title mode="escaped" type="text/html">Ooh I feel all special</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I didnt' realise people have actually been reading my blog (I guess I knew that kinda but still) Anyway I know it's been almost a month since they commented but you never know
<br/>
<br/>Starting off with <a href="http://www.amazon.com/exec/obidos/ASIN/032127847X/ref=nosim/jeffreyzel/002-2043787-6650462">Creating a Web Page with HTML : Visual QuickProject Guide (Visual Quickproject Series)</a>. I apologise for the comments they were direct from my mum. She got the impression from amazon but I shall see what she went for an post soon.
<br/>
<br/>The seond comment I'm guessing is from my dear old friend (who I don't keep in touch with nearly enough), Maddy. There are a few other people who it could be but there's something in the language. So am I right? (Oh and thanks about the hair I think although I've just had it changed, it's a bit franz ferdinand gets cool imho)
<br/>
<br/>Anyway get in touch, It's my name with a dot between adam and ..... at gmail.com
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/109489888387536527" rel="service.edit" title=" Never been a regular" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-09-11T11:34:43+01:00</issued>
<modified>2004-09-11T10:34:43Z</modified>
<created>2004-09-11T10:34:43Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/09/never-been-regular.html" rel="alternate" title=" Never been a regular" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-109489888387536527</id>
<title mode="escaped" type="text/html"> Never been a regular</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Well I'v e nev er been very good at anything regfular so updates have been very sparse. Since I last updated I have
<br/>
<ul>
<br/>
<li>Went to a club launch in manchester</li>
<br/>
<li>Been to pride in manchester</li>
<br/>
<li>Met a girl</li>
<br/>
<li>Organised a treasure hunt experience for some friends (hat tip to <a href="http://www.siobhansplace.co.uk/index2.html">Siobhan's Place</a>)</li>
<br/>
</ul>
<br/>
<br/>My two times in manchester have rocked beyond belief. Only the Mr Scruff thing at the beginnming of next week left for the hat trick. Ill write up pride and the bizarre night later, but both rocked. As for the girl it's none of your business :P and the treasure hunt was great again more detail when I have some time.
<br/>
<br/>Oh and I *quit* smoking, well it's not going too bad anyway.
<br/>
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/109292399885686467" rel="service.edit" title="Amazon.com: Creating a Web Page with HTML : Visual QuickProject Guide (Visual Quickproject Series)" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-08-19T14:59:58+01:00</issued>
<modified>2004-08-19T13:59:58Z</modified>
<created>2004-08-19T13:59:58Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/08/amazoncom-creating-web-page-with-html.html" rel="alternate" title="Amazon.com: Creating a Web Page with HTML : Visual QuickProject Guide (Visual Quickproject Series)" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-109292399885686467</id>
<title mode="escaped" type="text/html">Amazon.com: Creating a Web Page with HTML : Visual QuickProject Guide (Visual Quickproject Series)</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I suggested to my mum she should have a look at <a href="http://www.amazon.com/exec/obidos/ASIN/032127847X/ref%3Dnosim/jeffreyzel/002-2043787-6650462">Amazon.com: Creating a Web Page with HTML : Visual QuickProject Guide (Visual Quickproject Series)</a> as suggested by Zeldman and she came back with this:
<br/>
<quote>
<br/>I ordered what looks like the next one up...has sections on style sheets....it seems idiot guides etc don't expect mums to be fiddling about with style sheets....I looked at one link from the last site you recommended and was informed that obviously, since I was reading this page, I wasn't going to be a mum, I was going to be selling something :) 
<br/>But then most mums don't seem to have sons who know what their mums ought to be doing.</quote>
<br/>Even my mum is doing proper xhtml/css. All we need is to convice my dad of the benefits of standards in thatching(?) and we'll be the most standard compliant family in the world.</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/109221315944750713" rel="service.edit" title="101 Recipes" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-08-11T09:32:39+01:00</issued>
<modified>2004-08-11T08:32:39Z</modified>
<created>2004-08-11T08:32:39Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/08/101-recipes.html" rel="alternate" title="101 Recipes" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-109221315944750713</id>
<title mode="escaped" type="text/html">101 Recipes</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I've actually been very remiss about updates. Totally ignoring a very random weekend in manchester, a tragic friday rthat went totally wrong and well a wednesday not that dissimiliar  (oh and a friday again bu t that makes the update) but I have two recent things I feel like sharing.
<br/>
<br/>
<strong>One: </strong> I have started doing 101 recipes with Laura from the good food magazine book. All veggie but actually pretty good.
<br/>
<br/>
<strong>Two:</strong> I think I have a datae tonight! I'm not sure it may just be one of those friends things but well she seems like an interesting person and I'm not bothered whatever happens, fate always deals me a good hand in the long run.</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/108947228063264109" rel="service.edit" title="Positive from Average" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-07-10T16:11:02+01:00</issued>
<modified>2004-07-10T15:36:02Z</modified>
<created>2004-07-10T15:11:20Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/07/positive-from-average.html" rel="alternate" title="Positive from Average" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-108947228063264109</id>
<title mode="escaped" type="text/html">Positive from Average</title>
<content type="application/xhtml+xml" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I just watched Bruce almighty. Wasn't bad wasn't thaqt great. Light entertainment and Carrey was quite funny in his wacky way. However it had two great little bits.
<br/>
<br/>The first was when Bruce says to god <blockquote>Can I ask you about free will?</blockquote> to which God replies<blockquote>Yes you can, that's the beauty of it</blockquote>. Brilliant and when Morgan Freeman says it I can almost give it credibility.
<br/>
<br/>The second was a message about changing things yourself. Everyone having the power to do miracles, and by miracles I don't mean magic. Bruce learnt he could make a difference without the powers and later on Anthony spotted some chavs letting down tyres across the road, so I did something.
<br/>
<br/>Nothing big or special, just went over and as I crossed the road they did in the other direction so I followed back and confronted them. 
<br/>
<blockquote>Are you two letting down tyres?</blockquote>
<br/>
<blockquote>No</blockquote>
<br/>
<blockquote>Are you sure?</blockquote>
<br/>
<blockquote>Yes honest.</blockquote>
<br/>
<blockquote>Are you sure?</blockquote>
<br/>
<blockquote>Yes, We weren't I promise!</blockquote>
<br/>
<blockquote>Right</blockquote>
<br/>
<br/>And I left... and they walked off but didn't do it again. Liek I said nothing big but it felt good. Neighbourhood watch here I come :) It's easy not to do things like that and I think I've realised I don't do things I should. That's gonna change.
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/6963532/108867251637757471" rel="service.edit" title="Converting ShortStats to PostgreSQL" type="application/atom+xml"/>
<author>
<name>Adam</name>
</author>
<issued>2004-07-01T09:59:35+01:00</issued>
<modified>2004-07-01T09:48:35Z</modified>
<created>2004-07-01T09:01:56Z</created>
<link href="http://www.bardsleys.co.uk/adam/2004/07/converting-shortstats-to-postgresql.html" rel="alternate" title="Converting ShortStats to PostgreSQL" type="text/html"/>
<id>tag:blogger.com,1999:blog-6963532.post-108867251637757471</id>
<title mode="escaped" type="text/html">Converting ShortStats to PostgreSQL</title>
<content mode="escaped" type="text/html" xml:base="http://www.bardsleys.co.uk/adam/" xml:space="preserve">&lt;a href="http://www.shauninman.com/"&gt;Shaun Inmans&lt;/a&gt; rather spiffy &lt;a href="http://www.shauninman.com/mentary/past/shortstat_again.php"&gt;shortstats&lt;/a&gt; has always looked nice to me but until lately I coudln't run it as I don't use MySQL. So I hacked it and with Shaun's permission here is a guide how.&#13;&lt;br /&gt;&#13;&lt;br /&gt;&lt;h2&gt;configuration.php&lt;/h2&gt;&#13;&lt;br /&gt;One small change ass &lt;code&gt;$SI_db['con'] = 0;&lt;/code&gt; to the database section to provide a connection resource for all your PostgreSQL actions.&#13;&lt;br /&gt;&lt;h2&gt;_install.php&lt;/h2&gt;&#13;&lt;br /&gt;&lt;ol&gt;&#13;&lt;br /&gt;&lt;li&gt;Change the checking line to use &lt;code&gt;$SI_db['con']&lt;/code&gt; and &lt;code&gt;pg_query&lt;/code&gt; so the code reads &#13;&lt;br /&gt;&lt;code&gt;if (@ pg_query($SI_db['con'],"SELECT * FROM $SI_tables[stats]") &amp;&amp; @ pg_query($SI_db['con'],"SELECT * FROM $SI_tables[searchterms]"))&lt;/code&gt;&lt;/li&gt;&#13;&lt;br /&gt;&lt;li&gt;Change the two queries that add the database to the following&#13;&lt;br /&gt;&lt;pre&gt;&#13;&lt;br /&gt;$query = "CREATE TABLE ".$SI_tables['stats']." (&#13;&lt;br /&gt;	  id SERIAL,&#13;&lt;br /&gt;	  remote_ip varchar(15) NOT NULL,&#13;&lt;br /&gt;	  country varchar(50) NOT NULL,&#13;&lt;br /&gt;	  domain varchar(255) NOT NULL,&#13;&lt;br /&gt;	  referer varchar(255) NOT NULL,&#13;&lt;br /&gt;	  resource varchar(255) NOT NULL,&#13;&lt;br /&gt;	  user_agent varchar(255) NOT NULL,&#13;&lt;br /&gt;	  platform varchar(50) NOT NULL,&#13;&lt;br /&gt;	  browser varchar(50) NOT NULL,&#13;&lt;br /&gt;	  version varchar(15) NOT NULL,&#13;&lt;br /&gt;	  dt int4 NOT NULL default '0',&#13;&lt;br /&gt;	  PRIMARY KEY (\"id\")&#13;&lt;br /&gt;	  )";&#13;&lt;br /&gt;$query_search = "CREATE TABLE $SI_tables[searchterms] (&#13;&lt;br /&gt;	  id SERIAL,&#13;&lt;br /&gt;	  searchterms varchar(255) NOT NULL,&#13;&lt;br /&gt;	  count int4 NOT NULL default '0',&#13;&lt;br /&gt;	  PRIMARY KEY  (id)&#13;&lt;br /&gt;	  )";&#13;&lt;br /&gt;&lt;/pre&gt;&#13;&lt;br /&gt;&lt;/li&gt;&#13;&lt;br /&gt;&lt;li&gt;&#13;&lt;br /&gt;Take the query execution out of the if statment at the end as so:&#13;&lt;br /&gt;&lt;code&gt;&#13;&lt;br /&gt;	$r1 = @ pg_query($SI_db['con'],$query);&#13;&lt;br /&gt;	$r2 = @ pg_query($SI_db['con'],$query_search);&#13;&lt;br /&gt;	&#13;&lt;br /&gt;	if ($r1 &amp;&amp; $r2)&#13;&lt;br /&gt;&lt;/code&gt;&#13;&lt;br /&gt;&lt;/li&gt;&#13;&lt;br /&gt;&lt;/ol&gt;&#13;&lt;br /&gt;&lt;h2&gt;inc.stats.php&lt;/h2&gt;&#13;&lt;br /&gt;One small change, the query at the end should be &lt;code&gt;pg_query($SI_db['con'],$query);&lt;/code&gt; using our database connection and PostgreSQL.&#13;&lt;br /&gt;&lt;h2&gt;functions.php&lt;/h2&gt;&#13;&lt;br /&gt;Again three changes here&#13;&lt;br /&gt;&lt;ol&gt;&#13;&lt;br /&gt;&lt;li&gt;The connection function &lt;code&gt;SI_pconnect()&lt;/code&gt; needs a PostreSQL connection string like&#13;&lt;br /&gt;&lt;code&gt;$SI_db['con'] =@ pg_connect("host=".$SI_db['server']." user=".$SI_db['username']." password=".$SI_db['password']." dbname=".$SI_db['database']);&lt;/code&gt; and you can replace the logic after with &lt;code&gt;if ($SI_db['con'] = 0)	die($horribly);&lt;/code&gt; &lt;/li&gt;&#13;&lt;br /&gt;&lt;li&gt;Every single function needs to be scoured for &lt;code&gt;mysql_query($query);&lt;/code&gt; calls and have them replaced with &lt;code&gt;pg_query($SI_db['con'],$query);&lt;/code&gt; as well as adding &lt;code&gt;global $SI_db;&lt;/code&gt; at the start of every single function.&lt;/li&gt;&#13;&lt;br /&gt;&lt;li&gt;last but not least a to get referers working we need a small change to the SQL in &lt;code&gt;SI_getDomains()&lt;/code&gt;&#13;&lt;br /&gt;&lt;pre&gt;&#13;&lt;br /&gt;SELECT &#13;&lt;br /&gt;    domain, &#13;&lt;br /&gt;    referer, &#13;&lt;br /&gt;    COUNT(*) AS total,&#13;&lt;br /&gt;    MAX(dt) as last_access&#13;&lt;br /&gt;  FROM &#13;&lt;br /&gt;    $SI_tables[stats]&#13;&lt;br /&gt;  WHERE &#13;&lt;br /&gt;    domain !='".&#13;&lt;br /&gt;    SI_trimReferer($_SERVER['SERVER_NAME'])."' &#13;&lt;br /&gt;  AND &#13;&lt;br /&gt;    domain!='' &#13;&lt;br /&gt;  GROUP BY &#13;&lt;br /&gt;    domain,referer&#13;&lt;br /&gt;  ORDER BY &#13;&lt;br /&gt;    total DESC, &#13;&lt;br /&gt;    last_access DESC&#13;&lt;br /&gt;&lt;/pre&gt;&#13;&lt;br /&gt;&lt;/li&gt;&#13;&lt;br /&gt;&lt;/ol&gt;&#13;&lt;br /&gt;&lt;h2&gt;And then your done&lt;/h2&gt;&#13;&lt;br /&gt;Follow the README provided and everything should work fine. If not feel free to email me and if I have time I'll offer help or even send a copy of my working abeit &lt;a href="http://www.shauninman.com/mentary/past/shortstat_beta_3.php"&gt;old version of shortstats&lt;/a&gt;</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
</feed>
