🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #42

Re: 3.0 Librarian indexing with custom descriptions?

#42
From: felix.lugo
Date: Thu, 29 Oct 1992 05:01
24 lines
1410 bytes
In article <1992Oct29.041411.20415@cbnewsl.cb.att.com> coco@cbnewsl.cb.att.com (felix.lugo) writes:
| 	How do I tell Librarian (or ixbuild) to generate description of ascii
| files.  In 2.x you could have a <type>-desc file which would take one
| argument (the name of the file being indexed) and return a string which
| would be taken as the description for that file.  Is this no longer
| possible in 3.0?
| 
| --Felix
| 

	To answer my own question (OOPS!)...

	Create a "services" file with the following description, where <type>
is the type of file!  Put it under ~/Library/Services (or
/LocalLibrary/Services) and name it <something>.service.  Then logout and
log back in (or enter "make_services" in a Terminal window).

Filter:
Port: NXUNIXSTDIO
Send Type: NXTypedFilenamePboardType:<type>
Return Type: IXFileDescriptionPboardType
Executable: <path-name-to-desc-executable-filter>

--Felix
Technical Details
Message-ID: <1992Oct29.050123.21331@cbnewsl.cb.att.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!cbnewsl!coco
References: <1992Oct29.041411.20415@cbnewsl.cb.att.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!cbnewsl!coco
From: coco@cbnewsl.cb.att.com (felix.lugo)
Subject: Re: 3.0 Librarian indexing with custom descriptions?
Organization: AT&T
Date: Thu, 29 Oct 1992 05:01:23 GMT
Message-ID: <1992Oct29.050123.21331@cbnewsl.cb.att.com>
References: <1992Oct29.041411.20415@cbnewsl.cb.att.com>
Lines: 25