kickscondor / fraidycat

Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
Other
1.76k stars 56 forks source link

XHR as a solution to detach page https://fraidyc.at/s/ #271

Open sjehuda opened 2 months ago

sjehuda commented 2 months ago

Before you start.

My great idea for Fraidycat is:

Good evening, kickscondor!

My name is Schimon, and I am the creator of a feed renderer which has been made in JS-only.

It was initially XSLT, but due to some - intentional - corruption of the XSLProcessor by the Gecko company, I have switched to DOMParser.

My greasemonkey script generates (X)HTML page from a parsed XML file.

To achieve this in a standalone, so to speak, manner, I have utilized XMLHttpRequest.

Please see https://greasyfork.org/en/scripts/465932-newspaper-html-feed-reader which not only generates HTML pages on-the-fly, for a lack of a better word, but it also has a set of documentation concerning to syndication, and, obviously, Fraidycat is also featured.

This is a visual demonstration of it.

https://github.com/user-attachments/assets/7294b87c-055a-45b6-9502-f2303e987b99

There is also a settings dialog i na form of an HTML page.

https://github.com/user-attachments/assets/3432a347-b889-4f04-9e0c-5875cd5993f5