barryf / vibrancy

Headless CMS and Micropub endpoint for personal websites. Used for the back-end of https://barryfrost.com
MIT License
20 stars 2 forks source link

Add Meetup/Eventbrite context retrieval #14

Closed jamietanna closed 3 years ago

jamietanna commented 3 years ago

As I RSVP to events on Meetup/Eventbrite, it'd be useful to have the Pipes that I've set up for retrieving metadata from them to be supported in fetch-context.

These follow the format of Granary, but expose an is..Url helper so we can simplify the logic when retrieving context.

Additionally, we only want to use them if properties are found for a lookup, otherwise still fall back to Granary/OpenGraph.

jamietanna commented 3 years ago

Is there any way to auto-fix the style changes? Sorry about that!

barryf commented 3 years ago

@jamietanna No problem! I use StandardJS, but I've not specified any config for it which I should probably add to help contributors.