I gave an example of doing the mashup for all the posts in the current category. For category, the query variable is ‘cat’. It should be set when WordPress displays an archive of posts for that category.
For custom taxonomies, the query variable is usually the same as the taxonomy. So the mashup to show all posts for the current trail is: