Since I'm using friendly URLs, I want to allow people to type in mysite.com/resource-alias/10 but I don't want to have to create a nested resource aliased "10", that would just pile up umpteen resources since this is front-end user generated content.
Instead I would like to have MODX ignore numbers in the URIs, taking the person to the "resource-alias". I could then parse the URI with a snippet to get the resource's item number and return the content from my custom table.
Currently I have to do this URI parsing on an error page and am unable to make a resource for "user-post", "user-page", "image", "video", etc. because MODX just tries to take the person to the number at the end of the URI, and that resource doesn't exist. With the many, many growing comment-able user content types it's getting rather messy to manage the so-called error page snippet efficiently.