Sunday, August 30, 2009

New Content over at LinearActuator's MINDSTORMS NXT Blog

No comments:
Over the last few weeks, I have been adding content about the latest features of NXT-G 2.0 (The programming software shipped with NXT 2.0), showing off the latest additions, and explaining differences in file content, etc. Here is a brief index of the latest posts:




Also, a quick overview of my latest model, the Lunar Mineral Sorter - (Static) can be found here:



Feel free to comment on any of these posts!

LinearActuator

Saturday, December 20, 2008

Putting Rechargeable batteries in AlphaRex

No comments:

One of the most frustrating things about the Alpha Rex model instructions for the NXT 1.0 is the difficulty in changing the battery - without partially taking apart the AlphaRex torso.

LinearActuator had tried to solve the problem by redesigning the torso of the AlphaRex so that it will work with the NXT Rechargeable battery (that is shipped with the NXT Education Kit).

The full step by step instructions can be found here:

<Step by step Instructions>



Friday, August 1, 2008

NXT Jungle Cutter

9 comments:
Straight from "Indiana Jones and the Kingdom of the Crystal Skull" comes the NXT Jungle Cutter! As seen in the film, the NXT Jungle Cutter can cut down trees using its' front saw blades (Exo-Force Wheels), and crush stray branches and twigs with its' 'Grinder' mounted just above the front triangular 'shield' (See Pictures).The NXT brick is mounted behind all of this inside the cabin of the Jungle Cutter.The NXT Jungle Cutter uses two NXT Servo Motors, as well as 2 PF Motors (One PF Motor is a dud, and is mainly a cosmetic and used to keep the model symetrical and balanced). The PF motors are connected to the NXT Brick using a converter cable that was made by cutting a PF Motor wire and a NXT cable wire in half, and then soldering them together. One PF Motor controls the front saw, and the other the Grinder mounted just above the saw.

The Saw and Grinder,

The 'Saw' of the NXT Jungle Cutter was made using two wheels from the Exo-Force model "Mobile Devastator (Set# 8108), and is powered using one PF Large Motor (The other PF motor is a 'dud', and is used to keep the model symmetrical). As one wheel turns, powered by the PF motor, it meshes with the other wheel, allowing it to rotate as well. A castor wheel has been attached to the Exo-Force wheels to help them balance and mesh.

The Grinder is mounted just above the saw, and is powered using a small PF motor and a worm gear.

The Tracks

The Tracks of the NXT Jungle Cutter are both powered by individual Servo Motors, and are connected to the front of the model either side of the 'saw'.

Wednesday, July 16, 2008

NXT BatCycle ( Batpod )

No comments:
To celebrate the release of Batman’s latest film, “The Dark Knight”, the NXT BatCycle was created! Armed and dangerous, the BatCycle can handle any opponents it may encounter with its’ hidden rocket launcher that expands from the body of the bike. With its’ large wheel area, the NXT BatCycle can also stand and move unaided! (with minor turning and terrain exceptions)


The BatCycle is a possible NXT (NeXT) generation of the Dark Knight’s vehicle collection, and has been designed in terms of style to be as similar to Batman’s other vehicles (Batmobile, Batwing, Batboat, etc) as possible (Black TECHNIC panels)

The BatCycle’s documentation has been split up into four main modules, as well as a small section on the NXT BatCycle’s weapon, and how to construct the black TECHNIC panels from the TECHNIC Tow Truck (Set No. 8285). An .LXF file of the basic construction of the BatCycle as well as a basic program, have also been provided on the NXTLog page for this model.

For more information on the NXT BatCycle, please check out its' NXTLog page here

Monday, July 7, 2008

NXT NXT Challenge Results

No comments:
The results of the NXT NXT competition are in... and the NXT Whac-A-Mole recieved the creative use of NXTlog award! Here are the judge's comments:



"One of the most creative projects submitted to this challenge, a NXT Whac-A-Mole! The idea of this model is to push, or hit as many moles that pop in and out of the "Mole Whacking Platform" as quickly as possible. When a mole is hit, a score indicator mole that is attached to the score tower will be raised. The NXT Whac-A-Mole is controlled and powered by two NXT bricks, one controlling the mole's touch sensors and motors, and the other controlling the score tower and indicator, light sensors, and any other sensors and motors that cannot be plugged into the first NXT brick. LinearActuator provides excellent pictures, a detailed NXTLOG and screen shots of the master and slave prgrams. We would love LinearActuator to share an LDD file and a video of the robot in action. (This is LinearActuator's 2nd project on NXTLOG.)"

More information on the results of the challenge can be found here
More information on the NXT Whac-A-Mole can be found here

Saturday, July 5, 2008

A NXT Amphibious Vehicle

No comments:
Yesterday, it rained all day and we had two inches (5 cm) of flood around our house. So we designed this robot initially to go and fetch the mail so we don’t have to go in the rain and get our feet / shoes wet.

I have not had a chance to test this outdoor properly yet - as it is still raining. But we did have 20 minutes break in the rain - long enough to take this picture.



This is our first version of a NXT Amphibious vehicle. We tried to make it so that it can crawl over rocks like the Packbot [iRobot] / LNE [Brian Davis] / SCAT [222Doc] and also can track through 3" of water by raising its head and NXT using the two side arms while moving. We also want to add some buoyancy in the middle so that it can float and use the arms to 'swim' through the water and when it reaches the water edge, start climbing walking with the flippers and when it reaches flat ground use the flippers and tracks to move really fast.

We also have plans to make it so that the long tail will be pivoted at multiple places so that the tracks move like a snake and will aid with the motion. But it is a bit hard to do that - as the tracks allow very little lateral bending and not designed to be flexible from side to side!

I will post the detailed instructions in NXTLog shortly. It has some really clever stuff to do with using the Differentials in a new way - driving three tracks with two motors.

Tuesday, July 1, 2008

The clone wars: New Star Wars film coming next month

No comments:
I have always been a fan of Star Wars films - and recently I saw a trailer for the new animated Star Wars Film: The clone wars. The new film is weeks away from being released in Europe and USA - and from what I have seen of the CGA animation - it sure looks cool.



So last week, I decided to build one of my favourite Star Wars droid: The Hailfire. The IG-227 Hailfire, was a droid tank constructed for the InterGalactic Banking Clan prior to and during the Clone Wars.



If you got a NXT retail kit, two universal joins and the two green wheels from the Green devastator, you can build your own wheel droid. You can find the instructions on LEGO NXTLog. The model also has an optional dual missile launchers (controlled by NXT) and an RFID sensor to identify other droids.

And talking of NXTLog, LEGO have just introduced a new account system. So while you are there check out the new stuff.

Wednesday, June 25, 2008

Making your own Wall-e with NXT

No comments:

This weekend many people would be able to see the Disney Pixar film Wall-e in Europe and USA. The film about a robot that falls in love is one of the most creative to come out of the Disney-Pixar studio for a while.

To mark the release of the film, the oficial web site has a 'Build your own robot' section where you get to choose the looks / behavour / mobility etc.

And of course, if you got a NXT - you dont need to go to a web site to design a virtual robot. You can of course build your own real Wall-e! Well almost!!

To get you started, here is some inspiration. This version, designed about a year ago was based on a leaked picture of the robot and it won one of the NXTLog building challenges last year. We had a lot of fun creating it - it can be built with the components from one NXT retail kit and one 2007 TECHNIC Bulldozer kit.

If you want instructions on how to build it, check out the NXTLog instructions here.

Sunday, June 22, 2008

NXT NXT Competition - NXT Whac-A-Mole!

1 comment:

For the latest NXT competition, we designed a NXT Whac-A-Mole, just like the machine most commonly found in carnivals, but with the added inteligence of a NXT brick!

The official NXTlog page for this model can be found here:

And here is a link to a video of the Whac-A-Mole in action!



Summary:

The NXT Whac-A-Mole uses two NXT bricks and an assortment of motors and sensors to create an excellant entertaining and amusing game machine that the whole family can enjoy.

Using Bluetooth, the "Slave" NXT brick tells the "Master" brick whenever a mole is hit. The moles are made out of many engine chassis from such models as the Technic Bulldozer. When hit, the engine chassis pushes down onto a touch sensor, which adds a point to the player' score, raising a point indicator attached to a score tower.

The score tower was made using the Catapillar tracks also from the Techic Bulldozer. When a point is scored, the tracks move, causing an attached score indicator to be raised or lowered.
When the score indicator reaches the top of the tower, an Ultrasonic Sensor tells the master NXT brick to lower the score indicator and begin a new, faster, harder game for the player.
The Light sensors and Hi-Technic Colour Sensor are used to help create an exciting atmosphere, and can easily be proggramed to light up in a series of patterns when the player scores a point.

Friday, June 20, 2008

Introducing a new contributor...

No comments:
Please welcome LinearActuator - a new contributor to this blog.

You will be seeing a lot more content on this blog site from now on.

Thanks

Tim

Saturday, June 7, 2008

World's Fastest NXTien

1 comment:
We built this really fast NXT based vehicle over the weekend to see how far you can step up the rotations from a NXT motor before you reach the point where the power delivered to the wheel is no longer enough to make the vehicle move.



And here is a video to go with it:

Wednesday, December 26, 2007

NXTilicious Xmas

14 comments:
I hope you all had a fantastic Christmas yesterday and you found lots of MINDSTORMS and LEGO stuff under the Christmas tree.

We had a fabulous Christmas day yesterday - We started the day with the kids opening their presents... and watching the kids playing with the roller skates they got for Christmas and other cool toys while we stuffed ourselves with food and wine.

The highlight of the day was giving all the kids their own NXT for Christmas: I have had enough of having a single MINDSTORMS NXT in the house shared between four people - and decided it would increase the peace and harmony in the house if every child had their own NXT.

So for Xmas each of our children got one NXT, four NXT sensors each, and a selection of motors - including TECHNIC & PF XL motors, PF standard motors, remotes and power supplies.

To top it all, we decided to have a building competition , where everyone get an hour to dream up and build a machine (with or without the NXT) and fight each other.

To make it interesting, we piled up a room full of TECHNIC pieces they can use in addition to the box full of LEGO MINDSTORMS goodies and TECHNIC pieces they got for Christmas:





The building went really well. We had one hour of peace when the three kids were busy concentrating on buildng their best creations, whilst our 11 month old baby watched them from the rocking horse she got for Christmas.

At the end of the construction, we had the contest - we used the old Sumo ring we built two weeks ago for fighting. It was really etertaining to watch the contest. Our 12 year old boy won the first price after knocking the other two off the ring. Our 7 year girl won the fastest and cutest robot price for the four motor vehicle .. and our 14 year old boy got the most amusing and ingenious robot design price with his NXT based robotic caterpult with multiple motors and a pneumatic projectile launcher..

Why not share what you did for Christmas?

In the mean time, I like to wish you all a happy new year and a prosperous 2008.

Tuesday, December 4, 2007

LEGO MINDSTORMS NXT Sumo robot Competition

6 comments:

Robot sumo is one of the fastest growing sports around. Now if you own a LEGO MINDSTORMS NXT, you can join in as well:

The LEGO NXTLOG is running a building challenge where NXT owners can design and submit a LEGO Sumo robot that could actually compete in a LEGO Sumo match.

And here is a twist: A panel of MINDSTORMS experts will build a select number of finalists. The finalist robots will compete in an exclusive LEGO Sumo match run by the MINDSTORMS experts. The NXT Sumo robot that wins the most rounds in the match will be declared the winner of the MINDSTORMS NXT Sumo Competition.

You still have plenty of time to enter the MINDSTORMS NXT Sumo robot competition run by the LEGO company. The deadline is mid December.

Are you up for it? Do you want some inspiration to get you started? Here is five minutes montage of pure Sumo heaven:



I will be posting more stuff here in the next few days:




Monday, December 3, 2007

How to make a Sumo ring in 30 minutes

2 comments:
In recent weeks my children and I have been having lots of fun making and fighting Sumo robots with LEGO MINDSTORMS NXT. However, I wanted to make the fights to resemble the official Sumo rings used in competitions similar to how it is suggested in the LEGO NXT Sumo web site.

Making a simple Sumo ring for the family is really easy. The following explains how a Sumo ring can be built in 30 minutes with easy to find stuff.

Things you need:

· Few sheets of A3 paper
· 1 x pair of Scissors
· 1 x can of white paint
· 1 x can of black paint
· 1 x knife / box cutter
· 1 x bottle of mineral turpentine (just in case you have to wipe any drips)
· 1 x piece of wood
· 1 x hard board
· 1 x masking tape
· 1 piece of string about 1 m
· 1 x PVA bonding / Glue



(1) Make a stencil with paper

Step 1 - make a giant square of paper: Join up few sheets of A3 papers together with masking tape to make a giant square just over 4 feet by 4 feet [1.25m x 1.25m]


Step 2 - Draw a giant circle: Rest the giant paper on something solid (like a wooden deck) and hammer a nail into the middle of the paper

Tie a piece of string on the nail with a bit of slack so it can freely rotate around the nail. Tie a pen or a pencil to the other end - you now got a poor man's compass.


Using the stretched string as guide, draw two concentric circles – the outer one 2 feet (61 cm) radius and the inner one 22 inches (56 cm).

Step 3 - Cut the stencil: Use a knife or pair of scissors to cut along the mark. You will have three stencils: a round circle, a ring, and a outer bit.

(2) Painting
Step 4 - Paint the outer bit white

First use the smaller circle template – place the stencil on the hardboard - you may use a glue stick to prevent it moving while spraying. Spray the can of white paint around the stencil. Wait for 10 mins for it dry.


Step 5 - Paint the inner bit black

Using the ring stencil, spray the inside black – being careful not to get any drips / spray on to the outer white bit. Wait for 10 mins for it to dry

(3) Cutting and finishing

Step 6 - Cutting the hardboard

Using a very sharp knife cut the hardboard along the outer edge of the ring stencil. The hardboard is pretty hard to cut with the knife - If you are not comfortable using the knife, then get an adult to help. If you are using a thicker material (such as plywood), then you are better off using a Jigsaw - as you will get a much better finish.


Place the painted circular hardboard on a piece of wood so the edges will be raised Glue it so it is firm and solid. Leave for another 2 hours for the paint to harden and the glue to dry.

You are now ready to have some fun with your sumo robots:





Thursday, November 29, 2007

Guy Fawkes robot

2 comments:
The military has been using robots for bomb disposals for many years now. Most of them are remote controlled.
However, lately there has been development of more specialised and autonomous EOD (Explosive Ordnance Disposal) robots that do risky operations that human beings don’t need to risk their lives for. I always wanted to design a robot that did something that is too risky for humans – and thus potentially save lives.

So early this month when we had Guy Fawkes night, I decided to use a robot based on my MINDSTORMS NXT to light our fireworks. There has been a lot of concern lately about fireworks maiming and injuring the person igniting it and a few cases of fatalities. So I thought it would be a good idea.

This autonomous NXT robot will light multiple fireworks in a sequence - while the family sits back and watch the display! The robot is incredibly simple - It uses a MINDSTORMS NXT, two light sensors (one for navigation and other to detect a lighted fuse) and an Ultrasonic detector (to detect the top of the fireworks (and hence the height of the fireworks fuse wire) so it can adjust the torch arm height depending on the position of the fuse. It uses three motors - two for motion and the third for the torch arm elevator.

Warning: Working with fireworks is dangerous. Please exercise extreme caution.


Enjoy:

Friday, October 26, 2007

My review of HiTechnic IR-Link sensor and PF elements on BrickJournal

1 comment:


If you subscribe to the 'Brick Journal' magazine, check out my review of HiTechnic IR-Link sensor and PF elements in the latest edition.

If you dont, you can still see a slightly cut down version online here

There is a really good video that goes with it that walks you through the steps. If you want to learn how to robotize your own LEGO TECHNIC creations with NXT, Power function motors and the new IR-Link, checkout the following video:





Saturday, October 6, 2007

Wall-e robot made with LEGO Wins the LEGO NXTLOG Building Challenge Champion award

No comments:
Wall-e, the LEGO MINDSTORMS NXT based robot that my children and I designed and built, wins the LEGO NXTLOG Building Challenge Champion award.

The entries from all over the world were judged for having the best robot design and robot performance.

Our autonomous robot was chosen by the judges to be the best amongst entrants for the NXTLOG Back to School Building Challenge. We did not expect to win with such high standard of entries - but the children, who put a lot of hard work into it were really happy to win the Champion Award.
The robot was inspired by the new Pixar-Disney film that is coming in a year's time, WALL-E. The film is all about a clean up robot:

The story goes "WALL-E is the story of the last little robot on Earth. He is a robot that his programming was to help clean up. You see, it's set way in the future. Through rampant consumerism, the Earth was covered with trash. And to clean up, everyone had to leave Earth and set in place millions of these little robots that went around to clean up the trash and make Earth habitable again..... " according to Disney.

Here is our Wall-e in action cleaning up the litter:



For more details, check out the LEGO NXTLOG entry.






Thursday, September 20, 2007

Using 'Infrared-Link' to control PF motors from MINDSTORMS NXT

1 comment:
In this post I want to talk about robotizing LEGO TECHNIC creations.

The picture below shows a bulldozer 'robototized' by adding a MINDSTORMS NXT brick and a NXT IR-Link (made by HiTechnic) to a TECHNIC bulldozer 8275.



Powered by the latest LEGO Power Function motors and controlled by the NXT brick via a HiTechnic 'InfraRed Link' Sensor, the above autonomous robot has a mind of its own!

You can see it scanning the environment with the Ultrasonic sensors and then flattening anything in its path using the Ripper and the blade in the video below:





Friday, September 7, 2007

What on earth is this?

3 comments:
This Bizarre looking creature was Constructed with LEGO MINDSTORMS NXT.


The three wheeled robot is extremely fast. The Windows Mobile device (the big phone shaped thing you see mounted behind the head) controls the NXT via blue tooth and provides a degree of autonomous behaviour.




Friday, August 10, 2007

Swimming Pool Insect Terminator (SPIT)

6 comments:
Today I want to share with you a floating robot my children and I been designing and building over recent weeks.
Swimming Pool Insect Terminator (SPIT) is a special self powered autonamous floating robot that locates and destroys small clusters of bugs that float on the top of swimming pools.
We used LEGO MINDSTORMS to build this. LEGO TECHNIC wheels are used as floats. The only non TECHNIC part that was used in this project is a can of inspect spray.
The robot uses the light sensor to detect the presence of insect cluster while the Ultrasonic sensor is used to avoid bumping into the side of the pool by telling the steering motor to turn. When the Light sensor detects a cluster of bugs it tells a motor to push the button on a can of Insect spray. Another motor is used to power the SPIT forward. The project was a success and we learned a lot from it – though there are still a lot of room for improvements. The rest of this blog entry explains the problem and our solution in more details.




Swimming Pool floating bug clusters

One of the most irritating things about our Swimming pool is the thousands of tiny floating insects that inhabit the pool. The insects form clusters on the surface and make the pool look dirty and uninviting.
They are resistant to the chlorine in the pool-water and it is almost impossible to get rid of. Because it stays on the surface it never gets sucked into the water filter system. You can’t even scoop them with an object (such as a stick), as they simply fly back into the water as soon as you scoop them off the water. When you jump into the pool they get all over your body and it is totally gross.
So the idea was to create robot that can find the clusters on the surface, spray them with a mild insect spray that paralyzes them, and drown them with a
paddle so it can be picked up by standard pool filter.


Bug detection - Insect cluster locater

To detect the clusters of insects on the pool surface, the light sensor is used. It identifies the presence of dark patches on water under the robot. It does this by reading the optical properties of the water the robot is traveling over using the MINDSTORM light sensor.
A lot of time was spent on identifying reliable threshold that can be used to minimise false spraying caused by floating leaves and reflection on the water. A plastic case full of floating bugs was used to calibrate the threshold value of the light sensor reading to trigger the spray.The robot continually monitor the light sensor while it travels around the pool. When the reading changes to the calibrated threshold indicated by the insect cluster (the trigger point), the NXT brick drives the motor that pushes the button of the insect spray can.The ultrasonic detector is not used for the bug location - it is simply there to detect edges and thus avoiding damaging the light sensor by bumping into the side of the pools.


Insect killing subsystem

(a) Automatic Insect spraying

Once the Light sensor identifies a cluster of insects, the NXT brick tells a motor to power a push-rod forward into the spray button of the spray can nozzle. The Light sensor and the spray can nozzle are separated by 10 inches (25 cm) - which makes up for the distance traveled by the robot on the water during the delay before the spray hits the bugs on the water. It took nearly a week of trying different approaches to push the spray can button, that drives the spray nozzle. Even now it needs some improvements - the TECHNIC rods bending under load sometimes.

(b) Insect drowning
The sprayed insect clusters then have to be drowned for them to be picked up by the pool filter. This is done by the dual action of the paddle wheel. As the sprayed insect cluster floats underneath the SPIT, the paddle wheel churns the water and the half dead insects gets pushed below the waters surface so they drown.



The video below shows the spraying mechanism in action - you can see the spray can button being pressed by the MINDSTORM motor using gear wheels and worm gears:


Buoyancy and stability

(a) stability:
Considerable effort went into making the robot as stable as possible in the water. To make the floating robot stable, a double 'A' frame based structure was used to spread the weight of the MINDSTORMS NXT and the spray can and to keep the center of gravity low. It was really hard to avoid making the whole thing top heavy - as we have to protect the electronics from the splashes from the wheel and any ripples from wind / pool filter pump.

(b) Buoyancy:
As for Buoyancy, at first the SPIT was going to stay afloat with 4 rubber Lego Mindstorm wheels. However, this did not supply enough buoyancy to keep the robot above the water so another 4 TECHNIC tractor wheels were added.During pool testing we added A ribbon of Polystyrene on the two sides provide failover if the LEGO wheels fail (e.g. by letting in water whilst on water). Of course it was not necessary as the SPIT was self buoyant - thanks to the big TECHNIC tractor wheels.



Propulsion and steering

(a) Propulsion Subsystem:


After some prototyping work it was decided to use paddle wheel type propulsion – which was inspired by the old steamboat. The position of the paddle wheel is important. The traditional steamboat had the paddle wheels either on the stern or the sides. To maximise stability we positioned these wheels in the middle. This way the rotating action of the paddle wheel doubles up in aiding with the drowning of the sprayed bugs as well as powering the SPIT. We used the 4 MINDSTORMS claws as the paddle - as it gave the best trust with least splashes - and it looked cool.





(b) Steering Subsystem:
The steering is controlled by a turntable powered by a motor. The orientation of the paddle wheels is determined by the readings of the Ultrasonic sensor mounted at the front of the SPIT When the Ultrasonic sensor detects the side of the pool. It tells the motor to turn the turntable and thus make the paddle wheel pointing to a new direction until the edge is no longer in range of the sonic sensor.

You can see detailed description of the floating system / steering & propulsion system in LEGO's NXTLOG web site. Below is the animated building instructions of the steering and propulsion system.









Programing

We kept the program as simple as possible - Two parallel beams of NXT blocks looping forever - one for insect hunting /destruction; the other for navigation and propulsion.









< -- Click on the picture to see the blocks in NXT-G

Field Testing

The video below shows the maiden voyage of SPIT in our pool. It then progresses to a a film of SPIT shot at night: we found the light sensor most effective in the absence of ambient light (i.e. night time) in detecting bugs. The light sensor uses its own light (the red light you see on the front of the robot in the film). During pool testing we added more wheels and A ribbon of Polystyrene on the two sides provide failover if the LEGO wheels fail (e.g. by letting in water whilst on water). Of course it was not necessary as the SPIT was self buoyant - thanks to the big TECHNIC tractor wheels.




Whats NXT?


We had so much fun making the floating robot and and playing with the MINDSTORMS stuff in the process. What is next? The project is complete but we have already thought of many improvements including:

  • Better stability by using wider frame and more tractor tyres
  • More accurate bug cluster detection by using the colour sensor (instead of the light sensor which only works best at night)

  • More robust spray can button pressing mechanism based on beams rather than rods

  • Incorporation of a Compass sensor and GPS sensor to make the scan of the pool more efficient
Warning: If you want to attempt a project similar to this, please exercise caution to ensure that your NXT / motors and sensors are not damaged by the water.

Also it is potentially dangerous to operate an aerosol can button with a motor - be cautious.





© 2007 BlueToothKiwi.





How do you Blog?

5 comments:

Well! I got myself a free Blog account at last. I have even given it a name. And the whole world can see my blog in blogspot.com. As of today, I am officially a blogger!

What now? I have no idea how to create a Blog. So I decided to investigate further to see what is available – starting with what Google Blogger / BlogsSpot provided:

(1) Use the free blog entry editor that comes with Blogger:

I did a simple blog entry today using the Google Blogger’s built in HTML post screen:

However, having used to working in smart client applications with rich functionality, I was struggling to get used to using the Web based editor. Where is my spell checker? Where is my auto correct? Where is my grammar checker? What about all the cool formatting I am used to in Microsoft Word? Why can’t I paste an image instead of first having to upload it first ? and so on...

(2) Write my own Content Management System:

Coming from a software background, my immediate answer to my above problems was to write my own content management system for Google Blogger that I could use from my Desktop. I used the .Net version of Google Blogger data API’s to do just that. This was easier than I thought... it was just a matter of downloading the Google API client library, a few lines of .Net code to authenticate and a few lines of code (see below) to submit the entry:

AtomEntry newPost = new AtomEntry();
newPost.Title.Text = "My first ever Blog post !!";
newPost.Content = new AtomContent();
newPost.Content.Content = "<div xmlns='http://www.w3.org/1999/xhtml'>" +
"<p>Woooo hooo. At last. I got my self a blog. Stay tuned for " +
" some really cool posts coming here relating to the stuff " +
" me and family get up to, my thoughts etc.</p>" + "</div>";

newPost.Content.Type = "xhtml";
newPost.Authors.Add(new AtomPerson());
newPost.Authors[0].Name = "BlueToothKiwi";
newPost.Authors[0].Email = "BlueToothKiwi@somedomain.com";

AtomEntry createdEntry = service.Insert("http://www.blogger.com/feeds/"
+ "BlueToothKiwi/posts/default", newPost);

But the thought of writing my own fully fledged CMS in 3 hours seemed a bit daunting – so I carried on exploring:



(3) Post my blogs directly from Microsoft Word 2007:

I wanted to explore the option of posting directly from Microsoft Word 2007. After playing with Word 2007, I found a ‘New blog Post’ option under new document on the main menu:




Pressing ‘Create’ gives you a choice of Blogging providers to choose from (including the Google Blogger):

Then there was a simple login screen to connect to the blogger. The Office dialog came back with a list of all my Blogs on blogspot.com to connect to – very impressive!!

Once you have completed editing your post, submitting is as easy as pressing the ‘Publish’ button:



I logged on to my blogger and checked out my posts to see if the post from Word 2007 made it. And sure enough it was there on the list of posts!! I was very impressed by now. A quick examination of the source showed it was OK’ish HTML:

<div class='post-body entry-content'>
<p><span xmlns=''><p style='text-align: center'><span style='color:#333333; font-family:Verdana; font-size:12pt'>Woooo hooo. At last. I got my self a blog. Stay tuned for some really cool posts coming here relating to the stuff me and family get up to, my thoughts etc.<br /></span></p></span></p>
<div style='clear: both;'></div>
</div>

However, I could not get the images to upload automatically from Word. It looks like Microsoft did not implement the Blogger’s image interface – so the only option I had was to upload it to my own server – which was not what I wanted:



I looked at various options – the best option was to use a free Photo album store on the net and use Word to embed the images. I looked at various options including MySpace and Google’s Picasa Photo Album. I was pretty surprised to find all my pictures I uploaded from the blogger account in the Picasa photo store! I figured out that both Blogger and Picasa used the same image store on the Google server!

Google Picasa was pretty easy to use – and I could use the same Google Login I created for the blogging to create an Album and upload my pictures.

The ‘link this photo’ option gave me the link to the photo on the Picasa photo store. I copied the link URL, cleaned it up and embedded the simple URL in the Word document as an HTML <img> tag..

The Category / Label button on Word was disabled – so I could not set it. And even more disappointing was when you published the content, Word automatically stripped the pictures. I decided that I could not use the Word option until we have direct picture publishing capability directly from Word 2007 into the Blogger image store.



(4) Use Google’s Docs and Spreadsheets – via email

After the partial success with direct publishing with Word 2007, I realised I needed an alternate strategy. I still wanted to stay with Word 2007 for editing – but find a way of retaining the images. I can live with putting the YouTube videos manually after the post.

So I saved the blog I created in (3) above in Word 97-2003 compatibility format (The new MS Word 2007 Docx format is not yet supported by Google) and uploaded it into my doc store in my Google ‘Docs and Spreadsheets’. The upload and conversion takes a few seconds.

Once you have published on the doc & spreasheet repository and have checked the conversion from Word format to HTML, you are ready to upload it to your Blog.

Before you can do that, you need to configure the Blog site settings (username / Blog name and password).

As long as you got a Word style of H1 heading applied to the main title in the original document, the converter retains the heading as the title and will be used as the title of the post. I have not figured out how to use Label / Category tags yet. The upload wizard did a pretty good job of converting the Word document into HTML – I was extremely impressed.

The thing that most impresses me about Google Docs and Spreadsheet is that you can actually email it to special email address they give you (with a complex address so no one else can use it). You can use this as a quick way to get a whole bunch of documents online at one time – with each attached document will be converted to HTML and appear as a separate document. .. And the title of each document will be the file name of each attachment.

So now that I got the blogging sorted, you would be seeing more blogs from me hopefully!

P.S. This blog was created in Word 2007, published using Google Docs and Spreadsheets without any edits in here.







Latest from The NXT STEP Blog