Alan Hart
web design… and other stuff

Alan Hart

Change Juitter Time and Date Format

June 9th, 2010 . by Alan Hart

As you can see in the sidebar on the left i am using Juitter to retrieve my twitter feed, I didn’t like the default juitter date format because it’s rather long (“ddd,dd mm yyyy hh:mm:ss +0000″)

Here’s how you can reformat the default juitter time and date format…

Just insert the code below into the “jquery.juitter.js” file, underneath the line “var tweet = $.Juitter.filter(item.text);”

// Re-format Date/Time
//get Tweet date
var d=new Date(item.created_at); //Default date/time is when the tweet was published
var tweetdate=d.toLocaleDateString(); //rewrite date in a nicer way
//get Tweet time
var t=new Date(item.created_at);
var tweettime=t.toLocaleTimeString().substr(0,5); //rewrite and remove seconds
//pull it together
var timestamp=”"+tweetdate+” at “+tweettime+”";
// Reformat Date/Time

Then in the few lines below this newly inserted code (the code that generates the HTML) replace “item.created_at” with “timestamp”

Simple!

main date conversion taken from: http://www.ibrii.com/n/f317z

Some useful web design links

June 8th, 2010 . by Alan Hart

Here are some geeky/webdesign thinga-ma-bobs i’ve stumbled across/used recently:

Regular Expressions Cheat Sheet

a very handy quick reference guide for regular expressions, including symbols, ranges, grouping, assertions and some sample patterns for beginners.
http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/


CSS Transparency

used on this site so you can see the background image behind content on smaller screen resoltions
Transparency is one of those weird things that is treated completely differently in all browsers.
don’t forget to read the comments at the bottom of this article too:
http://css-tricks.com/css-transparency-settings-for-all-broswers/


Twitter “Retweet” Button

The Retweet button is for website and blog publishers that want to encourage their audience to retweet their content on twitter.
Here’s a really smart bit of code using one simple piece of JavaScript to give up to date tweet counts and shorten your title and link for the retweets. Best of all it will work on any web page, anywhere!
http://help.tweetmeme.com/2009/04/06/tweetmeme-button/


Dezignus.com

Vector art, icons, brushes, textures, wallpapers, anime, girls, tutorials… nuff said!
http://dezignus.com/

if you found any of these useful, please tweet/share.

iamnotaspambot on Twitter

May 25th, 2010 . by Alan Hart

Created a new twitter user and unique hashtag @iamnotaspambot and #iamnotaspambot.

Hoping people may adopt it and maybe even get a trend going. Will have to wait and see how it does.

If you’re on Twitter why not give @iamnotaspambot some love using the hashtag #iamnotaspambot and he will try and give you a little bit of twitter love in return.

Comments on this post are moderated so may not appear instantly.

Modelio Photo Retouching

April 30th, 2010 . by Alan Hart

Have recently updated the Modelio website. Have changed the design slightly, and now have user registration and photo uploads for registered users.

Modelio photo editing offer the following and much more:

Cleaning backgrounds (e.g. removing objects / people)
complete background removal.
Fixing digital camera photos that have weird colouration
Level Adjustment
Enhancing slightly blurry/fuzzy images
red eye removal
teeth whitening
stray hair removal
spot/blemish removal etc etc.

Check it out here: www.modelio.co.uk

Become a fan of Modelio on Facebook
Also follow @Modelio on Twitter and add Modelio on MySpace.

Facebook too slow? try Facebook Lite, the low-fat facebook

January 28th, 2010 . by Alan Hart

This lite version is now now longer available, Facebook decided to remove it.

That’s right, Facebook Lite, a stripped-down version of Facebook that shrinks Facebook down into its core features, making for a much smoother facebook experience.

This new version of the site is much more simple and cleaner in appearance and appears to be a better site for Facebook newbies or for anyone who finds the current site “too much” or noisy. It also does away with the old-school Facebook apps, which is just as well for the newest Facebook-connected services. (although farmtown/farmville addicts will still have to use full-fat facebook to harvest and plow!)

The major visual change in Facebook Lite, compared to the full-fat Facebook “Classic,” is simply that most of the the navigation and info page that was on the left of the page is now gone. The user is not distracted by the mostly superfluous details that resided there. The input box is also gone, replaced by buttons (Write, Post Photos, Post Video) that pop down the actual input forms only when needed.

The facebook chat feature is in there too, it’s not embedded in the facebook page but as a separate “pop-up” window instead.

Anyway enough from me, check it out for yourself… lite.facebook.com

…enjoy!

Facebook UnNamed App is not a spybot!

January 27th, 2010 . by Alan Hart

People are following the usual activity of updating their facebook status to inform others of scams etc but again by trying to warn others they are in fact doing exactly what the “scammers” want.

Here’s the latest, an “UnNamed App Internal SpyBot Hoax”…

ALERT >>>>> Has your facebook been running slow lately? Go to “Settings” and select “application settings”, change the dropdown box to “added to profile”. If you see one in there called “un named app” delete it… Its an internal spybot. Pass it on. about a minute ago….i checked and it was on mine.

it is NOT a virus or spyware, it is your “Boxes” tab, and Facebook is going to be getting rid of it soon, you can remove it yourself from your edit applications list if you want… not sure if Facebook will be replacing it with something else yet.

“Due to a small bug, an application listed as ‘Unnamed App’ appeared in some users’ Applications Settings,” spokeswoman Malorie Lucich said in an e-mail to CNN. “No user accounts or data were lost or damaged.”

Source: http://edition.cnn.com/2010/TECH/01/27/facebook.bug/

Please also be aware that when searching for this on Google I ended up at a page which wil tell you that your pc needs a scan (this is malware/spyware). So please be careful, it seems that whoever started this facebook “status” is just trying to get people googling and direct you to this harmful page.

Google Maps Streetview StoneHenge

December 17th, 2009 . by Alan Hart

I might be a bit slow on this but thought it was interesting enough to blog about.
Google have gone off-road with their StreetView camera and captured Stonehenge.

 Google Street View goes off-road to add Stonehenge  Photo: GETTY

Google Street View goes off-road to add Stonehenge Photo: GETTY

See stonehenge streetview below or View Streetview Stonehenge outside of the blog.


View Larger Map

Street View allows web users to view place as if walking along the street, exploring 360-degree images recorded from eye level.

But its cameras have also captured some embarrassing moments, including a man entering a sex shop and another being sick in the street.

The application allows users to access 360-degree views of roads and homes in 25 British towns and cities and includes photographs of millions of residential addresses, people and cars.

It has been hailed as a helpful tool for home hunters and tourists.

Google Sesame Street 40th Anniversary Logo

November 8th, 2009 . by Alan Hart

So, this year marks the 40th Anniversary of Sesame Street. I used to watch it mostly when i was at school and occasionaly college.
I love the show and was therefore very happy to be greeted by some of my favourite Sesame Street characters on Google’s Logo this week. My absolute favourite being Elmo.

Here are all the Sesame Street Google logos from this week:

Big Bird Google Logo – Wednesday 4th November
Big Bird Google Logo
More about BigBird

Cookie Monster Google Logo – Thursday 5th November
Cookie Monster Google Logo
More about Cookie Monster

Bert & Ernie Google Logo – Friday 6th November
Bert & Ernie Google Logo
More about Bert and Ernie

Oscar the Grouch Google Logo – Saturday 7th November
Oscar the Grouch Google Logo
More about Oscar the Grouch

Elmo Google Logo – Sunday 8th November
Elmo Google Logo
More about Elmo

The Count (Count von Count) Google Logo – Monday 9th November
The Count (Count von Count) Google Logo
More about The Count

Sesame Street Ensemble Google Logo – Tuesday 10th November
Sesame Street Ensemble Google Logo
More about Sesame Street

Change New Facebook News Feed to give it the old facebook look

October 26th, 2009 . by Alan Hart

Share this with your friends on Facebook

If, like me, you don’t like the new style Facebook Home / News feed why not change it to display only status updates, like the old facebook!
(this also get’s rid of those annoying “Bored Friend took the blahblahblah quiz” posts etc)

here is how to get the old facebook look:…

When logged into facebook Click “Home”

Look to the top left menu and click on More…

facebook-news-feed-1

Then drag “Status Updates” to the top…

facebook-news-feed-2

After dragging to top, click on it. It’s now your default facebook newsfeed, just like the old facebook.

Simples!

Share this with your friends on Facebook

Shocking Video Of Train Slamming Into Pram!

October 16th, 2009 . by Alan Hart

A six-month-old boy has miraculously survived a train slamming into his pram after it rolled off an Australian railway platform.



The collision happened as a city-bound service pulled up to Ashburton station, in a Melbourne suburb.

CCTV footage shows the boy’s mother taking her hands off the three-wheeler pram’s handles and failing to notice as it slowly edges towards the tracks.

The mum suddenly spots the baby carrier picking up speed and she rushes with outstretched arms to try to save her young child.

But the pram tips over the edge of the platform and the baby slams onto the tracks head first.

Before the boy can be rescued, the train powers past, horrifying the mother and other waiting passengers.

The footage ends with the frantic mum and a man running up to the driver, who has just stopped the 250-ton vehicle.

Australia’s Herald Sun said the train ploughed into the pram at about 35km/h, dragging the child along beneath the front carriage.

But the boy was hauled from the tracks with little more than a bump on his head.

Paramedic Jon Wright said the six-month-old just “needed a feed and a nap”.

“Luckily, he was strapped into his pram at the time, which probably saved his life. I think the child’s extremely lucky,” the paramedic told the paper.

“Fortunately the train was slowing as it pulled into the station.”

Rail firm Connex is to investigate how the pram rolled off the platform and the train driver will be offered counselling.

Sky News

© 2009 Sky News, all rights reserved.

« Previous Entries