More Myth ponderings.
MythNews does have the facility to add feeds directly from the UI (which I thought it didn't have before), not only does enter the feeds directly into the database, but it doesn't actually touch the xml file. This begs the question, "why use the xml file at all?"
So we really don't need the XML File at all. Instead we need to be able to replace it with direct DB manipulation. So with that in mind I think I have a solution.
Ditch the XML File, replace it with injecting the "default" set of feeds into the table and adding a couple of fields to the newssites table - "status" and "frontend". So instead of all frontends running off the same feed set, you can have specific feeds lists for each one. You could also have an "all" value for those feeds that you want to share amongst all the frontends.
The other thought I had was the default set of feeds is pretty static. What is needed is a way to present a dynamic set of channels that can be browsed and selected from. This is similar to what Miro does. In fact I went looking for Miro's feeds list and came across miroguide.com if I can work out how to query that and translate that into myth speak, I think it would fit the mould quite nicely.
Comments
I like your ideas here. I
I like your ideas here. I was thinking of something that could just iterate over all news-sites-*.xml files in /usr/share/mythtv/mythnews.
Where do you add new feeds through the UI?
I have 0.21 and can't see anything in Settings or Info Centre.