Back to Blog
Automator mac tag6/3/2023 ![]() ![]() Since Safari’s AppleScript dictionary allows us to execute arbitrary JavaScript against a webpage, we can use that to extract the relevant text from the article. Unfortunately, the “Reader” functionality in Safari is not scriptable.īut before Safari had “Reader” there was the Readability javascriptlet from Arclab90 which does very much the same thing. The latest version of Safari 1 has a functionality called “Reader,” which removes all this clutter and allows the user to focus on just the text. If you look into the library of Automator actions there is one with the promising name “Get Text from Webpage.” However this will extract all the text, usually including all the menus, ads and all the other detritus that clutters webpages these days. But we stopped short of the goal, to convert the text of the articles to speech files. In the last part we built a useful workflow that would open a given number of unread article from your Instapaper feed.
0 Comments
Read More
Leave a Reply. |