

Set thetext to (paragraphs 4 through -5 of thetext) as text Set AppleScript's text item delimiters to return

remove first three and last four paragraphs since these are Readability links We can extract that, remove some extra lines that Readabilty inserts, close the Safari window and append the text as its own element to the output list.


We tell Safari to open a new document with the given URL and pause for a while to let Safari start loading Set readabilityScript to "javascript:(function()
