From 54f94c91377ef0f3802fde04a1bcf9e90d1fb6d2 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Mon, 4 Nov 2019 08:31:59 +0100 Subject: [PATCH] fix some typos --- deploy.sh | 2 ++ reduce-images.sh | 8 -------- src/posts/rss-gen.org | 7 ++----- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100755 reduce-images.sh diff --git a/deploy.sh b/deploy.sh index 4b90f6d..6388e08 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,6 +3,8 @@ rootdir=${0:h} echo $rootdir +echo "Full Build" +./fullbuild.sh echo "Building RSS" ./mkrss.sh echo "RSS Built" diff --git a/reduce-images.sh b/reduce-images.sh deleted file mode 100755 index 3193622..0000000 --- a/reduce-images.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env zsh -for fic in src/**/*.{jpg,png,gif}(N.); do - tmp="temp.${fic:e}" - echo "$fic" - cp $fic $tmp - convert $tmp -resize 800x800\> $fic - rm $tmp -done diff --git a/src/posts/rss-gen.org b/src/posts/rss-gen.org index f599262..482538d 100644 --- a/src/posts/rss-gen.org +++ b/src/posts/rss-gen.org @@ -30,21 +30,18 @@ I use =org-mode= for generating my website, and the =ox-rss= is quite slow when generating an RSS with the full content of each item. Mainly, the way to achieve full content of my articles inside an RSS with =ox-rss= is by first creating a very big org file containing all the -articles, and then transforming it in RSS. And this is very slow (many minutes). +articles, and then transforming it in RSS. And this is very slow (several minutes). So a simpler idea inspired by lb[fn:lb] is to generate the RSS directly from the generated HTML files. The only difficulty is to find the metadata inside those HTML. Unfortunately there is no real standard for all those metas. -Has there is no standard place to have all those meta informations inside -an HTML file in order to use the HTML as source you'll need to "parse" the -HTML file. +So to use the HTML as source you'll need to "parse" the HTML file. For that purpose I use =html-xml-utils=[fn:hu]. I wrote a simple zsh script; it starts with lot of variables to fill: - #+begin_src bash # Directory webdir="_site" # directory containing your website html files