Make sure Jetpack G+ publicize settings work for you.

Just a quick post covering the G+ sharing in Jetpack publicize settings, but it caught me out at the weekend, so I thought I’d share in case anyone else has done the same thing.

When you set up Jetpack publicize you can connect a number of different networks, including Google+. I’d done this for my new photography blog, hosted on wordpress.com. (You find this setting under Settings>Sharing there.) And then I noticed that when the posts were being shared, they were marked private, and were going to a limited audience.

It turned out that when I’d set it up, I’d left it at the default G+ setting, which was My circles, instead of opting for Public.

So in this screen:

jetpack publicise settings

I hadn’t gone into the dropdown alongside where it said my circles and changed it. I disconnected, and reconnected, and this time made sure I went for public.

There can be reasons for sharing just to your circles on G+ but when you’re auto sharing, you probably do want it to go as wide as it can. Plus if a post is shared to circles and someone goes to reshare, they will get a warning about limited audiences, which might put them off. Personally, I’m going for sharing as widely as I can on that auto share, if I want to fine tune, I can do that when I share manually.

Hope that’s a helpful tip for you, if it is, please share it on!

How to choose a host for your shiny new wordpress website.

So, you’ve listened to the talks on self hosting your website, you’ve read around on the issues that using wordpress.com or blogger or other free systems might imply and you’ve decided to take the leap.

You know you need a domain name, and a host. But what are those things, where do you get them, and what do they mean?

Domain names

The domain name is the bit that you type at the top of your browser, the person friendly word based address for your website. (A more technical explanation of all of this can be found here.) You buy it from a registrar, and I tend to recommend that you use a registrar separate to your host, because if it all goes pear shaped you don’t want to be trying to transfer domain names as well as all your files. Personally I use lowcostnames – they are reasonably priced, and don’t sting you on renewal.

Then it’s time to look for a host.

Hosting

When you’re just starting out, you don’t need a dedicated server (the machine that all the actual files sit on), shared hosting will be fine. This just means that you are using a server that lots of other people use too, and that you are sharing the IP – there’s some funky software that keeps all the sites separate both in terms of people viewing it, and in terms of you managing it at the back end.

You won’t need a huge amount of storage space to begin with – because you are optimising your pictures for the web before you upload them, aren’t you? And you won’t need a massive amount of bandwidth (this is how the traffic to and from your site is measured) until you’re seeing a reasonable number of visitors.

Personally, I look for CPanel as the hosting interface – it’s well structured and has everything you can need. It also (usually)provides a one click installation for wordpress, meaning that your life stays simple and you don’t have to start installing via ftp (which is not that difficult, but just adds to the stress levels when you’re starting out). Do check that the host you are looking at does provide this though, it has been known for people to turn it off.

Some recommendations (which include affiliate links – please see my affiliate linking policy if you’ve any queries about this):

TSOhost – I haven’t used them personally, but I know a lot of people who have and seem very happy. Use code blogfest to get 10% off (not sure whether that applies to their lowest priced package).

EUKhost – we’ve been recommending these people for around 10 years, and not heard any complaints.

ezpzhosting – we have a server here, and they are excellent.

You can also check out a variety of webhosting review sites – be aware that many of the links on those will be affiliate links as well.

Once you’ve got the domain name and hosting sorted out, and pushed your one click button, the next step will be making your site look pretty – coming soon.

Twitter cards for blogspot users

I’ve previously written on implementing twitter cards on wordpress and in a comment on that post was asked if it could be achieved for blogger.

The answer is of course yes, and I found a number of articles claiming to achieve it, but none really seemed straightforward to me, so here’s my own recipe.

(To recap, a twitter card is a tweet with some extra bits on it. Like this one. This is a twitter card set up against a blogspot blog, using the instructions below.)

Header code.

You need to put some code in the header of your template.

I’ve put my snippet right before the closing tag.(click to see bigger)

editing template in blogger

My code looks like this:

Two points
1) Change the @YOURTWITTERNAMEHERE in this code to your own twitter name.
2) This code is relying on you having set a metaDescription on each post. You should be doing that for search engine friendliness reasons (I’m assuming you want to be friendly to search engines anyway.)

If you don’t have this switched on, this twitter card configuration won’t work.

Turning on metaDescriptions

To turn metaDescriptions ON you need to go to Settings> Search description and enable search descriptions.

enable search description

Then when you’re editing, fill it in on the left.

search description

Validate your new twitter card

After you’ve done all this, you’ll want to check that your card validates.

Go to the Twitter card validator on twitter itself and use the try card section. Or if you’re feeling brave, just skip to validate and apply – filling in the url of a post you’ve made that has a description and everything else.

Once you’re happy with how it validates, you have to apply to twitter for the code to actually work – in my experience this takes minutes. There are of course other twitter cards as well as summary cards, you’d have to tweak the code above if you want a different one, if you do that, please do let me know!

How to get a new twitter widget to fix that broken tweetstream.

Twitter API upgrade leads to broken twitter widgets

At the end of last week, Twitter upgraded API from 1.0 to 1.1. (API is how external sites link to twitter’s code.) The result was that lots and lots of tweetstreams on blogs and sites around the internet broke.

It’s likely that if you’re in that situation, you’re hoping that a developer is just going to roll out a fix, you’ll press an upgrade button, and all will be well again. Sadly, that’s not the case. The new design means that you’ve got to create a twitter app to make most plugins work, or your developer may need your twitter login to do it for you.

The twitter widget – a simpler option

There is a simpler option. Remove the plugin/ broken widget, and get yourself a shiny new twitter widget. No log in needed, and all customisable.

Pop over to twitter here and fill in the settings.

create twitter  widget

There are some options you can use to customise your code.

The ones you are most likely to want are:

data-theme=”dark” – light! Always light! (The default is light, so if you want light, you don’t need this bit at all.)
data-link-color=”#cc0000″ – probably nice to set this to be the same colour as the navigation links on your site?
data-tweet-limit=”3″ – personally I think 5 is a nice number.

But I don’t want a widget!

For wordpress obviously there are a number of plugins. Some of them, including the one I’ve been using based on the Genesis framework, haven’t been updated yet. The drawback is that even if you use them, you have to create a twitter app, which means going to twitter, and doing set up, and putting in your user details. By the time you’ve done that, you might as well do the widget instead. The widget solution is actually more straightforward, and isn’t affected by rate limits, whereas I think apps are.

What do you do with your widget code? You need to paste it into your sidebar. For wordpress I’ve used a text widget which takes html, and that’s worked fine so far.

As always, do check out the terms and conditions of use of this sort of thing – for example, while embedding a single tweet is fine, it looks to me that a conversation with interspersed comment is not (see Display Requirements, point 6), which makes me wonder how come storify is still running. But there you go. Enjoy your widget!

Twitter cards – what they are and how to integrate.

Twitter cards are the latest upgrade to twitter that allows you to add extra information to your tweet when sharing a link. They come in a number of different formats – the one that is most likely to be useful to a business or personal blog is the summary card, which adds a headline, excerpt and pic. Big platforms like wordpress.com have already implemented cards for their users – but it’s easy to do if you’re self hosted as well.

Still not sure what they are? Here’s an example – my first tweeted article from technology solved that includes a twitter card.

The card gives you that extra bit under the 140 characters, and hopefully makes your tweet that little bit more enticing to encourage click through. You’ve probably seen them on twitter from newspaper articles at the very least.

As you might imagine, there are a number of different ways to implement them for your site. Yoast’s WordPress SEO has a twitter section under social if you’re using it, or you can go for a standalone plugin that just does the card integration, which is what I’ve opted for this time, using Twitter Cards.

The plugin doesn’t require any set up, but you do then go to validate it at twitter itself. I was a bit dismayed once I’d filled in all the fields to get a message saying I’d get feedback in a few weeks – but being the impatient sort, I tested it anyway, and it worked fine.

Big hint: twitter cards apply to individual articles, *not* to your home page. If you look for the markup in your homepage you won’t find it, and if you try to validate your home page it will fail. Work from a post within your site. (There, I’ve just saved you the ten minutes I wasted doing it wrong earlier!) Also, it seems that short link tweets from the jetpack publicise don’t get the card associated with them, possibly because it’s not showing the validated domain?

And that’s about all there is to it. So off you pop and give it a whirl, and let me know how you get on. If you found this article useful, don’t forget to follow the blog either via email or on G+.

The absolute basics of SEO.

basics of SEO wordcloud

There’s an awful lot of nonsense spouted about search engine optimisation, as if it’s a difficult topic. It’s not. Here are the basics of SEO as I see them. Your mileage may vary.

A post should be 300-500 words. Good content is written for people, but works for search engines too. A good post summarises the topic in the title, and in the first paragraph, talks about in the main text and summarises in the final paragraph. It’s the tell them three times principle – tell them what you’re going to tell them, tell them, tell them what you told them.

Stick to the point – don’t wander or go off topic. This gives you naturally keyword rich text. (If you’ve got something else to talk about, write another article!)

Use a good platform, like wordpress, which lays the article out well for you. You can use a plugin like wordpress seo from yoast, which will check your text for you and make sure you’ve got the words you need in the right places. WordPress also promotes good site navigation, allowing your readers, and visiting spiders to find all your content easily.

Lift relevant content into your current article by deep linking to related articles. This promotes your authority as having a bank of material on your topic.

And after that, it’s about the promotion, which is where the social media and social search is increasingly coming in. You need to set up authorship, so that search results have that smiling face in them. Brands/ businesses probably also ought to have a page, (facebook and g+) so that they can have a unified presence, but authorship is about individuals.

There’s also something possibly coming in about author rank, which is about authority of that author, but that’s not confirmed yet, so may or may not be worth worrying about. If you’re doing content building and authorship well, author rank should flow naturally out of it.

People will tell you it’s all about the backlinks. Once upon a time that might have been the case, though that can be argued. It’s increasingly less so. Good content will promote inlinks and sharing, which will do the same thing anyway.

So there you go. The basics of SEO coming down, as always to good content, presented well.

CSS Tip: Absolute Positioning Inside Relative Positioning

I was having a little problem with styling a WordPress/Genesis Author Box. The normal layout is that there is an avatar in the top left hand corner around which the text flows- like this:

author-box-1

However, what the client wanted was for the all text to be indented, in a neat column to the right of the image, like this:

author-box-2

Now, my first reaction was that I would need to edit the code which generates the author box, so that the image was wrapped in a block level element, which would then push the text across as required… or something like that. That is a fairly complicated thing to do requiring edits to functions.php and completely disproportionate to what is a pretty minor layout change. I braced myself for the labours ahead.

Then I came across a short article called Absolute Positioning Inside Relative Positioning at CSS Tricks. As the article says – “To some, this is obvious. To others, this may be one of those CSS “Ah-ha!” Moments.” It was for me – I didn’t know you could do that!

The point is as the article says “A page element with relative positioning gives you the control to absolutely position children elements inside of it.”

In my case, restyling the author box took just a couple of minutes and two lines of CSS:

.author-box div {position:relative;margin-left:90px}
.author-box img {position:absolute;left:-90px}

The first line moves all the box contents 90px to the right, the second moves just the image 90px to the left. All done!

How to improve your page load speed using pingdom.

Why would you check your page load speed in the first place?

If you’re like me, you hate hanging around waiting for a page to load. So have you considered checking how speedy your own blog is? There are some simple tests you can do to check what’s going on – one resource I’ve used is called pingdom, and it highlighted a quick and easy fix I could do that improved my page load time.

I tested my lovely personal blog Making it up – it’s quite a busy site and so I think it’s important that’s it’s reactive.

First test result

Speed test result 1

Speed test result 1

Not bad, but I might be able to do better. So I check through the results and find a warning.

missingfiledetails

Take action

I’ve got a missing file – icon-dot.png. And as it’s called from my theme it’s going to affect every page on my site. Not good. Very easy to fix though – I go and look for it and put it back where it should be.

And retest.

speedtest2I’ve gone up two percent against the rest of the test base. Dropped my load time from 2.51s to 2.36s. Not a huge improvement, but if you’ve more than one problem you could easily get a much more exciting result.

Just to confirm:

filedetails

That’s the miscreant file, returned to its proper position. You can see its little load bar is looking much better.

Pingdom is a great tool for testing out the page load speed of your website – and often you can find little problems, easy to fix, that will make a big difference.

(To be fair, I’d already done a variety of other interesting improvements to help with load time, but I’m letting them bed down properly before I write them up. You’ll probably want to check back to see how I get on – why not subscribe to my RSS?)