UKHackspaceFoundation / website

The UK Hackspace Foundation website
https://www.hackspace.org.uk
1 stars 6 forks source link

Space admin - Checking space data #147

Open unknowndomain opened 1 year ago

unknowndomain commented 1 year ago

It would be great if when trying to check a space's data is correct that there was a way to have a 1 click update of the date.

Also would be great if it could embed the logo in the page and open the website in a new tab.

proffalken commented 1 year ago

Feels like this is something that could be solved using SpaceAPI/SpaceDIR?

https://spaceapi.io/ has a JSON schema that can be consumed by anyone, so if we provide a template for spaces to host on their own website, and somewhere for them to add the link, we could probably generate a load of this directly from there and have it automatically update?

For an example, see https://members.makemonmouth.co.uk/api/spacedirectory/

castaway commented 1 year ago

@proffalken On the one hand: Yes, though would need to ensure bad things don't happen if the space' website disappears

Also note this won't work for every space, as some don't have websites (only social media etc, sometimes not even that) so would be best as a flag when space is added to "pull data from our website if available"

proffalken commented 1 year ago

Yup, makes sense to offer it an an option

idnorton commented 1 year ago

@castaway I suspect that a minority of spaces implement the SpaceAPI/SpaceData which I agree is a shame, but gotta work with what we have.