Copy - paste html source into tiddlywiki - download embedded media offline

83 views
Skip to first unread message

St Te

unread,
Feb 7, 2016, 1:41:40 PM2/7/16
to TiddlyWikiDev
Hi,

Sorry for double posting, I started and closed a discussion on the TiddlyWiki group.

I'm currently using my tiddlywiki on a day to day basis and loving it.
I own over 2000 tiddlers as of today, most of them projects and or articles that I've copied and pasted into 
tiddlywiki manually.
I know that tiddlywiki is capable of using the <html> tag, but this doesn't cover the following needs :
  • I want to be able to copy paste a page source and node.js / tiddlywiki download the images / optionally other resources and link them inside my .tid file. 
  • Why I want this ? The full text search works wonders and currently the only way I backup my favourite articles is with getpocket, and I don't control the content.
  • Is it possible to create a plugin that would do just that ?
  • What are the limitations from the code side ?

I'd be willing to write this plugin, I'm a C dev at the moment, no experience with JS/web tech.
But your advice would help.

Regards,
S

BJ

unread,
Feb 8, 2016, 2:41:59 AM2/8/16
to TiddlyWikiDev
Hi St Te,

if you are using ff or chrome then there is a programmable browser/tiddlywiki plugin called tiddlyclip that allows for web content to be sent and included in a tiddlywiki. There is also a firefox plugin (tiddlyfox) that allows files to be saved. Currently images are not saved. I am not sure if it is possible to download images from code within a webpage, it is possible to do this will node.js, if you are using the node version (a tw5 plugin would need too be written). Tiddlyclip is quite flexible and programmable, see

https://groups.google.com/forum/#!topic/tiddlywiki/RWACKEmd9BA

A background in 'c' is a good place to start learning js - I found js to be a nature extension of 'c' in the sense that it is possible to see how things are implemented. I followed this route from 'c'  to js. My javascript was 'c' like at first but functional, it soon improved.

All the best

BJ
Reply all
Reply to author
Forward
0 new messages