3 ms·
No offense to Joe, cause I LIKE the effort, I suppose, but it seems like a really long way around to get to where you were headed. As has been listed, rsync /
by bmelton 15y ago
No offense to Joe, cause I LIKE the effort, I suppose, but it seems like a really long way around to get to where you were headed.
As has been listed, rsync / git / NFS shares etc would have been a really easy way to get your objectives met UNTIL I read your response that this was for your girlfriend, and asking her to do a command line would be hard. Then I read further and saw this:
A password-protected drafts page allows me to preview drafts before publishing. Once they are done, I add the timestamp, save the file, and it's published."
That part seems more complicated to me than just hitting 'publish' on a Wordpress page, but so as to keep from sounding overly negative (cause really, kudos for doing what works) here are my tips to make it even easier.
1) Set up cron to restart the dropbox service every few hours. That should be a no-brainer, and would at least save you having to explain how every now and again you have to SSH into your server to fix your 'super easy' solution.
2) From an end-user perspective, I'm thinking rip off the old email-consumption strategy. Write the code to just check a POP server every couple of hours for unread messages. If there's a message, check to see if it's from your girlfriend's email address (optional). If it's from her, then publish it.
Markdown syntax would still apply, and you've now relegated blog posting to something as easy as just 'sending an email'.
- dirtyaura 15y agoEmail won't do, you want to e.g fix typos after publishing. I also think that there's something powerful in "all posts in one file" strategy. You might revise drafts more often, read older posts again to expand on them etc. I'm going to try that
- Terretta 15y agoSo on the server, write the emails to a single file in Dropbox. Like .mbox with markdown level 1 instead of headers. Default input by email, revisions or alternate new via dropbox.
- icebraining 15y agoSimple: the system/blog replies with a confirmation of reception that includes the post text. Just hit reply, edit it and send.