from django.http import HttpResponse
from couchforms.views import post as couchforms_post

def post(request, domain):
     def callback(doc):
         doc['submit_ip'] = request.META['REMOTE_ADDR']
         doc['domain'] = domain
         doc.save()
         return HttpResponse("%s\n" % doc['_id'])
     return couchforms_post(request, callback)

@@ -135,16 +135,66 @@
 k(doc):%0A
+         doc%5B'#export_tag'%5D = %5B%22domain%22, %22xmlns%22%5D%0A
         

set up couchexport--- but with domains! via the new and improved export_tag mechanism