Editorial Workflows

Email to Tumblr

unlisted workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Emails current document to tumblr. The email submission action can be populated with your personal submission email.

The script assumes the first line of the text is the post title.

Shared by: @xavdid

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Document Text ?
Folded Text
  • Include
  • Replace with:
Set Variable ?
Variable Name
text
Value
Input
Get Blog Title ?
Source Code
#coding: utf-8
import workflow

action_in = workflow.get_input()

title = action_in.split('\n')[0][1:].strip()

workflow.set_output(title)
Set Variable ?
Variable Name
title
Value
Input
Generate Text ?
Text
text
Strip First Line ?
Source Code
#coding: utf-8
import workflow

action_in = workflow.get_input()

l = action_in.split('\n')
l=l[1:]
q=''
for i in l:
	q+=i
	q+='\n'
	


workflow.set_output(q)
Email to your tumblr submit mail ?
Recipient(s)
Subject
title
Message Body
Input
Is HTML
OFF
Full Screen
OFF
Stop if Canceled
ON
Show HUD ?
HUD Text
Sent to Tumblr!
Duration
  • 1 Second
  • 2 Seconds
  • 3 Seconds
Icon
  • "Success"
  • "Error"