In the 222nd issue of ProcessWire Weekly we'll discuss ProcessWire 3.0.110, talk a bit about some maintenance work currently being done in our issues repository, introduce a brand new site of the week, and more. Read on!
This week we're going to discuss the latest updates to the dev branch at Github, namely ProcessWire 3.0.110, and also talk a bit about an ongoing attempt to sort out the issue reports that have been slowly piling up at the processwire-issues GitHub repository.
In other news we've got a pretty handy tip for those working with paginated content on a relatively new release of ProcessWire, and we've also got a neat new site of the week, belonging to an AI project managed in part by community member Ben Byford.
As always, a big thank you to all of you for being here with us, and please don't hesitate to drop us a note if there's anything in your mind that you'd like to share. Your feedback helps us focus on the things that you folks want to hear more about.
Latest core updates: ProcessWire 3.0.110
This time there's no full-blown blog post from Ryan, but rather a brief post announcing ProcessWire 3.0.110 at the support forum.
What's new in ProcessWire 3.0.110?
The focus for 3.0.110 has been on sorting out known issues and minor feature requests reported via GitHub. As you can see from the commit log for the past week, there have been quite a few updates to the dev branch, and although there's nothing truly major there, this is a recommended update for you if you're already using the dev branch.
Housekeeping for the processwire-issues repository
During the past few weeks we've also been working through the GitHub issues list and revisiting old issues that have already been solved: there were a lot of items there that had in fact already been solved, yet the issue report itself was never closed.
Now, thanks to a lot of effort put in by netcarver, our list of issues looks much better already – and represents better the actual state of the ProcessWire project.
Here's a friendly request to anyone reading this: in case you have opened issues at the processwire-issues GitHub repository, please check and close them if a working fix has already been committed. Due to certain peculiarities of GitHub we prefer not to close issues right away, but rather let you confirm that the issue is indeed solved.
Thanks in advance!
Weekly tips and tricks: adding pagination metadata to site <head> the easy way
This week I wanted to highlight a small but helpful built-in SEO and/or accessibility feature that you can use to keep crawlers – such as the Google bot – happy.
When you've got some paginated content, the recommended solution is to include
<link rel='prev|next' ...> tags in the <head> section of the page. This approach comes with two benefits: first of all it tells crawlers that the current page is a part of larger series, and second of all it also tells them where they can find the next and previous items of said series.
While you've always had the option of populating this metadata yourself, it does take a bit of a code to get right, and it's easy to make mistakes. That being said, did you know that as of ProcessWire 3.0.105 MarkupPagerNav has started populating these tags to a config variable on its own?
As far as I can tell this addition wasn't really mentioned anywhere specifically, so it's no wonder if you didn't know about it. Either way, if you're already using said version of the core or a later one, here's what you need to do in order to make crawlers aware of your paginated content:
<head> ... <?php echo $config->pagerHeadTags ?> ... </head>
Hope you folks find this feature as useful as I do!
Site of the week: ethicalby.design
Our latest site of the week is one called Ethical by Design, a project managed in part by the long time ProcessWire user and active member of our community Ben Byford.
Ethical by Design follows closely in the footsteps of the Machine Ethics podcast, which has been around for a couple of years already. The stated goal of Ethical by Design is "helping to guide both the conversation and implementation of AIs for positive impacts for society", and in order to achieve said goal Ethical by Design offers talks, consultation, risk assessments, and due diligence services for businesses planning to invest in AI.
The Ethical by Design website, first introduced by Ben on a showcase forum thread, is a one-pager – at least for the time being, since a blog feature is apparently on the works already – and thus has all its content on a single page. Nothing too fancy here, but the site does scale really nicely to different screen sizes, and the design is exceptionally clean, easy to grasp, and free of any unnecessary clutter.
Behind the scenes this site is being powered by ProcessWire – obviously – and static assets are minified using the AIOM+ (All in One Minify) third party module. Other than that there's not much to say here – this is a simple site with very light footprint, and thus there's also not very much to boast about in terms of techy stuff.
Thanks to Ben Byford for sharing both this site and the very interesting Machine Ethics podcast with us. Let's hope that Ethical by Design is successful in steering the future and development of AI towards a safer and more ethical direction!
Stay tuned for our next issue
That's it for the 222nd issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 18th of August. As always, ProcessWire newsletter subscribers will get our updates a few days later.
Thanks for staying with us, once again. Hope you've had a great and productive week, and don't forget to check out the ProcessWire forums for more interesting topics. Until next week, happy hacking with ProcessWire!