Loads a set of files to an HTML page based on a library ID. Supports JavaScript, CSS, or VTL. Supports shared hosts by setting the host's ID in the plugin's plugin.properties file. Has built in support for all Google Hosted Libraries without needing to upload any files to your server. Also enables you to use the BoxJS/CSS proxy CDN service for minifying and combining your files. Use the file's Sort Order field to control loading priority.
Need to provide an option, let's say $forceSsl, that would take options like: none, always, relative. The behavior would be for external/CDN links and would do the following:
none: Nothing, process the link as entered (default)
always: Do a regex replace on links from http: to https:
relative: Strip http(s)?: from links, starting them with just //
If the user defaults to loading an asset from a CDN or external location, need it to fail over to the local copy of the file in the event the CDN is unreachable for some reason.
Google uses dashes in place of spaces on some libraries. Need to add in support for those as Google calls them, just for consistency. Will leave the existing names for legacy support.