Skip to content

Instantly share code, notes, and snippets.

View bsoist's full-sized avatar

Bill Soistmann bsoist

View GitHub Profile
@bsoist
bsoist / bsoistVerbs.taskThis.js
Last active December 20, 2015 15:09
One of my verbs for converting to TaskPaper format. See http://4a.bsoi.st/ for more information
/*
One of my verbs for use converting
OPML to TaskPaper
See http://4a.bsoi.st/ for more information
*/
taskThis: function(filename) {
var bsoist_ext = '.todo';
if (! filename ) {
filename = file.getCurrentFilePath().split('.')[0] + bsoist_ext;
@bsoist
bsoist / Taskpaper Scripts
Last active December 20, 2015 15:09
Takes the current node and converts to TaskPaper format. See http://4a.bsoi.st/ for more information.
// See http://4a.bsoi.st/ for more information
Task This
dialog.ask("Enter a file name ", "", "", function(answer) {
bsoistVerbs.taskThis(answer);
});
Task Whole Outline
op.firstSummit();
bsoistVerbs.taskThis(false);
@bsoist
bsoist / bsoistVerbs.js
Last active December 20, 2015 15:09
My own verbs to load into Fargo.io.
/*
Heavily inspired by
Jeffrey Kishner [ http://blog.jeffreykishner.com/ ]
Ken Smith [ http://smith.smallpict.com/ ]
and
Dave Winer [ http://scripting.com ]
I'm working on posts to give proper credit.
*/
@bsoist
bsoist / Task Whole Outline
Last active December 20, 2015 15:09
This Fargo script takes the whole file and converts it to a format readable by TaskPaper. See http://4a.bsoi.st/ for more information.
/*
See http://4a.bsoi.st/ for more information
and an updated version of this.
*/
Task Whole Outline
var taskdata = "";
var bsoist_prefix = "";
var bsoist_suffix = ":\r\n";
op.firstSummit();
op.visitSubs(