nextcloud / cookbook

🍲 A library for all your recipes
https://apps.nextcloud.com/apps/cookbook
GNU Affero General Public License v3.0
537 stars 93 forks source link

Support cuisine information #2011

Open seyfeb opened 11 months ago

seyfeb commented 11 months ago

The cuisine information is present in the standard, I know but is currently not supported by the app. This can be implemented in the app.

Originally posted by @christianlupus in https://github.com/nextcloud/cookbook/issues/1235#issuecomment-1265032001

The recipeCuisine is a text property of the schema.org standard but currently not supported by this app. When adding support for this new property several things should be considered:

jessebot commented 5 months ago

This would be a great feature, as right now, I currently use keywords to accomplish, but there's kind of a LOT of keywords, so this would make it all more organized.

A suggestion would be that if/when this goes into the frontend, you be able to click the cuisine to then show other recipes of that cuisine.

Another note would be that the current field type is Text, but it would be great if we allowed this to be a comma or space seperated list or something, that way cuisines that overlap with other cuisines can be accounted for. Example: Sometimes Puerto Rican can be labeled as Latin American, or Vietnamese maybe labeled as Asian due to using nationality vs region vs sub-region.

christianlupus commented 5 months ago

The standard would allow for multiple values as far as I get it.

seyfeb commented 5 months ago

According to the standard (https://schema.org/recipeCuisine) the cuisine is of type text. However, as Christian correctly pointed out, multiple values can be assigned