Well, you should wrote "foil" script, which calls pfdtotext and adds
or changes TITLE.
Yes, I use url as a title. You can use something else.
Claus Jul Larsen wrote:
>
> Hm.
>
> I didn't understand this.
>
> If this a PDF-file so:
>
> Converter application/pdf text/html /usr/local/bin/ps_html $in $out "PDF
> Document" ? ? ?
>
> Please tell more :-) Is the $url the title?
>
> I use the
>
> Converter application/pdf text/plain /usr/local/bin/pdftotext -raw $in $out
>
> to convert PDF to text too in aspseek.conf .. can I use to converters to
> same content-type at same time?
>
> Claus
>
> -----Oprindelig meddelelse-----
> Fra: Kir Kolyshkin [mailto:[EMAIL PROTECTED]]
> Sendt: 28. marts 2001 11:59
> Til: [EMAIL PROTECTED]
> Emne: Re: SV: [aseek-users] Content-type
>
> No.
>
> You can use bash script instead, to put <TITLE>Your favourite title</TITLE>
> in resulting document.
>
> Just as I did in ps_html script (attached), because prescript doesn't do it.
> I put the following line into aspseek.conf:
>
> Converter application/postscript text/html /usr/local/bin/ps_html $in $out
> $url
>
> Claus Jul Larsen wrote:
> >
> > Yes.
> >
> > What's the best converter to rtf-documents?
> >
> > If a search result which is from a document such as word,pdf or rtf - the
> > link shows "No title" ... I've an idea in the variables section in s.html:
> >
> > CONVERT_<content-type>
> >
> > eg
> >
> > CONVERT_application/pdf PDF Document
> > CONVERT_application/msword Microsoft Word document
> > CONVERT_text/rtf RTF document
> >
> > Good idea?
> >
> > Claus
> >
> > -----Oprindelig meddelelse-----
> > Fra: Kir Kolyshkin [mailto:[EMAIL PROTECTED]]
> > Sendt: 28. marts 2001 11:12
> > Til: [EMAIL PROTECTED]
> > Emne: Re: [aseek-users] Content-type
> >
> > Do you use 1.1's "external converter" feature for it?
> >
> > Claus Jul Larsen wrote:
> > >
> > > Hi
> > >
> > > Something know what the content-type is for RTF-documents?
> > >
> > > I've tried:
> > >
> > > application/msrtf
> > > application/rtf
> > > text/richtext
> > >
> > > .. but aspseek will not index them :-(
> > >
> > > > Med venlig hilsen
> > > >
> > > > Claus Jul Larsen
> > > > | System Developer
> > > > | [EMAIL PROTECTED]
> > > > | Direkte teksttelefon: 7731 2010, ring først til
> > > > | teksttelefoncenteret på 7011 4411 og bed om
> > > > | nummeret.
> > > >
> > > > e|novasion a·s
> > > > | store kongensgade 23a
> > > > | DK - 1264 københavn k
> > > > | tlf: +45 7731 1940
> > > > | fax: +45 7731 1950
> > > > | www.enovasion.dk
> > > >
> > > >
> >
> > -- [EMAIL PROTECTED] http://kir.sever.net ICQ 7551596 --
> > If you can't stand the heat, sit down or leave the sauna
> > Now listening to Erasure "How Can I Say"
>
> -- [EMAIL PROTECTED] http://kir.sever.net ICQ 7551596 --
> If you can't stand the heat, sit down or leave the sauna
> Now listening to Erasure "Treasure"
-- [EMAIL PROTECTED] http://kir.sever.net ICQ 7551596 --
If you can't stand the heat, sit down or leave the sauna
Now listening to Scooter "She's The Sun"