Google Search used:
“post by e-mail” AND draft site:wordpress.com
Third result poses question:
can the default publish status be “draft”, or are all Post by Email submissions published immedately
The site is en.blog.wordpress.com
So this is probably what I am interested in.
From another blog, I may have found the answer.
Somewhere in the post via e-mail, the post needs to have the text “status.draft”
I imagine this could go before my “Hi Chad” blog.
Here’s the clue I lifted from another site that mentions a “hack” for getting speech-to-post, which could be useful for some researchers, but not me.
Save Your Blog Post as a WordPress Draft
At first, you will probably want your post to be saved as a WordPress draft blog post, rather than a published post, in your blog — since the original transcription draft will probably be a little rough. If so, you must type the following text somewhere in your post: [status.draft]
After saving it as a draft, you can finalize it and then publish it later from inside WordPress.
I probably have my answer but since I typically open new tabs from search results, I got my “http://en.blog.wordpress.com/2009/05/12/post-by-email/” link that showed up from the initial Google search results.
I’m pretty sure I’ve seen this page before so I did a ctrl-F for “draft” to find where this was, and it was mentioned in the comments. The comments lead me to a new link and keyword shortcode.
Apparently the shortcodes are little instructions for the wordpress platform to do certain things. There are maybe two dozen of them that might be worth looking into more.
Here is a discussion of them:
And some more documentation here:
Interestingly, there are shortcode sets for Google Docs, LaTeX <http://en.support.wordpress.com/latex/>, and Microsoft Skydrive Excel Web App. These could all potentially be useful to the open notebook researcher using a wordpress open notebook.
Regarding the list of shortcodes, some that may be useful include:[excerpt]some excerpt[/excerpt] [title Your post title] [end] – everything after this shortcode is ignored (i.e. signatures). Make sure it’s on its own line with a blank line above it. [category Hol,Fo] (e.g., category “holiday” and category “food”
[tags one potato, two potato, three potato, more] Some time delays from 1 hour to several days can also be used.
So, with this info, my next step is to try it out with my message about evolution visualization.
Also from my previous entry I was confused about nothing being posted and suspected the “boilerplate” e-mail heading with your basic e-mail metadata.
Looking over this again, the problem was the <hr> in the forwarded e-mail.
I’ve deleted that and kept the “metadata” and tried again.
tags visualization, network analysis
I’m also going to try changing the title to something like “Network Visualization with NESCENT GeoPhyloBuilder”
And of course, status.draft.
Build those in there.
Actually putting them in a group at the end. See how that goes.
The title is actually a good one to see if there is a difference with upper and lower case (everything is supposed to be lower case with these tags).
Here’s what I put in:[status.draft] [category research] [tags visualization, network analysis] [title Network Visualization with NESCENT GeoPhyloBuilder]
Let’s see what happens…
Practically immediately I got a notification in my personal e-mail inbox from WordPress (apparently I subscribed a while back to my own posts).
The tags work, the title works, the category did not work (perhaps because the category does not exist already?)
If I set up an auto-filter and routing that could create an interesting feedback loop…
Essentially this is the notification I got:
Post : Network Visualization with NESCENT GeoPhyloBuilder
URL : http://mountainsol.wordpress.com/2013/07/18/network-visualization-with-nescent-geophylobuilder/
Posted : July 18, 2013 at 2:01 am
Author : Tanner Jessel
Tags : network analysis, visualization
Categories : Uncategorized
From: Jessel, Tanner Monroe
Sent: Monday, February 11, 2013 4:51 PM
To: Mitchell, Chad Matthew
Subject: Evolution Visualization Tools – GeoPhyloBuilder
FYI because it’s cool, and also because I want to note it for future possible use on the network visualization project.
Add a comment to this post: http://mountainsol.wordpress.com/2013/07/18/network-visualization-with-nescent-geophylobuilder/#respond
WordPress.com | Thanks for flying with WordPress!
Alright. So. modify the test.
will put status.draft somewhere else. maybe before the header?
Also, it appears WP did not ignore the “boiler plate.” It includes the “alias” of the person in the e-mail.
For now that is good because it will protect collaborator’s e-mails.
Ok, so modify the test to put status.draft first.
Or perhaps I overlooked something in the original instruction.
This time I placed “status.draft” with no quotes and no brackets as the first line.
Let’s see what happens.
From the notification I got, bad news. It did not publish as draft.
Maybe this feature is no longer supported?
In that case, perhaps I should turn to exploiting the “delay” feature. A time delay of 2 days would effectively serve as a draft. 7 days would essentially be the same as draft and perhaps a safeguard against inadvertently noted notebook science.
So let me try the time delay for a second.
I’ll swap out the status.draft shortcode for something.
Delaying Your Post
The delay shortcode will accept any time allowed by PHP’s strtotime. For example, you can:[delay +1 hour] [delay +2 days]
You can also schedule a post to be published at a precise time, as in this example:[delay 2013-12-01 11:30:00 EST]
I’ll just go with delay +1 hour and see what happens.
Sent that one.
Unfortunately, I have Test 3 showing up in my inbox so that did not delay at all.
I’m curious if maybe [status draft] could really be what I need.
I’m going to try a Test 4 and see if that works.
condition is delay +1 day
Frustrating. Still got a new post notification, and it was published to the public. Let me check in another browser to confirm both Test 3 and Test 4 are visible.
Confirm “recent posts” list test 4 and test 3.
Another interesting thing is that the timestamp is July 18.
Should I do a test 5 with condition of delay +2 days to account for some kind of time zone error I haven’t appreciated?
Might as well try. Test 5. condition – delay +2 days
Also perhaps I did not use the correct syntax, and I did not record it in this notebook to confirm (although it is recorded in the sent e-mail.)
Correct. Used “1 day” therefore it is possible that I did not use the proper syntax.
The issue is resolved with test 5 (note: did not change title to reflect test 5).
Unfortunately despite correct syntax, the delay did not work.
At this point I feel I’ve spent more time than I expected developing this workflow. I’m somewhat frustrated and out of ideas.
The key point of this is that yes, e-mail to post can save some steps and potential data quality and completeness issues.
My earlier proposal involved multiple steps and transfers.
This allows nearly complete duplication of e-mail content with very little loss of fidelity.
By minimizing the steps, chances for human error are minimized.
I also like that some simple notations can be added to each forwarded e-mail, such as changing the title, or adding tags.
Again, it is disappointing that I could not get the “delay” or the “draft” features to work and I will likely research this further. However I need to move on to looking at how to integrate the workflow in the production environment (e.g., the DataONE open notebook site), compared to my own personal blog.
As discussed earlier, some options might include re-blogging posts from my personal blog, or getting the post-via-email set up on notebooks.dataone.org