Sorry I did not make my point right at the begin. 

I was wondering if possible to implement a feature/plugin to *attach/store* 
local files (such as excel files, photoshop files, etc) *under a folder* at 
the same level as the TiddlyWiki file. Please see "suggestion.png" for the 
actual logic and details.

I don't mean to embed the local files inside TiddlyWiki file which would 
create a huge performance impact.

On Thursday, June 18, 2015 at 1:26:47 PM UTC-7, PMario wrote:
>
> Hi,
> TiddlyWiki allows you to embed files. eg: small images and even small 
> PDFs. ... If you just want to embed _some_ files it may be OK. 
> See reasoning below.
>
> On Thursday, June 18, 2015 at 8:34:03 PM UTC+2, [email protected] wrote:
>>
>>
>> *Motivation*
>>
>>    - Research / Analysis often involves not only notes taking, but also 
>>    capturing relevant files of any source (such as excel files, photoshop 
>>    files, etc)
>>
>> Excel and Photoshop, especially Photoshop files tend to be huge, if you 
> embed them into TW. TiddlyWiki is an HTML file. HTML is text. So you can't 
> attach a binary file into an HTML file. It needs to be converted into a 
> text based format. 
> This format is called base64. TW does exactly that. The down side is, that 
> it increases the file size. eg: a 500kByte jpg image will need ~800kByte 
> embedded. Which is about 60% more. ... 
>
> So storing many big binary files in TW is not recommended. You will _not_ 
> be happy. HTML files are not designed for that. What you can do, is store 
> links to the files in your TW. So you have the meta data in TW, but let the 
> files rest on the file system. 
>
>
>>    - These files will be forgotten after awhile, because: 
>>    - there is no notes to describe what they are
>>       - they end up scattered around in different folders/directories
>>    - For any useful notebook, the ability to keep both notes and files 
>>    next to each other is highly beneficial
>>
>> Yes. but keep them separate. If you need to store them, within one file. 
> Create a zip file, which can be handled on the OS level. 
> Compression formats have been designed for this task. 
>  
>
>>
>>    - In contrast, TiddlyWiki as a notebook software does not seems to 
>>    allow attaching files
>>    
>> It is possible and makes sense for some small files. As I wrote. HTML is 
> not ZIP ... in the contrary.
> At the moment TW recognises and hand full of file types. see: 
> https://github.com/pmario/TiddlyWiki5/blob/master/boot/boot.js#L1771
>
> To save them back we use the browser right click: "Save as" button. 
> FireFox has an built in viewer, that also lets you save PDFs for example. 
>
> So depending on the file type, handling may or may not be convenient. ... 
>
> So, good idea, but wrong tool if you have many huge files. 
>
> -mario
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/4d363080-d43e-4eed-a980-c8189b0e736a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to