β Build with Ghost: Recommendations for the open web
Our newest feature, Recommendations, is a game-changer. Learn how we're pushing the boundaries with Webmentions, 1-click subscriptions, and theme enhancements. Plus, get a sneak peek into our latest tech developments and a spotlight on groundbreaking journalism.
Welcome to issue #10! Here's what's cooking:
- Get to know our newest feature: recommendations
- Design inspo, advanced layouts, and pathfinding algos
- A behind-the-scenes look at how we optimize Ghost
- We found 404 Media and didn't go blind
Recommendations
We just released an exciting new feature: recommendations. Now, it's possible to recommend your favorite sites, no matter where they live on the web. Likewise, other publications can recommend you π€
Access recommendations from the updated Settings page. Recommendations show you not only how many clicks or subscriptions you've referred to recommended sites, but also how many signups have been sent your way. Read the Changelog for more about the new feature, visit the Help center to understand how it works, and check out these recommendations to see the feature in action.
But this is Build with Ghost, so we're going to get just a bit more technical.
Under the hood
One of the most exciting aspects of recommendations is that it's built on an open standard called Webmentions. By building it this way, Ghost's recommendation feature escapes walled gardens and vendor lock-in, operating, instead, across the entirety of the internet. That means you can recommend publications on other platforms β and they can recommend you πͺ
1-click subscriptions
Recommendations have another trick up their sleeve. As its name implies, 1-click subscriptions streamline the membership process by allowing readers to sign up for a publication with a single click.
Currently, 1-click subscriptions are only supported between Ghost publications. However, we're eager to help other platforms implement this 1-click functionality, and Micro.blog and Steady have already expressed interest. If you're a platform that wants to build 1-click subscriptions for the open web, get in touch.
Recommendations & themes
The recommendations feature brings two new theme helpers with it.
{{recommendations}}
The recommendations
helper outputs a list of your recommended sites. Highly customizable, this helper is a great way to share your favorite publications with readers. Below is the default template Ghost uses to output your recommendations (but you can create a totally customized template, too).
Check out the docs for all the details on this new helper and see how it's already implemented in our Source theme.
{{readable_url}}
The readable_url
helper outputs a human-readable URL. When linking to a recommended site, instead of showing https://www.google.com?foo=bar&dog=love
, it'll just show google.com
. In short, it's a glow-up for your URLs and works beautifully with the recommendations
helper mentioned above.
See the docs to learn more about this helper.
Just shipped π’
- Recommendations are a simple cross-promotion mechanism for every publisher, on any platform (i.e., what we're talking about above).
- The Settings menu got a big refresh. Browse all settings at a glance. Find any setting with a simple search.
- The new Ghost editor, built from the ground up, reached GA. It's the same editor you love but now faster, more resilient, and ready for the future. The new editor relies on a new format for storing content called Lexical, meaning the previous format, Mobiledoc, is now deprecated. Learn more about this breaking change.
- Did you know Ghost has a Chrome extension? It makes curating links from around the web easy as π₯§
- We built a time machine or, at least, the next best thing. With post history, travel back in time to restore that paragraph that was, on second thought, actually really good.
- Ghost got a full-featured image editor. Make quick crops or advanced changes all without leaving the editor.
Ideas and tools π οΈ
- The newest version of the Web Content Accessibility Guidelines (WCAG 2.2) was recently published. Hidde de Vries runs through all the relevant changes.
- Need ideas for your next theme? This web design inspiration catalog is sick and sure to give you some ideas.
- Kevin Powell's videos are always bangers, and the latest on container queries and subgrid is no exception. These advanced techniques are perfect for building complex layouts in CSS.
- Ever wondered how Google Maps charts your route? This interactive map animates pathfinding algorithms in real-time.
- One more algorithm story: This madlad performed a bubble sort only using CSS.
From the community
Ghost Forum user, Jannis, has created Myrtle, a tool to add mock data to your Ghost site using OpenAI's API.
Jannis explains the tool best:
See, as somebody who loves good design, I hate it when itβs destroyed by Lorem Ipsum content. So, I always try to put realistic content onto my theme demo sites. Something that tells a story β and actually demonstrates how it can be used.
We used Myrtle to create this mock site, Delicious Curry. The story it tells: we're hungry. If you're looking for a tool to whip up some stand-in content, this works great π
Behind the scenes
Our DevOps engineer, Sam, recently wrote an article on some work he did to optimize Playwright tests in Ghost by making them run 185% faster ποΈ
In a nutshell, this means Ghost engineers can spend less time waiting for tests to run and more time building cool features, and we all get a more resilient, bug-free Ghost.
Featured site: 404 Media
Formed by four journalists previously at VICE's Motherboard, 404 Media is a publication committed to sustainable, society-shifting tech journalism. They recently got to the top of Hacker News by publishing a story about how attendees at a Bored Ape NFT owners conference went blind with searing eye pain. Yes, you read that right.
Aside from the important, captivating journalism like "In Defense of RAM" and "Mastodon is the Good One," 404 Media has a simply gorgeous custom theme. The typography, layout, and post elements will make you swoon and provide some inspiration for your future themes.
Sites featured in the Build with Ghost newsletter are discovered through our creator network, Ghost Explore. Itβs a way for creators and readers alike to discover their favorite new publications. Anyone running a Ghost site can add themselves to Explore to be featured throughout the wider Ghost ecosystem. If youβd like to be featured in this newsletter, add your site to Explore and reply to this email.
Thanks for building with us.
Have an idea for a Ghost tutorial? Reply to this email and let us know β€οΈ
Were you spending all your time looking for other Ghost creators and developers on Omegle? Unfortunately, you may need to look somewhere else. Come and join us on the official Ghost Forum, where we talk about all things Ghost!