I am looking to make a custom link post shortcut to use when on a web page in Safari. I want it to get the URL, Publication, Article Title, Author, and Selected Text to then format it in a specific way. I basically want to take these pieces of information and format it as a blog post in a markdown app (Ulysses, IA Writer, Byword, etc.). I want it to be formatted as follows:
# ARTICLE TITLE
AUTHOR writing for [PUBLICATION](URL):
> SELECTED TEXT
If there are instances where KM doesn't offer this kind of thing (like an Author) I am happy to input it manually when I run the action. Something like it having a text prompt where I just input the Author name and is saves it when outputting the formatted text.
If someone can help me out with this I would greatly appreciate it.
# Soulver 3 for Mac: The MacStories Review – MacStories
[John Voorhees writing for MacStories](https://www.macstories.net/reviews/soulver-3-for-mac-the-macstories-review/):
The strength of Soulver lies in its flexibility. Full-fledged spreadsheet apps like Numbers and Excel have their place. However, day-to-day life requires calculations that don't demand that level of horsepower and benefit from contextualizing numbers with text. It’s the kind of math that happens in notebooks and on the back of envelopes. By combining elements of a text editor, spreadsheet, and plain English syntax, Soulver commits those easily-lost notebook scribblings to a format that allows for greater experimentation and easier sharing.
So, if this element exists on all of the pages that you want to get this info for, we could use that. One approach is try to get that element, and if it does not exist, the fall back to the SLD.
Honestly I can just input the publication manually via user input if that’s easier. From there it can just be a variable called “publication” and be put into the final text output.
Why not run a Chrome / Safari extension? They may be JavaScript which runs fast in browser.
If an AppleScript aimed to control the browser and web page, that might be slow.