Editorial Workflows

Post To WordPress

public 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: Publish a post to WordPress. Extract a URL at the top of the document to optionally assign it to a custom field. Launch another workflow at the end to shorten the just-published post with Bitly.

Originally by @viticci.

Shared by: @devsl

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Fill: WordPress XML-RPC URL ?
Variable Name
xmlrpc
Value
The Link to your xmlrpc.php file
Username: Leave Empty ?
Variable Name
username
Value
Password: Leave Empty ?
Variable Name
password
Value
Fill Login: WordPress ?
Categories Variable: Leave Empty ?
Variable Name
cats
Value
Tags Variable: Leave Empty ?
Variable Name
thetags
Value
Check Post Title ?
Title
Double Check Title
Initial Text
File Name%cursor
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
postname
Value
Input
Document Text ?
Folded Text
  • Include
  • Replace with:
Set Variable ?
Variable Name
doctext
Value
Input
Convert Markdown ?
Markdown Extras: Footnotes
ON
…Auto-Links
ON
…Strikethrough (~~x~~)
ON
…Superscript (^x)
ON
…Tables
ON
…Smart Quotes etc.
ON
…Strip Metadata Headers
OFF
Set Variable ?
Variable Name
content
Value
Input
What is the Post Type? ?
Title
Post Type
Message
What is the type of this document?
Button 1
Link
Output Value
linked
Button 2
Article
Output Value
normal
Button 3
Short Post
Output Value
short
Show Cancel Button
ON
Extract Linked URL ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
linked
Generate Text ?
Text
doctext
Extract URLs ?
Output
  • Only URLs
  • URLs and Ranges (Separated by Tab)
Select from List ?
Title
Select Linked URL
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
ON
Select Range ?
Range (from:to)
Input
Relative to
  • Entire Document
  • Current Selection
Set Variable ?
Variable Name
linkedurl
Value
Selected Text
Select Range ?
Range (from:to)
Sel. Range: Start:Sel. Range: End + 1
Relative to
  • Entire Document
  • Current Selection
Replace Selected Text ?
Replacement Text
Document Text ?
Folded Text
  • Include
  • Replace with:
Convert Markdown ?
Markdown Extras: Footnotes
ON
…Auto-Links
ON
…Strikethrough (~~x~~)
ON
…Superscript (^x)
ON
…Tables
ON
…Smart Quotes etc.
ON
…Strip Metadata Headers
OFF
Set Variable ?
Variable Name
content
Value
Input
…End If
Get WordPress Categories ?
Generate Text ?
Text
cats
Remove Whitespace ?
  • Trim leading/trailing whitespace
  • Remove empty lines
Choose Category ?
Title
WordPress Categories
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
ON
Save Chosen Category ?
Variable Name
catID
Value
Input
Get WordPress Tags ?
Generate Text ?
Text
thetags
Remove Whitespace ?
  • Trim leading/trailing whitespace
  • Remove empty lines
Choose Tags ?
Title
WordPress Tags
List (Lines)
Input
Multiple Selection
ON
Show in Popover
ON
Save Chosen Tag ?
Variable Name
tagID
Value
Input
Publish To WordPress ?
Launch Shorten & Tweet Workflow ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Success
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
editorial://?command=Bitly
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
ON
…End If