Wednesday, October 19, 2022

France Postage

 The Week, 1 October 2022, News section, Page 7


Paris 

Book delivery: The French government is planning to force booksellers to charge at least €3 per delivery, in an attempt to loosen the grip on the market of e-commerce giants such as Amazon. In 2014, France reacted to pressure from independent retailers by making it illegal to offer free delivery for books, but Amazon got around this by charging its customers a nominal one cent. By contrast, independent booksellers, who are reliant on smaller logistical networks, have to charge as much as €7 per delivery. Amazon condemned the proposed minimum fee, which applies to sales of up to €35, on the grounds that it would "negatively impact the purchasing power" of French book lovers who do not have close access to bricks and mortar bookshops. The proposal will now be passed to the European Commission for approval. 


I remember reading that Amazon had a free postage tier above a certain spend in every country except France. And that when Amazon changed the token amount of postage in France (for a spend above a certain amount) – sales in France went up. In other words, free has a huge attraction even in relation to a very small delivery cost.

Wednesday, October 5, 2022

Local Fonts

 Local fonts means the the web-font is on the server that hosts the website. A web font is recognisable from the .wof and .wof2 file type.

JenT posted a helpful post on the consequences of a court case where the claimant was successful in arguing that the owner of the web site had breached GDPR regulations by loading Google fonts because Google fonts trace the IP address of the person visiting the web site.


As Hacker News points out, Google Fonts is a font embedding service library from Google, allowing developers to add fonts to their Android apps and websites simply by referencing a stylesheet. As of January 2022, Google Fonts is a repository for 1,358 font families and is used by over 50.1 million websites.


For self-hosted sites, which our e-commerce site at FLYING TWIGS is, then the process of swapping over to local fonts is doable. We use GeneratePress and this an Adding Local Fonts page in the documentation on how to pull down Google fonts and host them locally using this tool – google-webfonts-helper that identifies the files for Google fonts.


I have already done this on Flying Twigs and I am working my way through my other self-hosted sites. That said, in WP 6.2 it looks as though WP will incorporate some method of doing this without having to add custom CSS and without having to temporarily add php code to the functions file to allow uploading .woff and .woff2 files.


The code one needs to add (and then remove once one has uploaded the .woff files) to the functions file is to allow uploading .woff files, which to protect against malicious code being injected, are normally not allowed.


WP Tavern has articles on local fonts, and suggests Bunny Fonts as a plugin as an easier way to replace Google fonts. I read the documentation for Bunny Fonts and it seemed just as straightforward to use the GeneratePress method. And there is every reason to think that the same GeneratePress method would work on any theme, not that I have tried it. And it would work with any web font that one might buy and download.


All this said, none of this applies to WP.com that operates above the site owner’s head so to speak,


But for an overview of all of this – I recommend WPCOMMAVEN’s article on Google fonts and GDPR.


I thought I read somewhere that Google claimed that the IP addresses were obfuscated so that no GDPR rules were broken, but I may be imagining that. Maybe Google will take the initiative and put the fonts somewhere that is air-gapped form the rest of Google so that nothing is fed back to Google. It seems easier than getting a reputation from fifty million disgruntled web site owners who may or may not know how to cure such problem as there is

Piazza

Italian: piazza Area libera, limitata in tutto o in parte da costruzioni, con varia funzione urbanistica, all'incrocio di piĆ¹ strade o l...