News for hackers. Stuff that matters.
Re:Feedmaker: URL + CSS selectors = RSS feed by kschaul on Friday September 19, 2025 @06:20PM (#45307422)
Glad you’re find the tool interesting! A short blog post behind it: https://kschaul.com/post/2023/04/16/feedmaker-quickly-genera...

And the GitHub url (hopefully easy to host your own instance): https://github.com/kevinschaul/feedmaker

Re:Feedmaker: URL + CSS selectors = RSS feed by mustaphah on Friday September 19, 2025 @07:33PM (#45308068)
Looks like you're hosting this on fly.io - PAYG model. You could probably host this for free on Cloudflare Workers; 100k requests/day on the free tier; static content (the homepage) is free & unlimited.

Edit: The catch is the 10ms CPU cap per request - you'd need a super lean implementation. Django's too heavy for that.

Re:Feedmaker: URL + CSS selectors = RSS feed by 0cf8612b2e1e on Friday September 19, 2025 @08:09PM (#45308349)
Python alone is many milliseconds to start. Unless they give you some allowances for interpreter overhead.
Re:Feedmaker: URL + CSS selectors = RSS feed by mustaphah on Friday September 19, 2025 @08:29PM (#45308495)
Well, someone already did with JS: https://github.com/ProfessorManhattan/rss-worker
Re:Feedmaker: URL + CSS selectors = RSS feed by mustaphah on Friday September 19, 2025 @05:55PM (#45307165)
The good news: made it to the front page.

The bad news: so did the 503 page.

Re:Feedmaker: URL + CSS selectors = RSS feed by benbristow on Friday September 19, 2025 @06:23PM (#45307455)
In some ways a good thing, no? Shows you've got work to do on optimisation for large audiences. A free stress test (unless you're on a host that charges per hit or bandwidth excess), as you will.

Did load eventually for me, thought it was broken as no styles but looks like it's intentional.

Re:Feedmaker: URL + CSS selectors = RSS feed by uyzstvqs on Friday September 19, 2025 @06:57PM (#45307758)
Seems to be hosted using fly.io
Re:Feedmaker: URL + CSS selectors = RSS feed by bradbeattie on Friday September 19, 2025 @06:31PM (#45307519)
https://github.com/RSS-Bridge/rss-bridge is what I've been using for the same purpose.
Re:Feedmaker: URL + CSS selectors = RSS feed by crazygringo on Friday September 19, 2025 @07:07PM (#45307858)
I love this.

Has anyone tested to see if it works with Blogtrottr which will email you whenever there's a new item in an RSS feed?

Just since this doesn't seem like it even includes a date field in the RSS? And of course no guid. So I'm wondering how compatible it winds up being.

Re:Feedmaker: URL + CSS selectors = RSS feed by kevincox on Friday September 19, 2025 @07:17PM (#45307940)
Dates shouldn't matter. The feed has ID elements which is what identify entries. Atom has no guid element. So I would expect this to work with any reader.
Re:Feedmaker: URL + CSS selectors = RSS feed by edoceo on Saturday September 20, 2025 @12:24AM (#45310347)
I wish they had concrete, accurate id and created_at. IIRC these attributes are fixed in AT.
Re:Feedmaker: URL + CSS selectors = RSS feed by crazygringo on Saturday September 20, 2025 @07:37AM (#45312430)
But is this producing ID elements? And if so, based on what, since they don't seem to be coming from any CSS selectors? That's my question.
Re:Feedmaker: URL + CSS selectors = RSS feed by kevincox on Saturday September 20, 2025 @07:41AM (#45312458)
It seems to use the link as the ID based on clicking a few examples on the site. An ok option for this type of thing.
Re:Feedmaker: URL + CSS selectors = RSS feed by int0x29 on Friday September 19, 2025 @07:03PM (#45307815)
I made a CGI program that ran CSS selectors against URLs and returned the output. I debated making it public and then realized I probably didn't want to run an open proxy. I'm curious how long this will last.
Re:Feedmaker: URL + CSS selectors = RSS feed by oneeyedpigeon on Saturday September 20, 2025 @01:20PM (#45315257)
You could just have made it public and self-hosted.
Re:Feedmaker: URL + CSS selectors = RSS feed by zekenie on Friday September 19, 2025 @06:33PM (#45307556)
Not the same but this gives me an idea… what if there was a map reduce for doms as a web primitive. Like imagine if I could make a dom (or feed) that was some selection and transformation of another dom
Re:Feedmaker: URL + CSS selectors = RSS feed by onedognight on Friday September 19, 2025 @06:46PM (#45307656)
You have just re-invented XLST.
Re:Feedmaker: URL + CSS selectors = RSS feed by pimlottc on Saturday September 20, 2025 @12:34AM (#45310406)
*XSLT
Re:Feedmaker: URL + CSS selectors = RSS feed by Pfeil on Saturday September 20, 2025 @09:40AM (#45313326)
Related discussion to remove XSLT from the web platform: https://github.com/whatwg/html/issues/11523
Re:Feedmaker: URL + CSS selectors = RSS feed by 1-more on Friday September 19, 2025 @06:56PM (#45307745)
Re:Feedmaker: URL + CSS selectors = RSS feed by jeroenhd on Tuesday September 23, 2025 @02:03PM (#45350653)
In the days of XHTML, XSLT would be exactly what. The modern web equivalent would require XSLT but for HTML/SGML (SGSLT?).
Re:Feedmaker: URL + CSS selectors = RSS feed by ZYbCRq22HbJ2y7 on Saturday September 20, 2025 @01:20AM (#45310623)
Should be able to achieve this without selectors with HTML to Markdownish (something like Firefox's Reader mode).
Re:Feedmaker: URL + CSS selectors = RSS feed by cleartext412 on Saturday September 20, 2025 @08:29AM (#45312785)
Oh, so this is what Reader mode does.

The few times I actually tried it, it worked badly, with huge chunks of text content missing from the page. Makes me wonder if with modern web the task has became so difficult even a browser couldn't pull it off, or if they just wasn't trying to do a good job with the feature.

Re:Feedmaker: URL + CSS selectors = RSS feed by mg on Saturday September 20, 2025 @01:52AM (#45310784)
That is a good idea.

59 requirements, including Django, seems pretty heavy though?

For my own RSS feed, I use this 48 line Python file with no dependencies outside the standard library:

https://github.com/no-gravity/atomfeed.py

It takes an array with the entries as input, not a web page. But I guess the HTML parsing should take no more than another few lines? For HTML parsing, I have good experiences with the lxml module which is in the Debian repos. It is fast and works pretty well.

Re:Feedmaker: URL + CSS selectors = RSS feed by oxalorg on Saturday September 20, 2025 @08:10AM (#45312638)
I recently added the python-feedgen module for creating feeds in my blog generator: https://github.com/oxalorg/genox/commit/3a73013ffe82930b1a7e...

I always love removing dependencies and simplifying software. I will try and switch to a simpler implementation like yours, thanks for sharing!

Re:Feedmaker: URL + CSS selectors = RSS feed by ulrischa on Saturday September 20, 2025 @04:23AM (#45311504)
Same can be done wirh freshrss
Re:Feedmaker: URL + CSS selectors = RSS feed by msephton on Sunday September 21, 2025 @01:57AM (#45320402)
If you're serious about RSS curation and reading, FreshRSS really is the Swiss Army Knife. It does so much, including this“any site/page to RSS”. My favorite feature is that it makes refreshes in your feed reader client pretty much instant, which is such a huge quality of life improvement.
Re:Feedmaker: URL + CSS selectors = RSS feed by gottlobflegel on Saturday September 20, 2025 @04:51AM (#45311616)
You can just use an XSLT stylesheet like this: https://wwwcip.cs.fau.de/~oc45ujef/misc/src/atom.xsl xsltproc includes a handy --html flag that lets you just process the source file directly.
Re:Feedmaker: URL + CSS selectors = RSS feed by pkal on Saturday September 20, 2025 @06:56AM (#45312209)
Can you also generate+use the XSLT stylesheet dynamically from a form input so that you can use a single meta-stylesheet for multiple sites?

Oh, and is you brother coming to the party?

Re:Feedmaker: URL + CSS selectors = RSS feed by danielheath on Saturday September 20, 2025 @06:16AM (#45312006)
I wrote a similar thing in go (using chromedriver, so it could handle things that need JS).

Handled most things nicely, but I found a few sites where I wanted multiple selections to be combined into one document.

I emailed the result to myself, turning any images into attachments; this meant my “feed reader” had read/unread tracking that synced across devices, some html support, folders, offline viewing, etc.