Possible to include/transclude contents of an external text file into a tiddler?

535 views
Skip to first unread message

Matthew Petty

unread,
Jan 14, 2015, 4:48:07 AM1/14/15
to tiddl...@googlegroups.com
I have settled on using todo.txt (http://todotxt.com/) to manage my todo list. I recommend it. I still use TW5 for more in-depth note-taking and organization. My todo.txt lives in Dropbox, near my TiddlyWiki file. Is it possible to transclude the contents of the todo file into a tiddler? Can it be done with a relative path, so that it will work whereever I access my TW from?

Tobias Beer

unread,
Jan 14, 2015, 5:29:34 AM1/14/15
to tiddl...@googlegroups.com
I have settled on using todo.txt (http://todotxt.com/) to manage my todo list. I recommend it.

Not trying to convince you otherwise...
May I ask why the decision to use that and not TiddlyWiki?
Specifically, what was (mostly) missing in TiddlyWiki that you get with todotxt.com?
(preferably indicating importance: 10-high / 1-low)

Is it possible to transclude the contents of the todo file into a tiddler?
Can it be done with a relative path, so that it will work whereever I access my TW from? 

This...

<object data="./text.txt" type="text/plain" style="width:100%;height:400px;" scrolling:yes>
<a href="./text.txt">text.txt</a> (embedding not supported)
</object>

...works for me.

Best wishes, Tobias.

Tobias Beer

unread,
Jan 14, 2015, 5:37:31 AM1/14/15
to tiddl...@googlegroups.com
Demo...


Best wishes, Tobias.

Mark S.

unread,
Jan 19, 2015, 4:24:24 PM1/19/15
to tiddl...@googlegroups.com
I couldn't get this code to work with a local file. Does it only work with http ?

For organizing daily tasks stored in plain text, emacs org-mode has loads of functionality and a wide user base.

Is there a good meta-app for task management in TW5? OM will let you quickly see a calendar for today, change dates, priorities, tags, statuses, and edit tasks.
 
Mark

Mat

unread,
Jan 19, 2015, 4:46:50 PM1/19/15
to tiddl...@googlegroups.com
@Mark S

I got it to work by copying Tobias code and put in a local file like this:

<object data="file:///C:/Users/........" type="text/plain" style="width:100%;height:400px;" scrolling:yes>
<a href="file:///C:/Users/.........." target="_blank">EnTiddler.tid</a> (missing or not supported)
</object>

Mark S.

unread,
Jan 19, 2015, 5:26:24 PM1/19/15
to tiddl...@googlegroups.com
Thanks! Seems to be another situation where the code is case sensitive.

Mark

Matthew Petty

unread,
Jan 20, 2015, 6:10:05 AM1/20/15
to tiddl...@googlegroups.com
Thanks Tobias, that works great.
The reason I'm using todo.txt for task management is the mobile aspect and the flexibility. I have a windows client at work, a linux client at home, an Android app, and if necessary I can edit the todo.txt directly.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/dYIbm6FpYfc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
website: matthewpetty.com

READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

Mark S.

unread,
Jan 21, 2015, 12:40:27 PM1/21/15
to tiddl...@googlegroups.com
Whatever system works best for you is ... best ... of course, But just a note that TW5 works on FF in  windows, Linux, and Android tablets.

Mark
Reply all
Reply to author
Forward
0 new messages