Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import meetings and sessions from database #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rjcarneiro
Copy link
Member

No description provided.

@rjcarneiro rjcarneiro changed the title Import meetings from database Import meetings and sessions from database Oct 23, 2018
@rjcarneiro
Copy link
Member Author

@mariac0ding importei as sessões da base de dados assim como as reuniões. Diz-me o que pensas, se falta algo, etc.

@gsferreira
Copy link
Contributor

The Agenda from the meetings is still missing, right?

@rjcarneiro
Copy link
Member Author

The Agenda from the meetings is still missing, right?

Yeah, I think so. I don't know how it's going to be done. Once it's decided, I can change the exporter to generate the proper markdown.

Merge from original source
@mariac0ding
Copy link
Member

mariac0ding commented Oct 23, 2018

@gsferreira, the Agenda is done. I'm using Liquid to do it automatically using the markdown's front-matter fields of meetings and sessions (meeting-agenda.html).

@rjcarneiro, will take a look at this on Thursday. Thanks!

@rjcarneiro
Copy link
Member Author

@mariac0ding I believe that @gsferreira is saying is, for each meeting should be an agenda.

Taking this example:

---
title: "10ª Reunião Presencial da Comunidade NetPonto no Porto"
date: 2016-04-02
start_time: 09:45
end_time: 12:30
sessions: ["automatizacao-tarefas-com-gulp","powershell-dsc-porto"]
redirect_from: /reuniao/10a-reuniao-presencial-da-comunidade-netponto-no-porto/
---
No dia 02-04-2016 será realizada a 10ª Reunião Presencial da Comunidade NetPonto no Porto. Para participar, efectue o registo de acordo com as instruções abaixo.
Nota: Ao final da reunião, escolhemos um restaurante próximo e fazemos um almoço em grupo para continuar o convívio e aproximar as pessoas. A participação é opcional.

This meeting here has no agenda, only the sessions.

@mariac0ding
Copy link
Member

I might be missing something here because I think is all done.
For example, for the 10th meeting at Porto, Liquid code (meeting-agenda.html) is using the content of 3 files to create the agenda:
_meetings/10a-reuniao-presencial-da-comunidade-netponto-no-porto.md
_sessions/automatizacao-tarefas-com-gulp.md
_sessions/powershell-dsc-porto.md

Please see the link below about the meeting you are referring. Isn't this the end result we are looking for as an meeting agenda? Or is something missing? (I'm only talking about the agenda not other features)
https://netponto.github.io/reunioes/10a-reuniao-presencial-da-comunidade-netponto-no-porto/

@rjcarneiro
Copy link
Member Author

rjcarneiro commented Oct 25, 2018

Looking at that link, the expected agenda is:


10:00 - Recepção dos participantes
10:00 - Automatização de tarefas com Gulp - Cipriano Freitas
11:00 - Intervalo
11:30 - PowerShell DSC - Rui Melo [MSFT]
12:30 - Painel de Discussão e Sorteio de Prémios

Is that what you have?

@mariac0ding
Copy link
Member

What I have is what I've sent in the link. Please note the link is .github.io, not .org, so is already the 10th meeting generated by Jekyll

@mariac0ding
Copy link
Member

@rjcarneiro just verified it now and I noticed the markdowns front matter are missing some fields that are needed.



MEETINGS:
Please add:

  • venue:                 (note: it should be equal to ID at  _data/meeting-venues.yml )
  • gold-sponsor:       (note: it should be equal to ID at  _data/sponsors.yml )
  • silver-sponsor:      (note: it should be equal to ID at  _data/sponsors.yml )
  • bronze-sponsor:   (note: it should be equal to ID at  _data/sponsors.yml )
  • city: (if possible, would be much easier to me to do the Liquid logic)

SESSIONS:
Please add:

Please delete:

  • start_time: 
  • end_time: 
  • meeting:
    (note: these fields aren't needed here, because the same session can be used in several meetings, in different cities and at different times, etc... and the meetings front matter markdown will have the time info, and the front matter of the meetings has the meeting ID, so they are associated there)

Another thing (probably will be another branch... please let me know if I need to post this request in another place). It would be possible for you to update these _data files:

  • meeting-venues.yml 
  • sponsors.yml

If it's a lot of work (+1h) don't do it, just export an Excel file and I will update them manually (it was how I did it before, @brunomlopes send me an Excel file with the data).



Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants