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: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck  (Read 29,546 times)

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Sometimes I want to stay up-to-date with a website which does not have a good RSS feed, like KiTTY's. Of course I could use services like feed43. Or I just write my own solution.

rssparser.lisp on Bitbucket Fossil

Example:

Code
% ./rssparser.lisp add "KiTTY" "http://www.9bis.net/kitty/?action=news&zone=en" ".news" "h1" ""
Success!
    
% ./rssparser.lisp list
1 feed is set up:
    
ID: 23  Title:        KiTTY
        URL:          http://www.9bis.net/kitty/?action=news&zone=en
        Last success: -

% ./rssparser.lisp parse
       
By default, the KiTTY website feed will be stored as feeds/feed23.xml then.

Enjoy.
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.
« Last Edit: November 17, 2019, 01:15 AM by Tuxman »

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #1 on: November 05, 2016, 11:44 PM »
For those who waited for me to add a web interface because CLI applications are so 90s: You're welcome.



8)

edit: Now with "Add a new feed" functionality.  :Thmbsup:
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.
« Last Edit: November 06, 2016, 03:40 AM by Tuxman »

Attronarch

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 148
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #2 on: November 06, 2016, 08:09 AM »
Sounds great.

Could you show parsed RSS examples?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #3 on: November 06, 2016, 08:30 AM »
You could enter this in the NANY 2017 thread, it's a very nice project :up:
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #4 on: November 06, 2016, 12:49 PM »
Could you show parsed RSS examples?

Sure.



You could enter this in the NANY 2017 thread, it's a very nice project :up:

Thank you. But does it qualify?
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.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #5 on: November 09, 2016, 10:21 AM »
As I couldn't find a rule about NANYing projects which have mostly been released for eight months, I'll better refrain.  ;)
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.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
The RSS parser is still actively being maintained. I have just added an export functionality, so it can export the INSERT command for single feeds in case you want to migrate single feeds to a new database.
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.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #7 on: September 09, 2018, 06:23 PM »
The first update in a while fixed a problem where the last parameter to add was not optional despite it should. No more default body though. :)
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.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #8 on: November 17, 2019, 01:16 AM »
The repository has been moved to my server:
https://code.rosaelefanten.org/rssparser.lisp

While I was at it, I found a Markdown parser bug (?) in Fossil. Reporting ... :)
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.

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