381 Followers
·
Follow

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 way to track an article’s publish date.

There are a number of ways to do it, all of which involve setting up a custom dimension/metric. …


Image for post
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. After a brief discussion over breakfast, we settled on trying to solve a fairly simple problem:

The feedback forms we use at the bottom of articles are effective for gathering stories from readers, but they don’t work on Facebook Instant Articles or AMP

However, as we looked into the processes behind this method of gathering reader feedback, and plotted out the workflows with editorial members of the team, we came across deeper…

About

Rob Hammond

PS Director, EMEA @ BrightEdge

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