Integrating Features of Draft into Habari

53 views
Skip to first unread message

Les Henderson

unread,
Jan 31, 2014, 4:36:45 PM1/31/14
to habar...@googlegroups.com
Since Mark M. pointed out Draft https://draftin.com , I thought I'd pass on the info sent from the developer.

"I would love to see Draft integrated into more things. There are 2 ways people have been incorporating Draft into their platforms. The Draft API http://docs.withdraft.com/#rest-api or Webhooks: http://docs.withdraft.com/#webhooks "

Nathan Kontny

Chris J. Davis

unread,
Jan 31, 2014, 4:45:38 PM1/31/14
to Habari Dev
Hmm, not sure how we would leverage this well. Something to think about though. Thanks for bringing it to our attention Les.

--
--
To post to this group, send email to habar...@googlegroups.com
To unsubscribe from this group, send email to habari-dev-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/habari-dev
---
You received this message because you are subscribed to the Google Groups "habari-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to habari-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Chris Meller

unread,
Feb 4, 2014, 12:45:13 PM2/4/14
to Habari Dev
They don’t have an API, so it’s not directly relevant to this discussion, but I thought I’d point out Penflip (penflip.com). It’s more focused around a workflow similar to Git (version control among a team) than Draft’s write-and-have-someone-review method, but I find the interface more appealing. Just thought I’d give it a shoutout in case anyone hadn’t seen it.

TexasMynsted

unread,
Feb 4, 2014, 4:55:45 PM2/4/14
to habar...@googlegroups.com
Penflip looks interesting.  Because it is built on git, it can be treated like a normal git repository.  Integration would seem to be along the lines of git integration.  The problem I see with penflip is that I see no way to keep penflip projects private.  I would not want to have writing public while it is still unreleased and or being worked on by an editor.

The killer features of collaborative writing tools are:

- Markdown for simple presentation (Markdown is the Future. There are habari plugins supporting Markdown)

- Revisions (Habari already supports revisions of posts, or at least it is possible to keep editing a post before publishing it.)

- Diff (This is vital for editing.  I do not know of anything in Habari to do this.  There is this --> diff-implementation but it is targeted to code which is not a perfect fit for writing.  Creating a php diff tool for writing would likely be an outstanding and popular project.)

A comparison of collaborative writing tools can be found here --> Collaborative Writing Tools in the Lab

I am not sure if integrating any existing solution is right for Habari, perhaps implementing something like this, in Habari is the better solution.

Chris Meller

unread,
Feb 4, 2014, 5:02:15 PM2/4/14
to Habari Dev
When you create a project it asks whether it should be public or private along with the name.

Markdown sucks. It’s not the future, it needs to die.

Revisions are saved, we simply have no UI to expose it or provide diffs at present. That’s something we’ve talked about recently (specifically related to wiki functionality).

It should be noted there is a plugin that integrates with Simple Note that exposes your notes as a silo. That’s a pretty easy way to integrate something like this into Habari.


TexasMynsted

unread,
Feb 5, 2014, 10:48:48 AM2/5/14
to habar...@googlegroups.com
I still prefer having the features built-in to habari over integrating something.  If built-in, there would be no reason to force somebody to use Markdown.
The diff piece still seems like the most challenging part.  (A nice writer/editor targeted diff.)

Chris Meller

unread,
Feb 5, 2014, 2:16:37 PM2/5/14
to Habari Dev
I agree. I think it was always expected they would eventually make themselves into plugins so Habari could handle it directly.

Diffs aren’t that hard. There are libraries (like SimpleDiff: https://github.com/paulgb/simplediff/blob/master/php/simplediff.php) that cover the basics and are only a few lines long. They obviously wouldn’t be nearly as good as Git’s diffs or the ones produced by the actual diff command line tool, but we could get it done relatively painlessly.

I wouldn’t say the two methods are mutually exclusive, though. Saving revisions in Habari is a great feature, but I write other things in Penflip as well… Just because I plan for it to be a blog post doesn’t mean I should have to dump the tool I use. I think there’s plenty of room for both.


Reply all
Reply to author
Forward
0 new messages