Conversation
Notices
-
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Wednesday, 16-Aug-2023 03:08:20 JST jezra
for some reason, Muttonchop can no longer parse the HPR RSS feed. /me is sad -
Embed this notice
Dave Morriss (perloid@mastodon.sdf.org)'s status on Wednesday, 16-Aug-2023 03:08:05 JST Dave Morriss
@ken_fallon @jezra @hpr The feeds I'm trying to make the new static site generator create don't have comments! That doesn't make them "correct" or guarantee they can be parsed, of course.
-
Embed this notice
Ken Fallon (PA7KEN, G5KEN) (ken_fallon@mastodon.sdf.org)'s status on Wednesday, 16-Aug-2023 03:08:06 JST Ken Fallon (PA7KEN, G5KEN)
@jezra @hpr you and me both. I'll remove the comment anyway.
Some poor suckers feed will suddenly start working and will download six months of shows
-
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Wednesday, 16-Aug-2023 03:08:17 JST jezra
@ken_fallon @hpr wow, what a splendid reminder of how much I dislike parsing XML. -
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Wednesday, 16-Aug-2023 03:08:18 JST jezra
@ken_fallon @hpr I've looked at the code as well as the RSS source, and everything worked as expected when I removed the first <!-- comment --> from the RSS.
Some damn lazy dev failed to properly ignore comments when parsing XML! -
Embed this notice
Ken Fallon (PA7KEN, G5KEN) (ken_fallon@mastodon.sdf.org)'s status on Wednesday, 16-Aug-2023 03:08:19 JST Ken Fallon (PA7KEN, G5KEN)
@jezra this I presume https://launchpad.net/muttonchop/trunk
Do you have any error messages ?
Cc @hpr
-
Embed this notice
Dave Morriss (perloid@mastodon.sdf.org)'s status on Wednesday, 16-Aug-2023 03:32:27 JST Dave Morriss
@jezra @hpr @ken_fallon I have never written an RSS/Atom parser from the ground up. I used Perl's 'XML::Feed' module for my (now defunct) DIY podcatcher.
-
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Wednesday, 16-Aug-2023 03:32:28 JST jezra
@perloid @ken_fallon @hpr the problem in my code, was the expectation that the first child node of root was "channel". Even though the root node had 1 child, the first child node of root was the comment and not the 'channel' node.
-
Embed this notice