umd-mith/airwaves

RSS feed generation weirdness

Closed this issue · 3 comments

Subsequent runs of npm run start generate slightly different versions of the programs.opml feed. I have been discarding these diffs but we may want to look into what is causing the inconsistencies.

I have noticed two behaviors:

  • A small subset of programs (10) appear and disappear between runs—or maybe just appear in a different order and thus show up in a diff: "The Jeffersonian Heritage", "Over the back fence and Transatlantic profile", "Cincinnati Symphony Orchestra", "Improvisation Chamber Ensemble", "Detroit Symphony Orchestra", "Ways of mankind", "Peninsula Music Festival", "People under communism", and "Library of Congress"— might this be related to an Airtable view somewhere?
  • Also, the permalink URL goes back and forth between adding an extra slash and not adding an extra slash. See some messing about related to this: a78e91a
edsu commented

I've noticed this too, and have similarly discarded them. It would be nice to track down what is causing it even if it isn't causing a problem. I would be more concerned if programs are disappearing though.

edsu commented

I don't know if it's related but as I was trying to pin down the order of the GraphQL series results a bit more I noticed that there was a stray comma in the GraphQL here. I've committed this small change with the latest programs.opml

@trevormunoz could you try to:

  1. git pull
  2. npm run clean
  3. npm run start

... and see if your programs.opml changes again? It should hopefully stay the same?

@edsu Following those steps, my programs.opml does not change now 🎉