erochest / jekyll-rdfa

A Jekyll plugin to scan posts for RDFa data.
1 stars 1 forks source link

Make output files configurable #7

Closed pietercolpaert closed 7 years ago

pietercolpaert commented 8 years ago

Right now, posts.json and posts.ttl is hard coded. As you can also create different things than posts, can we make this configurable?

Maybe it would also be interesting to have 1 file per resource instead of 1 file for all posts? Your thoughts?

erochest commented 8 years ago

That's been part of the plan since the beginning, but I was waiting for someone to ask. :)

I'm traveling this week, so it probably won't get done for a bit, but I'll add it to my to-do list now.

Thanks for the feature request!

pietercolpaert commented 8 years ago

No problem and thanks! I do not have time for doing a pull request at this time, so very happy you can take this up!

erochest commented 7 years ago

This is on master, but I'll wait to release it until I've had a chance to look at #9.

I haven't really thought yet about having a file for each resource, though. Let me think about this for a while. Out of curiosity, what is your use case for this?

pietercolpaert commented 7 years ago

I'm writing my PhD using jekyll, and annotate my pages with RDFa (a.o. for the citations: https://github.com/pietercolpaert/jekyll-refs). A nice to have would be to be able to query the graph and I experimented a bit with this repository for that purpose. Not entirely sure whether being able to query my PhD would be useful to anyone though...