Dynamic filesets

Permalink
I'm building an installable dashboard page (for 5.7) to geotag files and implement a "Dynamic Fileset" which returns all files in a predefined radius.

To work, the existing FileSet::getByName function needs to be modified. I can sure do that programmatically but I'm wondering if a block install can submit changes to existing concert5 source code? of if you guys added secrete hooks which we could tap into.

1. I need it to call my custom function whenever the fileset "Local files" is used.

2. I also need to trap the error when a fileset is not found and redirect to my custom code which looks up the fileset name as a city or zipcode and returns all files within a pre-defined radius - sorted by distance. This would let you request a fileset called "Detroit" (which does NOT exist) and the system would return all files in the Detroit area!

If successful, the new "dynamic" fileset could be used with any gallery to show files based off location! So - I am pretty excited to see if we can figure this out!

I hope you smart people can help me figure this out (if it is even possible)!
it would be a pretty cool block for the 5.7 market!

- Thanks Cliff

rockface