{"id":1662,"date":"2013-07-16T22:56:08","date_gmt":"2013-07-16T22:56:08","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=1662"},"modified":"2013-07-16T22:56:08","modified_gmt":"2013-07-16T22:56:08","slug":"e-mail-to-open-notebook-exploring-wordpress-capabilities","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/data-science\/e-mail-to-open-notebook-exploring-wordpress-capabilities\/","title":{"rendered":"E-mail to Open Notebook – Exploring WordPress Capabilities"},"content":{"rendered":"

For the 2013 version from WordPress, I found post via e-mail by looking under:<\/p>\n

Tools<\/p>\n

http:\/\/mountainsol.wordpress.com\/wp-admin\/tools.php<\/p>\n

Visited “my blogs”<\/p>\n

my secret blog address @post.wordpress.com<\/p>\n

http:\/\/mountainsol.wordpress.com\/wp-admin\/index.php?page=my-blogs<\/p>\n

Gives the option to re-generate or delete – good feature in case the account is compromised<\/p>\n

So now, I’ll attempt to e-mail a message with attachment from volmail to my personal wordpress blog.<\/p>\n

Note: here are some references on attachments:<\/p>\n

Post by Email<\/a><\/p>\n

Post by Email<\/a><\/p>\n

First, I’m messaging a note from a colleague that contains my original e-mail, plus two attachments.<\/p>\n

Sent at 1:06 pm. Let’s see when\/how it shows up in wordpress.<\/p>\n

By the time I switched windows, it was available; essentially instantaneous.<\/p>\n

However, I appear to have neglected to set publish via e-mail to draft only – this went straight to live view.<\/p>\n

It appears that neither my original message nor my colleague’s response was included, but the attached images came through nicely. And, this is indeed more efficient than uploading images manually.<\/p>\n

The image is assigned a caption based on the file name of the image, e.g., “d1wgv5.png” has the title “d1wgv5” and the caption “d1wgv5.”<\/p>\n

Dimensions are 1024 x 768.<\/p>\n

A “short link” can be generated.<\/p>\n

There is an attachment page. e.g., http:\/\/mountainsol.wordpress.com\/2013\/07\/16\/evolution-visualization-tools-geophylobuilder\/d1wgv5\/<\/p>\n

The blog title matches the title of the e-mail.<\/p>\n

Could images be something better managed with figshare? It would be worthwhile exploring if images can be e-mailed to figshare as well.<\/p>\n

For now, I am pleased that the wordpress blog accepts and publishes two images via e-mail. I am disappointed that the text did not come through.<\/p>\n

I am checking to see if text is somehow obscured by code:<\/p>\n

negative.<\/p>\n

In fact, the images are not contained in a package that I expected; I see a java script type “gallery” instead.<\/p>\n

Path: p<\/a>\u00a0\u00bb img.wp-gallery<\/a><\/p>\n

It is possible that WordPress created a gallery. I will check the media component of my work.<\/p>\n

There is also a problem with “post via e-mail” as draft – unable to locate the setting for that.<\/p>\n

There is a complete help section here:<\/p>\n

Post by Email<\/a><\/p>\n

I will now experiment with forwarding one sent mail.<\/p>\n

Again, this e-mail was published immediately upon receipt, when I would prefer that it be published *after review* – not because I have anything to hide, but because I would like the opportunity to format the content outside of the e-mail inbox into whatever is appropriate for my notebook.<\/p>\n

One point could be that once forwarded, it is verbatim.\u00a0 Whether that is good for science or bad for science I cannot say.\u00a0 In terms of interpersonal relationships, I think it’s probably a negative thing.\u00a0 In terms of transparency, it might be good.<\/p>\n

And certainly, if my e-mail is compromised and a spammer gets a hold of my “secret” wordpress publish via e-mail address, then I have a problem. True, I can reset the password – but this system would be in place even if I were in a coma, or worse, dead.\u00a0 So my blog could be perpetually hijacked, as the parcplace.org site I work on recently was, by the “pharma hack” or something else equally devastating to the value of my personal blog and open notebook.<\/p>\n

As I try to track down a solution, a problem is that wordpress.org and wordpress.com are not the same thing.\u00a0 So there are solutions for the wordpress.org\u00a0 version, which the notebooks.dataone.org site runs on, and separate solutions for wordpress.com.\u00a0 So by using wordpress.com as my sandbox, any solution I find may not work.<\/p>\n

However, I might be able to e-mail posts to myself, then copy then “re-blog” on the DataONE notebook site the appropriate entry from my personal wordpress.com blog.<\/p>\n

A second problem is that I forwarded the e-mail without modifying the “slug” portion (whatever this is called that contains the “to” “from” “date” etc.<\/p>\n

I will now experiment by re-forwarding the e-mail, this time AFTER first deleting the header information, and reporting on the results.<\/p>\n

First, I moved the previous blog, “Evolution Visualization Tools – GeoPhyloBuilder” to the trash.\u00a0 Interestingly, wordpress allows me to have multiple blogs published via e-mail with the same title.<\/p>\n

I am now prepared to try the experiment.<\/p>\n

I have deleted everything above “Hi Chad,” (Chad is the colleague I am corresponding with).<\/p>\n

Results:<\/p>\n

As hypothesized, this allowed all the text content to be published.<\/p>\n

So, learned today that forwarding via e-mail requires deletion of the heading, when sending from microsoft outlook.<\/p>\n

Evolution Visualization Tools – GeoPhyloBuilder<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

For the 2013 version from WordPress, I found post via e-mail by looking under: Tools http:\/\/mountainsol.wordpress.com\/wp-admin\/tools.php Visited “my blogs” my secret blog address @post.wordpress.com http:\/\/mountainsol.wordpress.com\/wp-admin\/index.php?page=my-blogs Gives the option to re-generate or delete – good feature in case the account is compromised So now, I’ll attempt to e-mail a message with Continue reading E-mail to Open Notebook – Exploring WordPress Capabilities<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[166,168,167,169],"_links":{"self":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1662"}],"collection":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/comments?post=1662"}],"version-history":[{"count":1,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1662\/revisions"}],"predecessor-version":[{"id":1663,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/posts\/1662\/revisions\/1663"}],"wp:attachment":[{"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/media?parent=1662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/categories?post=1662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebooks.dataone.org\/wp-json\/wp\/v2\/tags?post=1662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}