I want to be able to have an rss feed with an querysting. For example example.com/rss/bbox?=39.715056,-75.811158,39.5098,-75.491781
Found it! the get_object
method is passed request
which you then can extract the GET arguments.
def get_object(self, request, *args, **kwargs):
bounds = request.GET.get("bbox")
bbox = _str_to_bbox(bounds)
....
return Obj
The returned object can then be used in items
and most the rest of the feed class's methods