Site updates, and directory editors
This thread contains code updates for this website and recent releases. media.info normally sees a code release every few days, with some periods of intense coding.
This thread is also here for our directory editors, an excellent bunch of volunteers who keep the data updated.
We've switched from Cloudflare to Amazon Cloudfront today for our CDN (which includes the main media.info).
We've also made some small changes for logged-in users with respect to caching, which has enhanced security and should also enhance user experience when logging in for the first time.
Edits of the broadcastURI for some countries are now locked to superusers only, to ensure client data is uncompromised. I'm the only superuser, in case you were wondering.
An amount of stylesheet changes and tweaks. Font sizes are now more consistent, underlines have been removed from links (and all links placed in bold) for a clearer look and because it is no longer 2003, and some letter-spacing has been tweaked. Additionally, line-spacing has been corrected in some views, notably the people pages. This is a work in progress. There may be some inconsistencies between pages for users who are not logged-in: we're not rebuilding caches for this work, but all caches will empty in 7 days. (Logged-in users bypass our cache for all HTML pages).
We're now augmenting our jobs with some posts directly from media company websites. After a short period of automation - which wasn't a good plan - these positions are now manually included only if relevant to our audience. Also, jobs pages are now more correctly marked-up with schema.
Third party news now automatically forwards through after a branding page which also collects statistics for our daily email. No more ugly landing pages with "Read this story". You're welcome.
Earlier, as you may have experienced, we significantly improved page response times. In June, pages took around 850ms to load; we've been under 250ms for the whole of August, and sub-200ms since August 9th.
Editorially, the radio directory now includes all major radio stations in French-speaking Belgium, and many larger stations in France and Monaco. Improved navigation is now in place from media titles to country-specific indexes.
Search results are upgraded to avoid repeat results, particularly with place names.
The CSS styles no longer include comments nor white space, reducing the page weight (we include our CSS in every pageload of AMP pages). That should result in faster pageload.
Photographs in articles have always been accompanied with a credit; they now have a credit in the image itself (more visible on hover). Facebook is also being supplied with ALT text for images in article pages.
Today's Australian metropolitan radio survey figures are ingested.
UK: Bauer City 3's - I'll go and merge these back into The Hits.
Aus: I'm going to work on the listening figures shortly to allow stations to be in more than one area (particularly useful for Brisbane/Gold Coast). That will enable us to merge Talking Lifestyle together as one, which is the policy here (split news/ads, but otherwise no bespoke content).
This is a place where directory editors can have a chat. Very aware that there are quite a few folks doing some great work as directory editors, and it would be useful to have a place where we can chat.
Noticed that new Facebook pages aren't adding themselves to pages successfully, despite the API stating otherwise.
Yes, I've spotted that, Jake. Let me see what I can do, though I'm going to be super busy over the next few weeks. (Gives me something to clear my head though)
Quick update on Facebook. The SDK I use to get data from Facebook was deprecated in, um, 2015. Looks like bits have now stopped working - it returns the page ID, but nothing more; so the script doesn't know what to do and silently fails.
So, I need to get the new Facebook SDK installed, but annoyingly that's a number of breaking changes to how the SDK works. It needs a little more time than a snatched ten minutes in a Sydney coffee shop. I hope to get that sorted shortly.
What's a little strange is that the old code partially works on the Facebook update script, which I don't quite understand - but in any case, it's clearly time to update.
Facebook should now work again - both from the URL-added new titles, and from the edit pages. I've also updated API calls from the cron job that keeps this stuff updated.
Until James says otherwise, can I suggest we don't authorise any edits from Duncan Williams. Seems to be a fantasist.
A short reboot earlier, to move to a few bits of updated server architecture (which should be faster still). Also, the Australian GFK figures for survey 6 are now ingested; and selected Belgian radio stations now have complete FM broadcast data and links to RadioPlayer.be (broadcastURI edits are now blocked for Belgian stations due to client data requirements).
The Facebook updater had failed, resulting in a few services (news tweets and the Twitter checking system) also not firing. I've fixed that.
New feature! You can now edit people's existing job titles. Hopefully the UX is clear that this is for editing and not creating/deleting. Also - I've fixed the bug where anything after a comma in a job title was ignored.
Plus, if you edit someone, and someone else comes along later and edits them, you'll get an email. (We do this for media titles, but not people).
Bug fix: the "more people on media.info" (which is actually geographically targeted, with different people shown for different editions) is now de-duplicated.
Great addition James - have cleaned up the page for John Laws, who was a few decades early for what used to be listed as KIIS 1065 (but was actually its pre-cursor, 2UW).
One thing is that it doesn't seem to interact with the group: tags properly - for example, Lui Zacher, who has finished up as Group Content Director for the Mixx FM stations. From my observations: 1) There's no way within /stations pages to add a finishing date; and 2) through profiles, these listings cannot be manually edited (as seen through the Yumi Stynes page, which now has a series of 'Mix 102.3' listings).
Apologies for breaking things/giving you more things to work on!
Thanks, Jake - yes, the handling of groups isn't perfect. Let me work on that.
Added today: a new platform, TV Player in the UK to the broadcastURI schema.
Also, media titles added through the "via URL" method, the default, will now crop logos that have a white or transparent background. Media titles added through the "via name" method no longer checks Freebase, given Google closed it down three years ago.
Would it be possible to merge these stations into The Hits; https://media.info/search/group:bauercitythree
Hey, Graeme! Done the easy one - deleted Smooth Christmas.
Next - to work out how to merge The Hits stations together. A naive thought that this would be simply putting in "old names" isn't quite true, since I also need to work out how the broadcastURIs work otherwise I break Radioplayer. Um...
James, a simple request, can Franceinfo TV be moved to the TV section please?
Where stations use more than one PI code on the same FM frequency (notable for Vivacité in Belgium), these FM frequencies are no longer duplicated on listen pages. Also, some display bug fixes for Belgian stations, including ensuring they are correctly identified as FM and DAB.
I've now merged the Bauer City 3 stations back into The Hits. (For Radiofeeds I've simply deleted the extra feeds, which I hope was the correct thing to do).
Login or register to comment
It only takes a second with your Google or Facebook account.
- follow us on @minfodiscuss