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

Rake (or whatever) task for generating new meeting pages #18

Open
h-lame opened this issue Jan 6, 2015 · 4 comments
Open

Rake (or whatever) task for generating new meeting pages #18

h-lame opened this issue Jan 6, 2015 · 4 comments

Comments

@h-lame
Copy link
Member

h-lame commented Jan 6, 2015

There's a lot of frontmatter to deal with and some of it could be automatically populated.

We might want a task for generating new normal pages and then a specialization for each sub-type (podcast, meeting, book-review, nights, &c).

h-lame added a commit that referenced this issue Jan 8, 2015
We use a ready hook in the config.rb to scan through the sitemap and explicitly ignore any files without frontmatter that sets them as published.  We also explicitly keep .htaccess files and anything taht looks like an asset (for now that's anything in javascripts/, stylesheets/, or images/).

I guess this is laying some groundwork to make #18 and #19 more worthwhile.
@MikeRogers0
Copy link
Contributor

MikeRogers0 commented Aug 28, 2020

Are we sticking with Eventbrite for the next little while?

I could setup a GitHub Action to pull data from https://www.eventbriteapi.com/v3/organizations/organization_id/events/, that'll then write some data we need to a post in /source/meetings.

Though I'm also unsure of your processes & if that'll fit in with how you work :) Though I imagine only having to update one place would be neat-o-burrito.

@h-lame
Copy link
Member Author

h-lame commented Aug 28, 2020

Current workflow is that we write up the full meeting details on here and eventbrite is really used just for the registration features - you'll have noticed, I'm sure, that the meeting write ups on eventbrite are slim and pretty much just point back to https://lrug.org. So I'm not sure, without changing where we put the details and when, that a mechanism for polling eventbrite to automatically create pages for lrug.org would be of that much use TBH. Good idea, but just doesn't fit ourworkflow.

TBH, I'm not entirely sure there's much need for a rake task anymore. I usually just copy the previous meeting's page and edit it so all the boilerplate is there - it's not really like I spin up a new page fresh each time. Perhaps the other folk who help out with this side of things at the moment feel differently? @lazyatom / @chrislo WDYT?

@lazyatom
Copy link
Contributor

I've also just been creating pages by copying previous ones.

Personally, I'd prefer the LRUG.org be the origin of truth for the meetings, so the direction of data flow would be the opposite of Mike's suggestion. There is a bit of a chicken-and-egg where the LRUG post needs to contain the event-specific Eventbrite URL, but for me at least that's not enough of an issue for me to want to start investing in driving LRUG page generation from Eventbrite data.

@chrislo
Copy link
Contributor

chrislo commented Aug 28, 2020 via email

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

No branches or pull requests

4 participants