DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: HTML to RSS  (Read 8,062 times)

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
HTML to RSS
« on: March 07, 2017, 08: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 ?

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: HTML to RSS
« Reply #1 on: March 08, 2017, 04:09 AM »
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.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: HTML to RSS
« Reply #2 on: March 09, 2017, 10:39 AM »
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: HTML to RSS
« Reply #3 on: March 09, 2017, 12:21 PM »
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.)

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: HTML to RSS
« Reply #4 on: March 09, 2017, 12:23 PM »
Only for the complete website, not for the release changelog only.  :P

Quote
(Too much like hard work.)

I'm pretty sure that your 80% workaround plus posting here is more hard work.
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: HTML to RSS
« Reply #5 on: March 09, 2017, 04:31 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..)

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

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: HTML to RSS
« Reply #6 on: March 09, 2017, 08: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.

Original address: https://www.donationcoder.com/forum/index.php?topic=43580.0