• I’ve seen you use some custom websites (i.e. https://www.freeformatter.com/mime-types-list.html ) to ping that and fetch data from it.
    However, that site is quite dynamic and not-static REFERENCE site, so, once in a while it might change or shutdown and causes issues in our plugins (because your code directly calls that).
    It will be nice if you fetch the data from more robust sources, like:

    https://www.iana.org/assignments/media-types/media-types.xhtml

    or it will be much better if you just (once in a year) directly put .txt file in your plugin, so no need to manually fetch 3rd party sites. I think that will be much easily to maintain, then currently (as you “have to” check frequently and depend on the fact, if those websites are changed or formatted differently, causing many frustration if you are busy and can’t update plugin quickly… and the built-in .txt file will solve those problems).

    • This topic was modified 5 years, 10 months ago by tazotodua.
Viewing 1 replies (of 1 total)
  • Plugin Author davide.airaghi

    (@davideairaghi)

    thanks for the suggestione, i’m looking at the link you gave me to plan a future plugin’s upgrade.

    I just want to add a note: the script “get-mime.php” in my plugin is only executed by me when recreating the mime types list, it’s not called every time the plugin is used and it’s not intended to be called by users or by other scripts.

Viewing 1 replies (of 1 total)
  • The topic ‘Can you please change your plugin’ is closed to new replies.