Strip HTML tags, scripts and styles to get clean plain text.
Pull every link and its text out of HTML
Build an HTML anchor tag with rel and target options
Turn lines of text into an ordered or unordered HTML list