Re: Swish-e and authorisation-based document access
Bill Moseley <[email protected]> Thu, 19 Oct 2006 20:56:17 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 19, 2006 at 04:09:33PM -0700, William M Conlon wrote: > To get properties into the index, one needs to inject a metatag into > the <head> section fed to swish-e. Easy enough to do for dynamically > generated html, but a little trickier with filtered content. I guess > we would use > > $doc_object->user_data to pass the role/right into a filter, and in > Pdf2HTML.pm add something like Where's the role data coming from? I haven't tried, but how about creating a subclass of SWISH::Filters::Pdf2HTML with your own local module and just override the get_pdf_headers() method? -- Bill Moseley [email protected] Unsubscribe from or help with the swish-e list: http://swish-e.org/Discussion/ Help with Swish-e: http://swish-e.org/current/docs [email protected]