Drupal Planet

Automatically Geolocate Santa


We've reached the last day of the calendar, and it's time for Santa's visit! Santa has been visiting some famous places all month. With the Geocoder module, Leaflet, a Geofield, and an Address field, you can automatically put each address Santa has visited on the map!

You do need to configure a geocoder source. We're using OpenStreetmap, from the geocoder-php/nominatim-provider.

Read More
ECA model showing how to pull in an AI Chat action to moderate comments on a website

Automatically moderate comments using AI


When you allow the general Internet to post comments, or any other kind of content, you're inviting spam and abuse. We see far more spam comments than anything relevant or useful -- but when there is something relevant or useful, we want to hear it!

With the AI module(link is external) and the Events, Conditions, and Actions module(link is external), you can set up automatic comment moderation.

Like any use of AI, setting an appropriate prompt is crucial to getting a decent result. Here's the one we're trying out:

Read More
Flowchart showing a process with decision and action steps connected by arrows.

Automatically post to BlueSky


Since the 2024 election, the BlueSky social network(link is external) has exploded in popularity, and appears to be replacing the cesspool that used to be Twitter. I'm not much of a social media person -- I much prefer hanging out in smaller spaces with people with shared interests. If you're like me, I would highly recommend finding a Mastodon server(link is external) that caters to your interests, where you're sure to find rewarding conversations.

Read More