Skip to main content.
home | support | download

Back to List Archive

Re: Swish-e and authorisation-based document access

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Oct 20 2006 - 03:59:06 GMT
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
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Thu Oct 19 20:59:07 2006