Test case and docs for custom context data in feeds

Thanks Paul Winkler for the initial patch. (Ref #18112).