baleen
baleen copied to clipboard
Make posts.htmlize() smarter
This method was originally written to wrap html snippets to look like a real web page. Now we have the ability to fetch complete web pages from RSS feeds. However In some use cases, such as when the RSS feed fails to download a web page, the old wrapping behavior will still be necessary.
Requirements: htmlize() should be either return complete webpages
- wrap snippets in a web page (what we already do)
- return complete web page