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

API #82

Open
iltempe opened this issue Apr 8, 2016 · 8 comments
Open

API #82

iltempe opened this issue Apr 8, 2016 · 8 comments

Comments

@iltempe
Copy link

iltempe commented Apr 8, 2016

HI! I've implemented a simple reading API to have access via http to all datasets and metadata.

You can look at this at http://iltempe.github.io/opendatagentediprato/ going to link http://iltempe.github.io/opendatagentediprato/api/datasets.json

regards!

@timwis
Copy link
Owner

timwis commented Apr 9, 2016

Hey @iltempe - cool idea! That was the sentiment behind #34, which uses the data.json specification. You can see your at http://iltempe.github.io/opendatagentediprato/data.json

@iltempe
Copy link
Author

iltempe commented Apr 9, 2016

Yes! i've seen. My idea is to develop the API folder to create a complete API! have you some suggestions?

@timwis
Copy link
Owner

timwis commented Apr 9, 2016

Oh, I see. The only problem with that is that you can't generate an individual json file for each dataset because we're already generating an individual html file for each one, and you can only generate one file per collection item. We discussed that a bit in #72, but @Floppy has an interesting idea that may work out for it.

@Floppy
Copy link

Floppy commented Apr 9, 2016

I'm also currently proposing and working on an enhancement to Jekyll to allow >1 output file per item, in multiple formats, that would enable exactly this: jekyll/jekyll#3041 (WIP PR in jekyll/jekyll#4742)

@iltempe
Copy link
Author

iltempe commented Apr 9, 2016

Nice! at the moment with solution like mine I think is possible create a single JSON file also making some query on datasets, for example to see all datatets of certain categories.

@timwis
Copy link
Owner

timwis commented Apr 9, 2016

Oh, awesome @Floppy! I ruled that possibility out after reading jekyll/jekyll#1305. Really looking forward to your PR being merged.

@loleg
Copy link

loleg commented Feb 13, 2024

I'm a bit confused: is there actually an unmerged PR linked to this discussion?

@Floppy
Copy link

Floppy commented Feb 13, 2024

No, and I never managed to get round to doing the Jekyll work I was doing that might have helped make this happen, unfortunately. Maybe one day when I retire 😆

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