[Scribus] Re: how to export this attachment "of topic"

Sjoerd Hiemstra shiems.scribusML
Sun Nov 9 13:06:09 CET 2003


Gunther Thoenes wrote:

--Boundary-00=_4JWr/Bh0Wp2mGZF
Content-Type: text/plain;
  charset="us-ascii";
  name="Document-1.sla"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="Document-1.sla"
PFNDUklCVVNVVEY4IFZlcnNpb249IjEuMS4yIiA+CiA8RE9DVU1FTlQgQUJTVFNQQUxURU49IjEx
IiBQQUdFV0lUSD0iNTk1IiBBVVRPQ0hFQ0s9IjAiIExBTkdVQUdFPSIiIERQSW4yPSIiIERQZ2Ft
PSIwIiBIQ01TPSIxIiBPUklFTlRBVElPTj0iMCIgTUlOV09SRExFTj0iMyIgVlRJRUZTQz0iMTAw
IiBDT01NRU5UUz0iIiBUSVRMRT0iIiBLRVlXT1JEUz0iIiBEU0laRT0iMTIiIEFVVE9TUEFMVEVO
snip --8<
IENoYXJ0ZXIgQm9sZCIgQ0VYVFJBPSIwIiBDU1RST0tFPSJCbGFjayIgLz4KICAgPC9QQUdFT0JK
RUNUPgogIDwvUEFHRT4KICA8UEFHRSBOVU09IjAiIE5BTT0iTm9ybWFsIiBMRUZUPSIwIiBOdW1W
R3VpZGVzPSIwIiBIb3Jpem9udGFsR3VpZGVzPSIiIE1OQU09IiIgTnVtSEd1aWRlcz0iMCIgVmVy
dGljYWxHdWlkZXM9IiIgLz4KIDwvRE9DVU1FTlQ+CjwvU0NSSUJVU1VURjg+Cg==

--Boundary-00=_4JWr/Bh0Wp2mGZF--

> Hallo Scribus creator__s,
> I use Ximian Evolution Mail in RH9, only the attachment__s from the
> scribus-list show__s like above. Other Attachment__s comes with a button.
> Knows someone how to save the attachment to disk that so i can open this
> in scribus?

Apparently, Evolution is not decoding the Mime-encoded attachments.
Haven't found a setting in Evolution to accomplish this.
But you can still do it yourself.
There used to be mmencode and uuencode for this, on SUSE 8.2 I only found
uudeview. 
So if you copy the text above, including the boundaries, to a file named tmp,
then execute 'uudeview tmp', the result is 'Document-1.sla' containing this:

<SCRIBUSUTF8 Version="1.1.2" >
 <DOCUMENT ABSTSPALTEN="11" PAGEWITH="595" AUTOCHECK="0" LANGUAGE="" DPIn2=""
DP gam="0" HCMS="1" ORIENTATION="0" MINWORDLEN="3" VTIEFSC="100" COMMENTS=""
TITLE="" KEYWORDS="" DSIZE="12" AUTOSPALTEN Charter Bold" CEXTRA="0"
CSTROKE="Black" /
>
   </PAGEOBJECT>
  </PAGE>
  <PAGE NUM="0" NAM="Normal" LEFT="0" NumVGuides="0" HorizontalGuides=""
MNAM="" NumHGuides="0" VerticalGuides="" />
 </DOCUMENT>
</SCRIBUSUTF8>

Another utility I often use for decoding stuff like this is the Linux version
of Stuffit (containing 'stuff' and 'unstuff'), obtainable from
http://www.stuffit.com.
'unstuff tmp' gives the same result.

S.H.



More information about the scribus mailing list