From f75c67b865002ca09e9fc4cbdef6400d87ec4597 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Thu, 18 Aug 2022 11:26:14 +0200 Subject: [PATCH] added Ja! Pesto Rosso, fixed minor bugs --- blog.md | 26 +++++++++++++++++++++++++- parse-md.py | 2 +- process-images.sh | 2 +- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/blog.md b/blog.md index ac34f63..cc3be03 100644 --- a/blog.md +++ b/blog.md @@ -206,7 +206,7 @@ Each pesto is compared in these categories: *images:* DSC_1224.jpg, DSC_1225.jpg -### Ja "Pesto Verde" +### Ja! "Pesto Verde" *Date:* 2022-08-14 *Eaten with:* Girandole @@ -230,6 +230,30 @@ Each pesto is compared in these categories: *images:* DSC_1223.jpg +### Ja! "Pesto Rosso" +*Date:* 2022-08-15 + +*Eaten with:* Girandole + + +*ingredients:* dried tomatoes (39%), sunflower oil, tomato pulp (7%), basil (7%), olive oil (2.5%), sugar, salt, pine nuts (1.5%), garlic, wine acid, ascorbic acid, lactic acid. + + +| Category | Rating / Value | +|-------------|----------------| +| taste | 4/5 | +| consistency | 4/5 | +| ingredients | 4/5 | +| price | 1.19€ | +| size | 190g | + +*notes:* This pesto is very simple, but not in a bad way, it's actually quite tasty!. You can definitely taste that there's a lot of dried tomatoes in it. I'm not a huge fan of the acidity though, which definitely detracts from the whole experience. The pesto is quite oily, but nothing to be afraid of. It still forms a nice emulsion if you want it to. This pesto good to okay, I'll rate it on the higher end of that because of the price. + +**Final verdict:** ★★★★☆ + +*images:* DSC_1226.jpg + + ### Template Make "Name" (Variant) *Date:* date diff --git a/parse-md.py b/parse-md.py index e3d4b94..86ec876 100644 --- a/parse-md.py +++ b/parse-md.py @@ -206,7 +206,7 @@ class MarkdownBlogParser: def parse(self): line, span = self.read_until('\n', inclusive=True) - result = re.fullmatch(r'### ([\w\s&-/]+)\s+("[^"]+")[ \t]*(\([^)]+\))?\n', line) + result = re.fullmatch(r'### ([\w\s&-/!]+)\s+("[^"]+")[ \t]*(\([^)]+\))?\n', line) if not result: raise ParseError("Expected review heading of form '### Company \"pesto name\" (variant)\n'", span.transform(end=-1)) # now we get the first bit of info! diff --git a/process-images.sh b/process-images.sh index 3d03afe..14ed580 100755 --- a/process-images.sh +++ b/process-images.sh @@ -4,7 +4,7 @@ set -eu -for file in web/img/*; do +for file in web/new_img/*; do exiftool -All:All= \ -TagsFromFile $file \ -DateTimeOriginal \