fix some typos

This commit is contained in:
Yann Esposito (Yogsototh) 2019-11-04 08:31:59 +01:00
parent 058a1b1ae7
commit 54f94c9137
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
3 changed files with 4 additions and 13 deletions

View file

@ -3,6 +3,8 @@
rootdir=${0:h} rootdir=${0:h}
echo $rootdir echo $rootdir
echo "Full Build"
./fullbuild.sh
echo "Building RSS" echo "Building RSS"
./mkrss.sh ./mkrss.sh
echo "RSS Built" echo "RSS Built"

View file

@ -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

View file

@ -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. 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 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 =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 So a simpler idea inspired by lb[fn:lb] is to generate the RSS directly
from the generated HTML files. from the generated HTML files.
The only difficulty is to find the metadata inside those HTML. The only difficulty is to find the metadata inside those HTML.
Unfortunately there is no real standard for all those metas. Unfortunately there is no real standard for all those metas.
Has there is no standard place to have all those meta informations inside So to use the HTML as source you'll need to "parse" the HTML file.
an HTML file in order to use the HTML as source you'll need to "parse" the
HTML file.
For that purpose I use =html-xml-utils=[fn:hu]. For that purpose I use =html-xml-utils=[fn:hu].
I wrote a simple zsh script; it starts with lot of variables to fill: I wrote a simple zsh script; it starts with lot of variables to fill:
#+begin_src bash #+begin_src bash
# Directory # Directory
webdir="_site" # directory containing your website html files webdir="_site" # directory containing your website html files