diff --git a/local/bin/mreflow b/local/bin/mreflow index e359db1..2610791 100755 --- a/local/bin/mreflow +++ b/local/bin/mreflow @@ -8,7 +8,7 @@ printf "\n" read line || exit 0 while true; do - if [ "${line% wrote:}" != "$line" ]; then + if [ "${line% wrote:}" != "$line" -o "${line%,}" != "$line" ]; then printf "%s\n" "$line" read line || exit 0 fi diff --git a/mblaze/filter b/mblaze/filter index 5bc9029..5c8d4f9 100644 --- a/mblaze/filter +++ b/mblaze/filter @@ -1,3 +1,4 @@ text/html: w3m -dump -o display_link_number=1 -I $PIPE_CHARSET -T text/html text/calendar: cat -text/plain: mflow +application/ics: khal printics +text/plain: mflow -w 72 diff --git a/mblaze/headers b/mblaze/headers index 9f129f2..f0ebfca 100644 --- a/mblaze/headers +++ b/mblaze/headers @@ -1 +1,2 @@ -Content-Type: text/plain; charset=UTF-8; format=flowed \ No newline at end of file +Content-Type: text/plain; charset=UTF-8; format=flowed +