I want to extend the menu in one of my plugins that already loads its menu via an OPML file ... which contains a static list of stations.
I want to add some dynamic content which would appear after a user clicks on the new menu item.
I see (for example from BBCiPlayer plugin) that one of the attributes is "parser" but would that parser be called (it would go off and do its own thing) if the "URL" parameter was empty or missing?
If not - then I suppose I could put in a dummy URL that fetches something local but is then ignored.
I can see, from the VirginRadio plugin for example, ways to dynamically generate the entire menu but having already made a 400+ line OPML file I wanted to see if I can avoid having to redo all of that.
I want to add some dynamic content which would appear after a user clicks on the new menu item.
I see (for example from BBCiPlayer plugin) that one of the attributes is "parser" but would that parser be called (it would go off and do its own thing) if the "URL" parameter was empty or missing?
If not - then I suppose I could put in a dummy URL that fetches something local but is then ignored.
I can see, from the VirginRadio plugin for example, ways to dynamically generate the entire menu but having already made a 400+ line OPML file I wanted to see if I can avoid having to redo all of that.