A smoke machine ensures the cow emits its gas at set times

The bovine backside has been attached to the side of the Rowan Tree pub in the city's historic Old Town.

It lifts its tail and shoots out a cloud of white smoke at passers-by throughout the day.

Pub landlord Norrie Rowan, a former Scotland international rugby star, said the cow was becoming as popular with tourists as nearby Greyfriars Bobby.

It was installed on the side of the pub earlier this year, but the mechanics that allow it to break wind at 1100 GMT, noon and 1300 GMT are a new addition.

A dry ice machine ensures the flatulent beast is regular and helps locals keep track of time in a similar way to the city's famous One O'clock Gun.

Mr Rowan said the cow was a bit of fun that had already become a popular landmark in the Cowgate area of Edinburgh.

He added: "The cow is already famous around Edinburgh and I get hundreds of tourists coming by and taking pictures of it."