I recently had a need to grab a long list of images used in URLs, along with their dimensions and aspect ratios. One tricky thing with this was converting image sizes into ratios in a Perl script — after a quick Google I found a useful post here about converting decimal numbers to fractions in Javascript but couldn’t find anything for Perl.

So I’ve shamelessly copied the script straight into Perl which was super easy:

In context it looks something like the script below:


It’s essential for content-focused sites to keep track of how different types of content are performing. One of the more important ones of these, especially following Facebook’s latest publisher referral traffic apocalypse is evergreen content.

It’s not immediately obvious how to do this in Google Analytics, as there’s no out-of-the-box…


Our rough sketch of the problem we were trying to fix

The Facebook Journalism Project held its first UK hackathon last week, and Trinity Mirror sent along a team of developers and journalists to participate.

We did a little preparation before the hack day, but had no solid idea of what to work on. …


Our editorial analytics platform HiveAlpha makes writers’ lives easier, this is how…

HiveAlpha’s content streams view

I wrote previously about how search drives the analytics data in our in-house tool HiveAlpha.

In this post I’ll go into more detail about how the platform helps journalists and editors when planning, writing and assessing the performance…


Using search to augment analytics for news websites

At Trinity Mirror we publish thousands of articles every day, across dozens of websites. Working with this volume and velocity of content is a challenge.

Traditional web analytics has a natural bias towards the top-performing content. While this works for relatively static sites, on a news website it can mean…


The trend towards a faster mobile experience as pioneered by projects such as Facebook’s Instant Articles, Apple News, and Google’s AMP Project have helped to push the publishing industry towards a back-to-basics approach to articles.

Note: As the publish date of this piece suggests, this was indeed an April Fools’…


Google’s Accelerated Mobile Pages project is a bold attempt to reshape the way publishers serve their visitors on the mobile web.

Much has been written about the AMP project, its potential, challenges and limitations. …


SECrawl_-_Enterprise_Website_Crawler__built_on_search

Does anyone need yet another website crawler?

There’s no shortage of crawlers out there, and for most people, my web-based SEO crawler, Screaming Frog or URL Profiler is more than enough.

There is a gap though — no two websites are alike, yet we look at the same metrics and…


panda

In the age of Google’s Panda algorithm, fixing issues with thin and duplicate content is more important than ever. …


SEMalt is well known as a major referral spammer who clog up the analytics of a lot of small and medium sized websites with fake traffic. Annoyingly Google Analytics seems to be pretty bad at filtering it out.

There’s a quite a few posts from miffed webmasters about SEMalt’s activities…

Rob Hammond

PS Director, EMEA at BrightEdge. Technologist & SEO

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store