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

Create Content Page #107

Open
thetrevoradams opened this issue Mar 21, 2019 · 9 comments
Open

Create Content Page #107

thetrevoradams opened this issue Mar 21, 2019 · 9 comments
Assignees
Labels
Good First Issue Status: Pending Status: Stale Used before Abandoned - long time since last activity

Comments

@thetrevoradams
Copy link

  • Page would pull in content from various platforms you have courses/material
  • Content would be grouped/categorized
  • Content could be searched/filtered/sorted

Ideally, the content pulled in would be able to have a preview/snippet to make a more visually appealing display

Possible Resources:

Gatsby Source YouTube
Gatsby Source Custom API

@kentcdodds
Copy link
Owner

kentcdodds commented Mar 21, 2019

Awesome @trevoradams42! For those watching, Trevor offered to do this himself over lunch today :)

Here are a bunch of places where you can find my content:

I think that's everything that I have.

For some of these we can probably use them as data sources (like youtube), but for others we'll probably have to make our own JSON files or something to represent the data (like with Frontend Masters).

Also, it'd be cool to highlight the content that's been featured in newsletters as well. I made this about a year ago: https://gist.github.com/kentcdodds/77159995778796a296bf0f30583c431b I know that more of my content has been featured in newsletters since then so we'd need to look around for more of that and then keep the list updated somehow.

@thetrevoradams
Copy link
Author

I’ve been able to test out the Gatsby source YouTube and it works great. Just need to add your channelId and apiKey to Gatsby-config. It allows you to use your own local (optimized) thumbnails or use the ones already available from YouTube.

For the GitHub based material, there is a Gatsby Source Github that seems promising.

For the resources that don’t provide an API, do you imagine the content would change very often that would necessitate web scraping? Otherwise, yeah a JSON file to manage the meta data would be fine.

@kentcdodds
Copy link
Owner

That sounds great to me. I think that regular JSON files should be fine. At least to start with 👍

I wonder if it would be best to make an entirely new project on GitHub using Netlify Functions that's basically just a graphql endpoint that combines all the data into the single endpoint. That would give you the flexibility to build and test it yourself and it would also expose all the data in a way that's easy to consume for anyone (my site included).

@anirbandey303
Copy link

yeah!

@thetrevoradams
Copy link
Author

Finally have a working version: https://content-api.netlify.com/
I'm working on the schema still - I'll report back when the structure is more finalized

@kentcdodds
Copy link
Owner

Very cool Trevor! Thanks for the update :)

@techieeliot
Copy link

Hey @tetondev please invite me to collaborate! I volunteer to help.

@JacobMGEvans
Copy link
Collaborator

Awesome @trevoradams42! For those watching, Trevor offered to do this himself over lunch today :)

Here are a bunch of places where you can find my content:

I think that's everything that I have.

For some of these we can probably use them as data sources (like youtube), but for others we'll probably have to make our own JSON files or something to represent the data (like with Frontend Masters).

Also, it'd be cool to highlight the content that's been featured in newsletters as well. I made this about a year ago: https://gist.github.com/kentcdodds/77159995778796a296bf0f30583c431b I know that more of my content has been featured in newsletters since then so we'd need to look around for more of that and then keep the list updated somehow.

This could still be done in Remix, I assume in just a different way?

@kentcdodds
Copy link
Owner

Yes, we could definitely do this with remix. The bulk of the work is the same regardless of the framework used.

@JacobMGEvans JacobMGEvans added Good First Issue Status: Stale Used before Abandoned - long time since last activity and removed Type: Question labels Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Status: Pending Status: Stale Used before Abandoned - long time since last activity
Projects
None yet
Development

No branches or pull requests

5 participants