topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 8:43 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck  (Read 18028 times)

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
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:

% ./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.
« Last Edit: November 16, 2019, 07:15 PM by Tuxman »

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #1 on: November 05, 2016, 06: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:
« Last Edit: November 05, 2016, 10:40 PM by Tuxman »

Attronarch

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

Could you show parsed RSS examples?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #3 on: November 06, 2016, 02:30 AM »
You could enter this in the NANY 2017 thread, it's a very nice project :up:

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #4 on: November 06, 2016, 06:49 AM »
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?

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #5 on: November 09, 2016, 04:21 AM »
As I couldn't find a rule about NANYing projects which have mostly been released for eight months, I'll better refrain.  ;)

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
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.

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #7 on: September 09, 2018, 01: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. :)

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: RSSParser.lisp: A Web-to-RSS parser in a language that doesn't suck
« Reply #8 on: November 16, 2019, 07:16 PM »
The repository has been moved to my server:
https://code.rosaele...n.org/rssparser.lisp

While I was at it, I found a Markdown parser bug (?) in Fossil. Reporting ... :)