Comments (9)
还有菜系 川鲁粤苏
from howtocook.
因为分类方法的多样性,我们给每一个菜添加一些标签,然后根据标签进行分类索引。我认为是可行的方案。
因为很多用户需要用多种分类标准进行分类(例如菜系、口味、难度),用标签有兼容性。
from howtocook.
刚开始可以先按几个大类分,之后再慢慢优化,例如先按 菜系 -> 素/荤 -> 辣/不辣,
from howtocook.
标签格式可以按照kv格式设定,方便扩展维度。
例如:
菜系:徽菜
;口味:偏辣
;忌口:香菜,蒜
;功效:助眠,防脱发
对于后期可能出现的菜品过多导致的管理和浏览问题,可以按照此格式统计出使用频率top 10的key生成动态目录,供大家使用。同时,如果能统一标签格式的话,动态目录就可以定期任务运行脚本自动生成了。应该也能一定程度上激励大厨们补充信息,让自己喜欢的标签冲上热搜。
from howtocook.
目前是按 素材荤菜分类,可以增加 豫 鲁 川 等 菜系 ,而且一道菜 不同菜系的做法可能不一样,大家想想如何解决这个,就是可以选择多种 分类的选项
from howtocook.
#1024
本issue成功了的话提到的这个issue(1024)也行了(话说真是个好的issue号码啊)
from howtocook.
看起来这个issue非常有必要解决。我会花一些精力在这个方面。
不过,有一个很实际的问题就是:在试图给菜增加标签时,应该使用何种数据结构呢?是直接加到 markdown 文件中,还是用一个额外的配置文件存储比较合适呢?
from howtocook.
额外的配置文件需要额外的维护。建议加到markdown文件中,编辑的时候提供已有的标签做选择。只是存量的菜需要靠merge来更新了
from howtocook.
from howtocook.
Related Issues (20)
- Cook
- At the model
- 菜量和人数的计算
- 关于 [微波炉 | 注意事项] 中的修改建议 HOT 1
- Hello guys today I'm already a tiktoker
- 9.08
- 「食品安全温度」一栏是否需要优化文本格式 HOT 1
- 食用油的密度可否以0.8g/cm²计算? HOT 2
- 建议上传图片之前,先压缩一下 HOT 2
- 请求加入更多甜品教程 HOT 1
- 对于颠锅步骤的详细请求 HOT 2
- 菜谱用表格展示
- 域名过期 HOT 2
- 为什么《荷兰豆炒腊肠》是素菜
- 增加饼干食谱
- 好想吃红烧鸡块
- 个人觉得这个做菜教程不是很实用 HOT 7
- 建议添加食材挑选、储存指南
- 一个小小需求 HOT 1
- 可否搞一个婴儿不同阶段的奶粉、辅食类别? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howtocook.