post: pull the zoo and festivals posts back to drafts, they go out again after a review
All checks were successful
Deploy to OVH VPS / deploy (push) Successful in 36s
All checks were successful
Deploy to OVH VPS / deploy (push) Successful in 36s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0966dec47
commit
da1de19fcb
2 changed files with 2 additions and 2 deletions
|
|
@ -1,64 +0,0 @@
|
|||
---
|
||||
title: "Festivals hidden in the bureaucracy"
|
||||
description: "How 67,000 Italian events came out of municipal acts, why ChatGPT sends me 3 times more people than Google and why I said no to ads."
|
||||
pubDate: 2026-10-06
|
||||
heroImage: "../../assets/photos/festivals-hidden-in-the-bureaucracy/cover.jpg"
|
||||
tags: ["side-projects", "open-data", "ai", "seo", "piazza-in-festa"]
|
||||
---
|
||||
|
||||
This is the third post of the series that started with [six months reading every Italian municipality](/blog/six-months-reading-italian-municipalities).
|
||||
|
||||
And this is the part I didn't plan at all.
|
||||
|
||||
## The side effect
|
||||
|
||||
When a town organizes a festival, a *sagra*, a concert in the square, there is almost always an act about it. Money approved, road closed, stage rented, electricity for the lights.
|
||||
|
||||
So the events are already there, hidden in the bureaucracy. 🎉
|
||||
|
||||
I started to extract them and that became [Piazza in Festa](https://piazzainfesta.it): around **67,000** events across Italy, found in municipal acts. Many of them are small things you never find on the big event websites: the patron saint of a village of 800 people, the *sagra* of a vegetable you didn't know existed.
|
||||
|
||||
## Some honest numbers
|
||||
|
||||
From the last month:
|
||||
|
||||
- about **10,000 people** per month
|
||||
- **ChatGPT brings around 3 times more visitors than Google**
|
||||
- **62%** of people arrive on an event that is **already over**
|
||||
|
||||
The ChatGPT number I measured twice, because the first time I was wrong. Twice wrong, actually:
|
||||
|
||||
1. ChatGPT adds a tag to the links it shows. That tag stays in the URL, so it was counted again on every page after the first one. The first result was **5 times** bigger than the real one.
|
||||
2. I was looking for Gemini with the word "bard". And "bard" is inside "lom**bard**ia". Every visit to a Lombardy page was counted as Gemini. Real Gemini visitors: zero. Yes, really.
|
||||
|
||||
Measure twice. Especially when the number makes you happy.
|
||||
|
||||
## Landing on the past
|
||||
|
||||
The 62% changed the product.
|
||||
|
||||
It makes sense: the AI assistant read that page months ago and it links it today. For me it was a dead page, for the person arriving it was the only page.
|
||||
|
||||
So now a past event doesn't say "it's over, bye". It says "we'll tell you when it's back next year". A festival next year is usually the same festival, same town, same name, only the date changes. So the same page can wait for it.
|
||||
|
||||
## Should I put ads?
|
||||
|
||||
The classic question. I did the math: around 18,000 page views per month would make **20 to 50 euros**.
|
||||
|
||||
Not worth it, not worth the cookie banner, not worth the image with the towns I talk to.
|
||||
|
||||
The real value is the data. So now I sell the event feed to portals and tourism operators, per region.
|
||||
|
||||
And I discovered that some websites were already copying our data without asking. Which is also a kind of market validation, I guess 😅
|
||||
|
||||
## What I learned
|
||||
|
||||
- **AI assistants are already a real channel.** For a small site like this one, bigger than Google.
|
||||
- **People land where the assistant remembers,** not where you want. Make old pages useful.
|
||||
- **Small traffic doesn't pay with ads.** Look for who needs the data, not the eyeballs.
|
||||
|
||||
Next time: a product that nobody bought and what I did about it.
|
||||
|
||||
---
|
||||
|
||||
<em class="text-sm">Cover: the homepage of [Piazza in Festa](https://piazzainfesta.it), with real posters of Italian town festivals.</em>
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
---
|
||||
title: "Italian public notice boards are a zoo"
|
||||
description: "About 100 vendor platforms, PDFs that are not PDFs and a municipal domain that now sells Viagra. What I found crawling every albo pretorio in Italy."
|
||||
pubDate: 2026-10-02
|
||||
heroImage: "../../assets/photos/italian-notice-boards-are-a-zoo/cover.jpg"
|
||||
tags: ["scraping", "rust", "open-data", "public-administration", "privacy"]
|
||||
---
|
||||
|
||||
In the [first post of this series](/blog/six-months-reading-italian-municipalities) I told how a small Rust exercise on one town became a crawler for every Italian municipality.
|
||||
|
||||
This one is about the part nobody sees: **how** you read 9,617 public notice boards when there is no standard, no API and no feed.
|
||||
|
||||
Short answer: one vendor at a time. 😅
|
||||
|
||||
## The scraper that became a zoo
|
||||
|
||||
The first scraper was for one vendor platform. Easy. Then I added a second town and it was on a different platform. Then a third one.
|
||||
|
||||
At some point I stopped counting towns and started counting **vendors**. Today there are about **100** of them in the codebase. Each one has a personality:
|
||||
|
||||
- old Java server pages with a hidden "ViewState" that you must send back exactly as you received it, or nothing works
|
||||
- sites that only work inside a real browser, so the crawler drives a headless Chromium
|
||||
- PDFs that say they are PDFs but they are signed `.p7m` files
|
||||
- pages that lie about their encoding
|
||||
- "search" pages that return everything if you pass `limit=0` (thank you, I'll take it 🙏)
|
||||
|
||||
The good news is that vendors are few compared to towns. When you understand one platform, you often get hundreds of municipalities for free, because they all bought the same software. So the real map is not "7,896 towns", it's "who sells software to the public sector".
|
||||
|
||||
## Who owns the notice board?
|
||||
|
||||
One number surprised me: **67.6%** of Italian municipalities publish their notice board on a domain they don't own. It's the vendor's domain.
|
||||
|
||||
The official record of what a town decided lives on a `.com` of a private company.
|
||||
|
||||
It works, most of the time. But if the vendor changes, closes or forgets to renew something, the history of that town moves or disappears with it.
|
||||
|
||||
## The Viagra domain
|
||||
|
||||
And then there is my favorite discovery.
|
||||
|
||||
Some public bodies were closed years ago (mountain communities, old consortiums) and nobody renewed their domain. Somebody else bought it.
|
||||
|
||||
One of them, still listed as "official website" in the national registry of public administrations, today is an **online pharmacy selling Viagra without prescription**. In Italian. 🙃
|
||||
|
||||
For a crawler this is a real problem, not only a funny story: the domain answers `200 OK`, the page loads, everything looks alive. You must look at *what* the page says, not only *if* it answers.
|
||||
|
||||
Also funny: I tried to add the 20 Regions too, before understanding that most Regions **don't have an albo pretorio** at all. Lesson learned: read the law before writing the crawler.
|
||||
|
||||
## PDFs, LLMs and regex
|
||||
|
||||
The notice board gives you a title and a PDF. The interesting part is inside the PDF: who gets the money, how much, for what.
|
||||
|
||||
So the pipeline got longer:
|
||||
|
||||
1. download the PDF
|
||||
2. extract the text, with OCR when it's a scan (and it's a scan more often than you think)
|
||||
3. pull out the fields: amounts, suppliers, dates, offices
|
||||
|
||||
For step 3 I started with a local model with Ollama, then moved to cheaper hosted models. Then I learned the boring lesson: you can do **a lot** with regex before calling any model. A spending approval in Italian has a very recognizable shape. The LLM is for what the regex can't read, not for everything.
|
||||
|
||||
Cheaper, faster and, surprise, easier to test.
|
||||
|
||||
## The serious part: privacy
|
||||
|
||||
These acts are full of personal data. Names, addresses, health situations of people who asked the town for help.
|
||||
|
||||
The law says they must stay public for 15 days. That doesn't mean "republish forever on a search engine".
|
||||
|
||||
So nothing goes online before a privacy filter checks it. Whole categories of acts are never shown at all. Personal data is the part to handle with the most care, not the least.
|
||||
|
||||
## What I learned
|
||||
|
||||
- **There is no standard, only vendors.** If you want to read the public sector, you must understand who sells software to it.
|
||||
- **A 200 is not a proof of life.** Check what the page says.
|
||||
- **Regex first, LLM after.** It's not sexy, but it pays the bills.
|
||||
- **Privacy is a design choice.** It goes in the pipeline from day one, not in a disclaimer at the end.
|
||||
|
||||
Next time: the festivals hidden inside all these acts. 🎉
|
||||
|
||||
---
|
||||
|
||||
<em class="text-sm">Cover: generated with AI. No giraffe was harmed reading a council decision.</em>
|
||||
Loading…
Add table
Add a link
Reference in a new issue