Editorial Workflows

InstapaperNotes

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: Create a new file from Instapaper's Share Notes feature. Made for Markdown exporting only.

Shared by: viticci

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Run Python Script ?
Source Code
import urllib
import workflow

url = workflow.get_input()

urllib.unquote(url).decode('utf8')

workflow.set_output(urllib.unquote(url).decode('utf8'))
Set Variable ?
Variable Name
text
Value
Input
Find ?
Search for
^\#\s\[(.+)\]\((.+)\)$
Match Group (RegEx)
1
Search Type
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Output
  • Found Text
  • Range of Text (from:to)
Set Variable ?
Variable Name
title
Value
Input
Generate Text ?
Text
text
Find ?
Search for
^\#\s\[(.+)\]\((.+)\)$
Match Group (RegEx)
2
Search Type
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Output
  • Found Text
  • Range of Text (from:to)
Set Variable ?
Variable Name
URL
Value
Input
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
URL
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
OFF
Generate Text ?
Text
text
Find ?
Search for
^\#\s\[(.+)\]\((.+)\)$
Match Group (RegEx)
0 (entire match)
Search Type
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Output
  • Found Text
  • Range of Text (from:to)
Set Variable ?
Variable Name
match
Value
Input
Generate Text ?
Text
text
Find / Replace ?
Find
match
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
URL
Set Variable ?
Variable Name
content
Value
Input
Create Document ?
Filename
title.txt
Content
content%cursor
Open in Editor
ON