News for hackers. Stuff that matters.
Re:Show HN: Recipe search engine, built in vanilla PHP by innerbits on Friday May 06, 2022 @05:09PM (#31289626)
This is a good start. As a foodie who loves to cook and software engineer, I strongly dislike the bloated recipe sites and I have my own mini-site where I share my recipes with friends.

Some ideas to consider, based on my experience building my own Hugo-based static recipe site:

  - Search: I decided to use Azure Search because of the flexibility it provides (cost is minimal and covered by my free Visual Studio subscription credits)
  - Images: I use Cloudinary's free plan to upload and deliver images -- very important if you want to deliver performance-optimized experience on multiple devices
  - Full-screen touch mode: directions only, with easy access to ingredients list. Extremely useful, especially when you have your hands covered in flour and are following directions on a tablet.
  - "Tips" section: when technique is important, or flexibility is allowed the directions-only may be insufficient
  - SEO: use standard micro-formats for ingredients, steps and time so the recipes can be easily shared, searched, indexed, etc.
  - add yield, prep time and total time required
  - add ingredient and steps sections: some non-basic recipes benefit tremendously from the added organization (e.g. "dry ingredients", "wet ingredients"
  - usability: UI should be usable and text should be readable from 24-inch distance
Re:Show HN: Recipe search engine, built in vanilla PHP by rglullis on Friday May 06, 2022 @05:33PM (#31289821)
+1 for microformats. OP, please take a look at https://microformats.org/wiki/h-recipe and others will be able to make it sharing and integrating with their own software a lot easier.
Re:Show HN: Recipe search engine, built in vanilla PHP by innerbits on Friday May 06, 2022 @08:48PM (#31291154)
I used https://schema.org/Recipe for mine over h-recipe because that's what Google had references in https://developers.google.com/search/docs/advanced/structure...
Re:Show HN: Recipe search engine, built in vanilla PHP by nsemikey on Friday May 06, 2022 @06:13PM (#31290114)
never heard of this before, will def take a look!
Re:Show HN: Recipe search engine, built in vanilla PHP by nsemikey on Friday May 06, 2022 @06:13PM (#31290110)
great tips thanks!