Hi,
I tried to configure my WSGI stack to use paste.urlmap to route
traffic to the fanstatic publisher instead of using the Delegator:
'''
[composite:main]
use = egg:Paste#urlmap
/ = app
/fanstatic = fanstatic_publisher
[pipeline:app]
pipeline =
fanstatic_injector
my_app
[filter:fanstatic_injector]
use = egg:fanstatic#injector
# injector config goes here
versioning = true
recompute_hashes = true
[app:fanstatic_publisher]
use = egg:fanstatic#publisher
'''
I found out that the make_publisher entry_point was wrong all this
time: it should be
paste.app_factory instead of a paste.filter_app_factory. I guess
nobody has seen this before because nobody tried to use the Publisher
as a standalone component.
I applied the necessary changes to a branch; if nobody objects I would
like to merge and release these changes somewhere next week:
https://bitbucket.org/fanstatic/fanstatic/commits/branch/jj-fanstatic-publisher-as-app
Cheers,
Jan-Jaap