OtterBrowser / otter-browser

Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
https://otter-browser.org
GNU General Public License v3.0
1.83k stars 277 forks source link

Printable and shareable and readable RSS feeds #1704

Open GreenLunar opened 2 years ago

GreenLunar commented 2 years ago

Original issue #1272

Not only it makes RSS pages to look better, it also makes them printable, and also exportable to PDF with hyperlinks too. See attachments set

Test link: https://archlinuxarm.org/forum/feed.php a) screenshot b) shareable in pdf and hyperlinks c) without xsl

EDIT: I've made an improvement to the XSL/CSS stylesheets intended for Otter Browser.

Preview: image

Notice that the explanatory content is un-select-able for better copy & paste use cases.

sjehuda commented 2 years ago

And first of all you will add a stylesheet for RSS pages, right? Like this 2017-09-22-164717-rss In Opera, this function has its own file called webfeeds.html so users can alter it at will. In old Opera forums, there was a thread about it, a guy had styled it like Safari's RSS. https://github.com/OtterBrowser/otter-browser/issues/1415#issuecomment-331453249

@ersi-dnd We've made a little progress. image Perhaps we should use the design used on the Speed Dial screen.

GreenLunar commented 2 years ago

Eventually, we've decided to provide a newspaper-like syle soit would feel like a newspaper. Click to watch video (6MB).

preview

sjehuda commented 2 years ago

Now with table of contents and maximum amount of items to retrieve is set to 20 both for performance and to avoid overwhelming the user.

image

Otter Browser.pdf GNU Guix — Blog.pdf Planet GNU.pdf

Userscript is available at https://openuserjs.org/scripts/sjehuda/Newspaper Compatible with QtWebEngine.

EDIT: JSON Feed support https://openuserjs.org/scripts/sjehuda/JSON_Feed

EDIT: The script now supports supports ActivityStreams, Atom, JSON Feed, OPML, RDF, RSS, RSS-in-JSON and SMF and has dark mode, text resize and a few more enhancements.

To test it, open the console, copy, paste and then press enter.