Open scripting opened 6 years ago
Just fixed a bunch of problems on the feed viewer page.
Here's the page for Planet Money.
http://feedbase.io/?feedurl=http%3A%2F%2Fwww.npr.org%2Frss%2Fpodcast.php%3Fid%3D510289
If you're subscribed to it, your name should show up in the Subscribers list and the button should say Unsubscribe.
When you click the button, it should change to Subscribe, and your name should be removed from the Subscribers list.
Here's a screen shot.
There are three commands in the Main menu that are enabled or disabled depending on whether you're logged in.
View my subs
View my OPML
Delete my subs
Additionally, View my OPML is only enabled if you've uploaded an OPML file or subscribed to at least one feed. Once you've done either of those things your static OPML file exists and can be viewed.
We now validate the OPML before uploading. This means:
It's a valid XML file.
It has a top-level opml element and it has a body element.
Note an OPML file with no outline elements is considered valid.
The program is now topped-off.
Now commences the cleanup, testing and filling-in.
Anyone who can hear me, your participation is welcome. ;-)
Items on my immediate list:
Command to show my subs in a nice non-OPML list. Done.
Check for errors when uploading OPML files. Try uploading an HTML file. It should fail gracefully. Try uploading an XML file that is not an OPML file. Done.
Review the Subscribe button on each feed's page. So much upheaval since it was last checked. Probably doesn't work. Done.
Jazz up the drag-drop feature. It's pretty plain. Drop down a little window when you're hovering, so you know it's ready to receive your OPML? Look for prior art.
On server, make sure local OPML file is always written
Document the two tables: feeds and subscriptions.
Work on the this.how docs.