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

Add filesystem processor #208

Closed
ikalnytskyi opened this issue Nov 7, 2017 · 0 comments
Closed

Add filesystem processor #208

ikalnytskyi opened this issue Nov 7, 2017 · 0 comments
Milestone

Comments

@ikalnytskyi
Copy link
Owner

ikalnytskyi commented Nov 7, 2017

We see Holocron as a constructor to assemble a static site generator of your dream. In order to achieve this, we need to provide various primitives (processors) and do not tie users with hardcoded behavior.

One of such things is the source for created, updated and published attributes assigned to documents. So far source processors is responsible for assigning them. We probably want to see a standalone processor that would extract various important information out of filesystem.

Some attributes that could be extracted:

Alternatively, we can end up with some date-in-filename processor that only cuts published attribute out of file path, and extract other filesystem attributes in source processor. It might be ok, since there's only one way bulletproof way to do it, while extracting published attribute might be tricky as various patterns might be used.

@ikalnytskyi ikalnytskyi added this to the next milestone Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant