fix some typos
This commit is contained in:
parent
058a1b1ae7
commit
54f94c9137
|
@ -3,6 +3,8 @@
|
|||
rootdir=${0:h}
|
||||
echo $rootdir
|
||||
|
||||
echo "Full Build"
|
||||
./fullbuild.sh
|
||||
echo "Building RSS"
|
||||
./mkrss.sh
|
||||
echo "RSS Built"
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue