Closed wigging closed 6 years ago
I like part of this suggestion, I propose a compromise:
name: Knoxville CocoaHeads
image: /assets/images/groups/knox_cocoa.webp #cards need an image
description: > # need a `>' to break long string in YAML across multiple lines. (carriage return will become a space
CocoaHeads is an iOS and macOS developers group in Knoxville, TN. Meetings are
held on the last Monday of each month from 6:30-8:30pm at the Technology
Cooperative.
location:
name: The Technology Cooperative
address: 13 Emory Place, Knoxville, TN 37917
latitude: 35.9747
longitude: -83.922917
website: http://techco.org
organizers: # I will link to your organizers profile by using anchors, ex. #Gavin+Wiggins
- Gavin Wiggins
- Bill Morefield
social:
facebook: https://www.facebook.com/knoxcocoa
github: https://github.com/knoxcocoa
meetup: https://www.meetup.com/knoxcocoa
twitter: https://twitter.com/knoxcocoa
online:
email: info@knoxcocoa.org
website: http://knoxcocoa.org
tags:
- ios
- macos
- swift
slack_channel:
Items I would like to retain:
Elements I like:
blurb
to description
. Good change, blurb was probably too informal.yaml
key, makes it more human-readable, which is why yaml
was chosen in the first place 👍 Changes to suggestion:
organizers
data section. I propose linking to the organizer's profile under the about
page using FirstName+LastName
.online
. On the fence about:
Also it seems that more documentation should be placed in the README.
My suggestions for the yaml format are for a more generic approach not just for a Jekyll website. I made a Python script that converts the yaml files into a single json file (I'll post it to the KnoxPy GitHub tonight). So I'm trying to think of a format with fields that work well with json. Although, such an approach may not be ideal for Jekyll. 🤷♂️ With that in mind, here are some more comments:
Do you need to have organizers info in a separate yaml file? It's more convenient to have everything about a group in one file. This also reduces entering the same things like group name, organizer name, etc. into different files.
As for location, providing something other than a Google Map link would be good. You can still provide the google link but have options for other things like lat/lon, zip code, address, etc.
We do need organizers in a separate yaml file. If you look at the about page, we have a listing of organizers. The idea here is that "the organizers" should all be recognized as part of KnoxDevs, as the community is in large part a result of the contributions of the groups themselves. The idea, also, was that organizers may "organize" more than one meetup, so the idea was to minimize duplicate information. Of course, this may be the case of an "edge case" driving the overall work flow, so maybe that isn't the right approach. Also, I'm thinking generally, that you just need a name for the organizers. We could write something that pulls in all of the organizer's info if it's really needed for the api
?.
Regards to location. I am pretty sure we can geoencode the location information to build a google maps direction, so that might make the google url redundant anyhow. I agree that using a location service that is platform agnostic, would probably be a better solution. Lat Long isn't perfect, but is probably easier than making an organizer use what3words or similar service to get the location coordinates.
You could create a locations folder that has a yaml file for each meetup location. Then refer to that in the groups yaml files. Similar to how you handle the organizers.
True. Or just make it so that each place a meetup holds their meetup includes a file for event spaces
. Which would probably be true, anyhow.
Most recent commit takes the suggestions posted here. We can reopen if further ideas come up!
The CocoaHeads group is working on an iOS app for KnoxDevs. We are using a JSON file as the database for the mobile app. The YAML files used for the group data can be readily converted to JSON for app development. However, the current YAML format for each group is sparse on details.
I would like to propose a YAML format similar to the example given below.