Friday, 20 November 2009

Icerocket


I came across this week, a site called icerocket which is a real time blog search engine. The nice thing about it, is you can also search the web,  twitter, myspace, newsources and images. It is also nicely laid out.

It also has a blog tracker tool, which I have added both of my blogs to and one of the pieces of information it gives you is your blog rank. I thought I would take a look at what was above and below my sites in the rankings.

First of all my Smokeback site has a ranking of #1645.

Above that is Mikes Money Making Blog  which looks like one of those sights that just scrapes how to make money articles - I can't even be arsed to read it.

Below my site is The Best PTC  which is a site just listing Pay to Click sites banners.

Moving onto  The Dead Adventurers Club  ,this has a rank of #4655

Above that is Tanto 84 , which I have no idea what it is about , looks like its in some sort of nordic language - though I am most likely wrong,

Below it is Chad and Tammys Adventures  Which is a blog from a couple of Triathletes from Victoria ,British Columbia

So what I have learnt from looking at my rankings ? absolutely sweet FA, I also notice that my Dead Adventurers Club site has jumped 647 positions in a day and my smokeback site, a mere 30. Well I do have a pretty looking graph.

Thursday, 19 November 2009

The Next Tall Tale...


Gave a read out of "The Most Blasted Blizzard" last night at the Leeds Writing Group. The story is another installment in the Tall Tales of Tiberius O'Donnell and is the first historical outing for Tiberius as the action takes place in The Great Blizzard of 1888

My Tiberius Voice was not on form last night - was a bit clunky but it got some laughs in the right places.  Ideally In my head I have a very posh public school voice that occasionally slips into a Irish twang and a drunken slur. The drunken slur, I have no problems doing.

A lot of these early tales are going to be more giving back-story and introduction to other characters in Tiberius world.  One of the things I am most pleased with "The Most Blasted Blizzard" is I finally got a mention of Tiberius pal Hans, who has been deleted from all three stories so far.

Might sound a bit odd, but I have a self imposed 1000 word-ish limit on the Tall Tales and Hans has been the main victim of cutting.

In "The  Despicable Beast of Marrakesh" Tiberius meets Hans for the first time and shares a cabin with him on the Steamer to Marrakesh, which I have made canon in the Tiberius universe.

In "The Backstreet Berlin Brawl", Before Tiberius starts telling the tale,  Hans was going to be mentioned in Tiberius thoughts about the Germans. Finally in "The Dabble with the Occult" I was going to have another attempt at introducing the character, but I swapped that out for the three rules Tiberius mother told him.

Hans is going to be a recurring character as much as Tiberius and his Zeppelins investments will be, so I am pleased to finally get a mention in at last. I will be posting "The Most Blasted Blizzard" this friday as part of #fridayflash so check out the DAC then.

Wednesday, 18 November 2009

Simple insert into mysql from html form via php example

*** Disclaimer if you think the internet is there to do all the work for you, then this post is not for you, go and enjoy a chat with your neighbour  ***

Just been spending a bit more time learning php and on the future recipe section for my chance1234.com site. I wanted a clean and simple INSERT INTO example which I can use as a basis for future development.

In the php book I am reading I have tons of examples and on the web, there are tons of examples - but!! A lot of them have lots of other bits and pieces cluttering them up. In good time, as I learn more I am sure it will begin to make sense. But, I think a lot of people who write tutorials forget who they are writing for. Putitng in ISSET() might be second nature for yourself, but if you do not explain why you are putting it there, then it is just confusion.

Also, Yes sometimes the most simple solutions are not the right solution, but for someone learning, stripping back to the essentials can be most beneficial so they can see clearly what is going on. Remember making mistakes is one of the best ways of learning.

Anyway, end of rant and onto my insert.

I have a php file for adding recipes to my database. It currently looks something like this and is tentatively named add.php

<?php
require_once 'funcLists.php';
?>

<form action="transRecipe.php" method="POST">

<h1>Add Recipes</h1>

<p>Recipe Title
  <input type="text" size=50 name="recipeTitle" maxlength="255"  value="">
</p>

<p>Recipe Type
  <?php listRecipesTypes(); ?>   
  </p>
 
<p>Quick Description<br>
    <textarea name="recipeQuick" rows="6" cols="63"></textarea>
</p>

<p>Select Ingredients</p>
    <?php listIngredients() ?>   
<br>

<input type="submit" type="submit" value="Add Recipe">   

</form>

I also have a second php file called transRecipes.php , which contains my INSERT INTO code and that looks like this.

<?php

require_once '../conn.php';


        $sql = "INSERT INTO recipe (rType,title,quick)
        VALUES
        ($_POST[recipeType],'$_POST[recipeTitle]','$_POST[recipeQuick]')";
       
       
        echo $sql;
         echo "<br><br>";
       
        if (!mysql_query($sql))
          {
          die('Error: ' . mysql_error());
          }
        echo "Here is my bottom";

?>

And here is a list of the important condsiderations
  1. In the form action part , there is the reference to the transRecipe.php file , which you need for it to work
  2. The $POST[...] parts in transRecipe refer to the names of the input controls on the Add.php file
  3. The echo parts are there to help me debug and allow us to concentrate on getting the SQL right in the INSERT statement

Tuesday, 17 November 2009

More Crap Left Over from moving from Blogger to Wordpress

Following on from my post Crap left over... , I noticed on google webmaster tools that my site had been rescanned and along with all the new paths on wordpress , there is still old paths appearing.

having another look around the server, I did notice an old index file, which was renamed index-old.html.  'am wondering if google is scanning this...

Monday, 16 November 2009

Last Mention Of My Drawing Blog

For today...

Just added the images from my drawing blog on to an album/stream or whatever you call it on flickr , which you can see here

To be honest, not a huge fan of flickr, much prefer fotki , however I am hoping that having the pictures up there, will drive a bit more traffic to my site

New Content Up

On My drawing blog Smokeback.com , including a jaws like Ossicle - Malleus

Crap left over from Deleting A Blogger Site

My Smokeback site originally was on blogger, but at the start of November I moved it over to wordpress. After backing up the blog, I deleted the blog from the blogger dashboard and all that seems to do, is to remove it from ...  the dashboard.

On the server itself all the folders and files were still there, I deleted the folders but only noticed that I had left the old atom and rss files on the root the other day.

I have taken a drop of hits since moving over, and I was wondering why old urls were appearing in results as according to webtools, my site had been rescanned.  I am wondering if this might of been the cause...

Sunday, 15 November 2009

Das Boot

It had easily been about 10 years since I last watched this film and was a real pleasure to rewatch. As there are several versions out there, I should note it was the 3 hour and twenty minute version.

Got off to a bit of a false start when the film started in the english dubbed version, but a quick flick through the menu's and into the German. It is a shame the swearing does not appear in the subtitles, but - and this is the reason I think it is essential you watch it in German, you can't beat a good German screaming Scheiss! when noticing a destroyer.

There are two things which I think make this a cracking film, the first is the crew on the ship is totally believable in their interaction and personalities. It feels like this is a real crew on a real submarine. The second is the feeling of claustrophobia, and there is some real nice attention to detail in the scenes that help achieve this, such as when the officers are crammed in at their table eating, and one of them has to keep getting up to allow other people on the submarine to past through.

Those two factors really mould the film and as the events unfold you find yourself not trying to make any sound when the Captain orders it and holding your breath when the Petty Officer is trying to work out the location of the destroyer.

I felt a bit Jealous of the wife who watched the film with me, as she had no idea of the ending, but was pleased to again experience it after all this time. If you have never watched it, go and watch it - now! if you haven't watched it recently , go and watch it now!

Friday, 13 November 2009

Wordpress blog not appearing in Google

I started the Dead Adventurers Club back at the end of September 2009 and I have been wondering why it has not yet been showing up in google.

I did read somewhere, that google ignores blogs with less than ten posts. I do not know if this is true or not. However, Looking into ways to boost my site presence, I came across a wordpress plug in called Google(XML) Sitemap generator , when I was installing this on my blog I came across the following setting on wordpress that I have never noticed before.



Guess what setting it was on...

An Unsent Letter From a Tommy

A First World War fridayflash story for this week now on my Dead Adventurers Site and you can read it here

I would also recomend reading William J. BIll Schira diary , which was the inspiration for the setting of this story.

LinkWithin

Related Posts with Thumbnails