DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Post New Requests Here => Topic started by: kilele on March 07, 2017, 02:33 PM

Title: HTML to RSS
Post by: kilele on March 07, 2017, 02:33 PM
Hi. I have a list of html files. How can I make an rss so that the entire content of said files be displayed by newsreaders ?
Title: Re: HTML to RSS
Post by: IainB on March 07, 2017, 10:09 PM
What an interesting question!
That happens to be almost exactly what I have been puzzling over for a couple of years and getting nowhere so far, though I have a provisional workaround.

In my case I have a store on hard disk containing many .htm and .mhtml files (saves of part/whole webpages) that I want to scan using a two-pane window. The LHS pane would give some kind of hierarchical navigation tree by category, and the RHS pane would display just the headings and/or first line of each page in that category, and be able to expand into the full page on demand. A bit like my bazqux feed-reader.
Title: Re: HTML to RSS
Post by: Tuxman on March 09, 2017, 04:39 AM
*cough* (https://www.donationcoder.com/forum/index.php?topic=42471.0)
Title: Re: HTML to RSS
Post by: IainB on March 09, 2017, 06:21 AM
Thanks @Tuxman, but that's not going to do it for me. (Too much like hard work.) I already have a workaround that does about 80% of what I need/want anyway.
By the way, I can get my bazqux feed-reader to find a feed for that Kitty website. (Interesting website.)
Title: Re: HTML to RSS
Post by: Tuxman on March 09, 2017, 06:23 AM
Only for the complete website, not for the release changelog only.  :P

(Too much like hard work.)

I'm pretty sure that your 80% workaround plus posting here is more hard work.
Title: Re: HTML to RSS
Post by: kilele on March 09, 2017, 10:31 AM
I've found these scripts which are sort of what I had in mind. I guess they'd have to be adapted so the entire html content was displayed on newsreaders.

Script1: https://github.com/ColumPaget/rssgen/blob/master/README.md
This seems to me a Linux script (I think modern Windows can run bash scripts..)

Script2: http://johnbokma.com/perl/rss-web-feed-builder.html
Read some comments on this page to know how to tailor this perl script

I'll have a look at @Tuxman 's program
Title: Re: HTML to RSS
Post by: wraith808 on March 09, 2017, 02:42 PM
I've found these scripts which are sort of what I had in mind. I guess they'd have to be adapted so the entire html content was displayed on newsreaders.

Script1: https://github.com/ColumPaget/rssgen/blob/master/README.md
This seems to me a Linux script (I think modern Windows can run bash scripts..)


Eh... sort of.  First you have to install the subsystem- it doesn't come installed.  It's good, but not exact.