IIIF / iiifc-theme

jekyll theme for iiif-c sites
2 stars 3 forks source link

Event JSON #53

Closed glenrobson closed 3 years ago

glenrobson commented 3 years ago

Josh and I started discussing what the back end JSON should be to drive the events page:

https://preview.iiif.io/root/wireframe/news-and-events/

We currently have:

@mnyrop could you let me know what data you would need for the website and I can look at combining the difference data sources into a single JSON for your use.

mnyrop commented 3 years ago

Notes (WiP):

{
  "label": "IIIF Outreach",
  "type": "call", // ["call", "event", "workshop", "conference"] ...?
  "description": "Zoom link: https://stanford.zoom.us/j/97934431714?pwd=UFBkUGZDaHZqaDcvK2ZsVE1MZys5UT09",
  "links": [
    {
      "label": "Google Calendar",
      "link": "https://www.google.com/calendar/event?eid=XzY5MGpjZ3BrOG9wamViYTI2c3EzYWI5azg5MmtjYjlvODRyNDJiYTY3NHBqMGhpMjc1MzM2ZGhrNm9fMjAyMTA5MjhUMTUwMDAwWiAxaG5tNWg4Nm45NG9yZTB2bm9vMTg4dGVyOEBn"
    }
  ],
  "time": {
    "start": {
      "dateTime": "2021-09-28T08:00:00-07:00",
      "timeZone": "Europe/London"
    },
    "end": {
      "dateTime": "2021-09-28T09:00:00-07:00",
      "timeZone": "Europe/London"
    }
  },
  "location": {
    "type": "remote", // ["remote", "irl", "hybrid"]
    "label": "Zoom", // Could say physical location
    "link": "https://stanford.zoom.us/j/97934431714?pwd=UFBkUGZDaHZqaDcvK2ZsVE1MZys5UT09" // could be google maps link
  }
},
glenrobson commented 3 years ago

Transferring conversation from Slack:

"Josh Hadro and Meg O'Hearn, Marii and I have just caught up on the event data for the upcoming events page and came across a few questions.

For the 4 (or 6) events on the first page, is it OK to do the first 4 events chronologically? This would be easiest to implement but would mean events like the fall working meeting won't appear until the week before it starts. Do we need to think of a way of 'sticking' certain events so they appear in the top 4 or do we prioritise eventbrite events? For the View All, do we stick with a weeks worth of calls and then any events in eventbrite and the newsletter spreadsheet?"

glenrobson commented 3 years ago

Josh's suggestions:

image (1)

glenrobson commented 3 years ago

My proposal:

Featured events

Configured in the website (which we could manually highlight conferences / training / external events)

Upcoming calls

from the calendar.json shows the next 4 calls

View all

Chronologically ordered events from eventbrite + spreadsheet + calls in new events.json file

glenrobson commented 3 years ago

Just putting together the events.json and following the example you gave above. I came across the following questions:

Event types:

Location types:

glenrobson commented 3 years ago

I've put together the following json file showing matching your layout with events from EventBrite, Calendar and a Google Spreadsheet:

https://iiif.io/events.json

It updates every day.

I've also left the different sources of data as separate files in case you only need one type:

Let me know if this looks OK.

mnyrop commented 3 years ago

(in progress note to self: https://preview.iiif.io/root/news-and-events-redo/get-involved/ also includes an "Upcoming Events" section to consider)

glenrobson commented 3 years ago

Questions from slack:

Questions I have include:

glenrobson commented 3 years ago

Regarding the live JSON file. For the different headings on the news and events page:

On the View all events page:

I'm meeting with Josh this morning but I'm happy to take on the work above. I can see all of the templates you've provided and I can fit the javascript around what you've done.

glenrobson commented 3 years ago

I think this is done now. The work appears in the following locations: