indieweb / indieweb/this-week

Restrict parsing of external event URLs to h-event

Open
#13 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In one of today's newsletter generations, the event linked to https://accessibility-club.org/, which only has an h-card for Joschi, no h-event. Their name appeared instead of the event name, as well as the photo. The date and venue parsed correctly from the wiki (see below). Maybe it should be restricted to parse only h-event on external URLs, otherwise fallback to what's on https://indieweb.org/events.

As a short-term fix, I set up a wiki event page with the h-event markup.

Joschi Kuphal
Wednesday, May 15 at 9:00am
Venue TBA, Düsseldorf, Germany
[Joschi's photo]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the external event URL parsing and the fallback to indieweb.org/events. Verify the behavior with a page containing only an h-card and confirm that only h-event data supplies the event name and photo while the wiki still supplies date and venue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.