[ -s parse.hash ] && hash_our=`cat parse.hash` || :
[ -s download.hash ] && hash_their=`cat download.hash` || :
[ "$hash_our" != "$hash_their" ] || exit 0
-zstd -d < feed.zst | $cmds/feed2mdir/feed2mdir . > title.tmp
+[ -s max ] && max=`cat max` || max=${FEEDER_MAX_ITEMS:-100}
+zstd -d < feed.zst | $cmds/feed2mdir/feed2mdir -max-entries $max . > title.tmp
mv title.tmp title
echo $hash_their > parse.hash