-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store blog entry files in Dropbox #109
Comments
What is the problem to keep articles in Dropbox folder? |
none, I was filing a feature request to pull from a dropbox folder instead of the articles directory within dorothy. If I can scrape the spare time together to implement soon I shall, but I thought I would at least file it in case someone else had thoughts. |
Well, that was what I was basically asking about. require 'toto'
Toto::Paths[:articles] = '/home/ixti/Dropbox/blog'
toto = Toto::Server.new do
set :author, "Aleksey V. Zapparov AKA ixti"
set :title, "ixti's personal sandbox"
set :url, "http://blog.ixti.net"
set :markdown, [:gh_blockcode, :strikethrough, :fenced_code, :no_intraemphasis]
set :disqus, "ixti"
set :cache, 24*60*60
set :error, lambda { |code|
code = 500 unless [400, 404, 500].include? code.to_i
IO.read "public/#{code}.html"
}
end |
except when I'm hosted on Heroku, my Dropbox directory isn't mounted there. My thinking was having toto pull using the Dropbox api so that i could update blog articles without needing to do the push with git. Similiar to issue #108, just on dropbox instead of Github. |
Hmm... Interesting idea, but to e honest git-based storage seems more interesting for me :)) |
I found Calepin, a service that serves up Markdown formatted files stored in a Dropbox folder. But it has some significant drawbacks that our beloved toto solves, namely that toto is self-hostable, and themable.
Storing my my blog entries in a Dropbox folder would make it much easier to publish entries when I'm on the go and my access to a terminal for git pushes is limited.
http://zerodistraction.com/blog/2011/11/24/calepin-a-dropbox-powered-blogging-tool.html
The text was updated successfully, but these errors were encountered: