Re: [tw] Drag N Drop Email (From Thunderbird)

2018-02-02 Thread Furicle


Yes, that does sounds ideal.  Auto splitting attachments, plain and html 
text into into their own tiddlers so you could choose to import or discard, 
very cool.

After doing a bit of reading about deserializers being part of the TW core, 
it also sounds well above my current abilities. :-)


Thanks for the note, though, it proves I wasn't missing something obvious.

On 2/2/2018 3:53 AM, Jeremy Ruston wrote:

Hi furicle, 

It sounds like the best solution would be create a tiddler deserializer for 
the message/rfc822 format. A deserializer is a JavaScript function that 
generates tiddlers given a block of text and a MIME type. The 
message/rfc822 format can contain multiple blocks of content (eg, a message 
and the attached images) which would be converted into separate tiddlers.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2d2fbb2-3f2f-4270-9575-443015b36b4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Drag N Drop Email (From Thunderbird)

2018-02-02 Thread Jeremy Ruston
Hi furicle,

It sounds like the best solution would be create a tiddler deserializer for the 
message/rfc822 format. A deserializer is a JavaScript function that generates 
tiddlers given a block of text and a MIME type. The message/rfc822 format can 
contain multiple blocks of content (eg, a message and the attached images) 
which would be converted into separate tiddlers.

Best wishes

Jeremy.

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 1 Feb 2018, at 16:54, Furicle  wrote:
> 
> 
> I put a lot of email content into my wiki, with my own notes above/below.  
> 
> But I can't find a good, simple way to both retain the basic formatting, and 
> intersperse my own text.
> 
> 
> Right now I'm 
> right-click → copy to clipboard → message in Thunderbird
> open a new tiddler
> paste
> set the pasted material as plain text via ```
> 
> I lose colour, clickable links, pretty formatting of the headers, pretty 
> indentation etc
> 
> 
> The other way I've found is to 
> save the email as HTML
> import the html file into a tiddler
> create a tiddler and transclude  the email in
> I get clickable links and formatting, but I can't edit the content of the 
> email or make notes inside of it without hand editing HTML
> 
> 
> 
> What I'd like to be able to do is just drag and drop it in. 
> 
> If I do that, it creates a tiddler with a type of message/rfc822  
> 
> The top half is the plain text version of the email, with mangled formatting.
> The bottom half is the html portion, displayed reasonably well.
> 
> If I could tell it to hide the plain text portion, that would save a couple 
> steps, but I'm still hand editing HTML when I want to intersperse things.
> 
> Can I change document types "mid tiddler" so to speak?
> Or?
> 
> Any suggestions appreciated,
> 
> Furicle
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/545f9a60-9c4c-4f76-9220-f6ee261a65df%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2D7C36B3-26C7-4B2C-97A8-4C0FC7728341%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Drag N Drop Email (From Thunderbird)

2018-02-01 Thread Furicle

I put a lot of email content into my wiki, with my own notes above/below.  

But I can't find a good, simple way to both retain the basic formatting, 
and intersperse my own text.


Right now I'm 

   - right-click → copy to clipboard → message in Thunderbird
   - open a new tiddler
   - paste
   - set the pasted material as plain text via ```


I lose colour, clickable links, pretty formatting of the headers, pretty 
indentation etc


The other way I've found is to 

   - save the email as HTML
   - import the html file into a tiddler
   - create a tiddler and transclude  the email in

I get clickable links and formatting, but I can't edit the content of the 
email or make notes inside of it without hand editing HTML



What I'd like to be able to do is just drag and drop it in. 

If I do that, it creates a tiddler with a type of message/rfc822  

The top half is the plain text version of the email, with mangled 
formatting.
The bottom half is the html portion, displayed reasonably well.

If I could tell it to hide the plain text portion, that would save a couple 
steps, but I'm still hand editing HTML when I want to intersperse things.

Can I change document types "mid tiddler" so to speak?
Or?

Any suggestions appreciated,

Furicle

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/545f9a60-9c4c-4f76-9220-f6ee261a65df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.