Alan Hart

web design… and other stuff

Alan Hart

Google’s New Sitelinks

August 17th, 2011 . by Alan Hart

Sitelinks have been around for a while but used to look like this:
Old Style Sitelinks

Now they look like this!:
New Google Sitelinks for Microsoft
Within Google’s new search hierarchy, sitelinks will now be full-size links with a URL and a line of snippet text, similar to regular search results. But Google has also designated a maximum number of 12 sitelinks per search result, giving pride of place within the page to the first search result.

The changes will roll out globally to all modern browsers, including Chrome, Firefox, and Internet Explorer 7 and above, Google said.

Sitelinks are useful to users as they may not be able to specifically identify where in a site they want to visit, so he or she merely types in the overarching domain.

“It turns out that sitelinks are quite useful because they can help predict which sections of the site you want to visit,” Daniel Rocha, a software engineer on the Google Sitelinks team, wrote in a blog post. “Even if you didn’t specify your task in the query, sitelinks help you quickly navigate to the most relevant part of the site, which is particularly handy for large and complex websites. Sitelinks can also give you a good overview of a website’s content, and let webmasters expose areas of the site that visitors may not know about.”

Google has also said that it is tweaking its search algorithm to accommodate the changes. “In addition, we’re making a significant improvement to our algorithms by combining sitelink ranking with regular result ranking to yield a higher-quality list of links,” Rocha said. “This reduces link duplication and creates a better organized search results page. Now, all results from the top-ranked site will be nested within the first result as sitelinks, and all results from other sites will appear below them.”

Facebook enable dislike button wall post scam

May 18th, 2011 . by Alan Hart

Another facebook scam:

Users will see a wall post, supposedly from a friend.

The wall post says:

Facebook now has a dislike button! Click ‘Enable Dislike Button’ to turn on the new feature!”

facebook enable dislike button wall post

This is quite clever and looks exactly like it might be a genuine add-on, the “Enable Dislike Button” link appears exactly where the “Share” button appears on regular posts.

If you click on the link, the same wall post will be posted to all your friends’ walls, meaning that more and more people will be tricked the same way.

This is a scam. No “Dislike” button will be added anywhere.

Many Facebook users have been suggesting for quite a while now that facebook have a “Dislike” button so this scam is probably going to fool quite a few people people.

Please let everyone know about this “enable dislike button” scam and ensure your friends understand that they should be cautious of posts like this put on their walls, even from if they come from their own friends!

If you, or anyone you know, has this message posted on their wall, you can either hide it or mark it as spam. If you mark it as spam it helps Facebook to hopefully become aware of and remove this rogue application.

Backup/Export Account Settings – Outlook 2007

January 31st, 2011 . by Alan Hart

On the pc, logged in as the user you want to backup settings for…

1. Start > Run > type ‘regedit’
2. Locate the following path in your ‘Registry Editor’
3. HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook

Now right click on the key “outlook” and select option: “Export” and save the .reg file to your desired location. You can run (double click) the same file on the new pc /installation at the same time as restoring your outlook pst. This will restore your old outlook profile with all your email accounts settings and rules. You will need to enter your password as Password is not stored in the .reg file for security reasons.

if you are unable to log in, for example cant boot windows or other failure you can access the registry by removing the system hard drive and connecting it to another computer.
Here’s how: how to access registry on another hard drive. If you use this method, before importing you will need to manually edit the .reg file using find/replace to change all lines with “HKEY_LOCAL_MACHINE/hivename” to “HKEY_CURRENT_USER/”

If you’re not sure or unclear on any of this, please comment and ask.

Access registry on another external hard drive

January 31st, 2011 . by Alan Hart

If you need to open a windows registry hive from an old/external/slave hard drive that has a windows installation on it.

I recently had a machine go down at work, wanted to get the user’s email up and running asap so i attached their hard dirve to my laptop using a usb to SATA adapter and exported their outlook account settings, which are stored in the registry and imported them into a new pc.
See my article: how to backup outlook 2007 account settings.

1. Open REGEDIT
2. single click to hightlight the HKEY_LOCAL_MACHINE branch.
3. in the menu click FILE and choose LOAD HIVE
4. browse to the location of the old registry hive.

where “x:\” is the drive of the slave/external hard drive…

“user” is located in x:\docs and Settings\user\NTUSER.DAT
make sure you open upper case “NTUSER.DAT” and not “ntuser.dat” if it exists.

other registry hives are located at x:\windows\system32\config

if you’re not sure or unclear on any of this, please comment and ask.

Updated: Facebook chat emoticons, emotes and smilies / icons

January 27th, 2011 . by Alan Hart

Related articles:
- Change Facebook news feed to give it the old facebook look
- Facebook chat emoticons, emotes and smilies / icons

Want to add smilies to your Facebook chat conversations?

Here are the obvious (and maybe less obvious) smilies / emoticons / emotes that you can send to your friends in Facebook chat!

Simply type what’s next to the smiley and it’ll show up when u send it to your friends in Facebook chat!

smile = :-) or :) or :] or =)

frown = :-( or :( or :[ or =(

tongue = :-P or :P or :-p or :p or =P

grin = :-D or :D or =D

gasp = :-O or :O or :-o or :o

wink = ;-) or ;)

glasses = 8-) or 8) or B-) or B)

sunglasses = 8-| or 8| or B-| or B|

grumpy = >:( or >:-(

unsure = :/ or :-/ or :\ or :-\

cry = :'(

devil = 3:) or 3:-)

angel = O:) or O:-)

kiss = :-* or :*

heart = <3

kiki = ^_^

squint = -_-

confused = o.O or O.o

upset = >:O or >:-O or >:o or >:-o

pacman = :v

Facebook Curly Lips Smily / Emote curly lips = :3

facebook robot emoticon robot = :|]

facebook Chris Putnam emoticon Chris Putnam = :putnam:

facebook shark emoticon Shark = (^^^)

penguin facebook emoticon Penguin = <(“)

NEW!

42 emote = :42:

You can also change the text style:

Bold Text Bold Text = *Bold Text*

Underlined Text Underlined Text = _Underlined Text_

Bold & Underlined Text Bold Text = *_Bold and Underlined Text_*

This is a list of all currently known Facebook chat emoticons.
I’m sure Facebook will be adding more emoticons in the future and when they do i’ll update this post.

windows 7 shutdown without installing updates

December 16th, 2010 . by Alan Hart

There have been loads of times when updates are ready but i want the computer / laptop off and ready to move asap (to go home from work and take my laptop with me). was so annoying having to wait for windows to update when i didn’t want to.

I have found a way to shutdown windows 7 without being forced to install the updates…

Run regedit (search in start menu)

Under HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
if the keys “WindowsUpdate” and “AU” aren’t there just add them (right click > New > Key)
right click > New > DWORD
name it “NoAUAsDefaultShutdownOption” double click it and enter value 1.

the “shutdown” button will never be changed by Windows Update from your default action to “shutdown and install updates”.
If updates are ready to be installed “shutdown and install updates” is instead displayed in the [>] menu to the side of the shutdown button

On my system it happend almost as soon as the registry value was added, but you may need to reboot before the change is applied.

Also important is “NoAutoRebootWithLoggedOnUsers”, also a DWORD in the same location with value 1. This stops Windows from rebooting automatically if a user is logged in or you leave it working overnight for example.

Compare CSS Stylesheet Tool

December 15th, 2010 . by Alan Hart

CSS is a standard used to define Web site presentation styles.
When a Web designer creates a CSS stylesheet for a site, he will evolve it through multiple versions with incremental changes.

This tool provides a solution that allows a web designer to clearly see the differences between two different css stylesheet files (classes only, not values)

Compare CSS Stylesheets

Description
A webpage that takes two CSS files and compares the classes contained in both. Resulting differences are highlighted in red.

Usage:
Click the “Compare CSS Tool” link below and simply upload the css files you want to compare and click the compare button.

Compare CSS Tool

Don’t want to sign into messenger when using hotmail?

December 7th, 2010 . by Alan Hart

I discovered that when using hotmail on my new Windows 7 laptop it automatically signs me into msn / live messenger. After trying to find a setting somewhere to disable this feature i have finally found it (and it’s really very easy)…

I discovered that all you need to do to stop messenger logging in every time you check your email, just log into hotmail as usual, click your name in the top right, or open the messenger list and click “Sign out of messenger”.

How to stop MSN / Live Messenger loading in Hotmail

This will permanently sign you out of messenger in hotmail, and only hotmail.
If you are logged in on the normal desktop app you will stay logged in.

If you sign out / close your browser and sign back in to hotmail, messenger won’t load leaving you free to check your emails in peace!

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.

« Previous Entries Next Entries »