X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=processor%2Ffeed.xml.do;h=4f67b271657b210680b3f65a5951ca25b4a67c94;hb=eb9cbfe0b76e217743a18950693d90ebd3a20690;hp=14ead597b0f7d88f25d64a02af04683493483ef8;hpb=5a17d0898d72bc8574601f57f26af8d3e0da2288;p=redo-blog diff --git a/processor/feed.xml.do b/processor/feed.xml.do index 14ead59..4f67b27 100644 --- a/processor/feed.xml.do +++ b/processor/feed.xml.do @@ -35,6 +35,8 @@ printf "urn:uuid:%s\n" "$uuid" # Iterate through most recent entries (go by lastmod date of source files) to # build feed head "updated" element, and individual entries. +# FIXME: This ls parsing is a bad way to loop through the sorted files. Besides, +# $('\0') is a bashism. first_run=0 files=`ls -1t *.rst *.md | head -10 | tr '\n' $'\0'` oldIFS="$IFS"