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

Choose a format to write recipes in #4

Open
Potherca opened this issue Nov 14, 2020 · 1 comment
Open

Choose a format to write recipes in #4

Potherca opened this issue Nov 14, 2020 · 1 comment

Comments

@Potherca
Copy link
Member

There are many recipe formats.

They seem to (roughly) fall into three categories: XML Based, YAML Based, (Formatted) Text based.

A more detailed look is needed but, assuming they all support more or less the same properies, none really appeals to me.

So, rather than invent yet another format myself, I was thinking of using RDFa in combination with certain vocab sources (Schema.org, DBPedia, Dublin Core).

That would make things easy enough to write (at least for me), allow parsing the content (to convert to other formats if needed) without loosing the ability to create an input UI later on.

As RDFa is just HTML + some custom properties, the output can be read without any formatting needed.

From a portability perspective that also seems like a good idea...

@Potherca
Copy link
Member Author

It might even be possible to find a way to combine RDFa and Markdown, negating the need to write HTML manually...

As this would require looking in to some more, it might be worth just starting in HTML and switching over later (or "supporting" both).

URLs of interest:

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

1 participant