X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=mimedecode.docbook;h=5282d1c19e15c33f0571736bfca1636db1bc6e05;hb=447050247973e721ede0065cb08d2b565ca0d47a;hp=29a02e08b95831c7cca7b917dc0e65c906826a56;hpb=e817999a63e6187e7c1dbf04a05cb83db4be0505;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index 29a02e0..5282d1c 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -1,9 +1,24 @@ - + + + mimedecode.py + mimedecode.docbook + + Oleg + Broytman + phd@phdru.name + + + + 2001-2014 + PhiloSoft Design. + + + mimedecode.py 1 @@ -93,9 +108,9 @@ multipart/mixed, e.g) every part is recursively decoded. If it is not multipart, mailcap database is consulted to find a way to convert the body to plain text. (I have no idea how mailcap could be configured on said M$ Ophice GUI, please don't ask me; real OS users can consult my example at -http://phdru.name/Software/dotfiles/mailcap.html). The decoding process uses -first copiousoutput filter it can find. If there is no any filter the body just -passed unconverted. +http://phdru.name/Software/dotfiles/mailcap.html). +The decoding process uses first copiousoutput filter it can find. If there is +no any filter the body just passed unconverted. @@ -254,7 +269,7 @@ cat input_file | mimedecode.py -o output_file - The last 4 options (-beit) require more explanation. They allow a user + The 4 list options (-beit) require more explanation. They allow a user to control body decoding with great flexibility. Think about said mail archive; for example, its maintainer wants to put there only texts, convert Postscript/PDF to text, pass HTML and images as is, and ignore everything @@ -262,7 +277,7 @@ else. Easy: - + mimedecode.py -t application/postscript -t application/pdf -b text/html -b 'image/*' -i '*/*' @@ -351,7 +366,8 @@ the program will recode the message to the wrong charset. SEE ALSO - mimedecode.py home page: http://phdru.name/Software/Python/#mimedecode + mimedecode.py home page: + http://phdru.name/Software/Python/#mimedecode