Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.weblog.file.isCategoryPage
on isCategoryPage (f, adrblog=radio.weblog.init ()) {
<<Changes
<<1/5/02; 5:36:08 PM by JES
<<Created.
<<Given the path to a file on disk, return true if the file is in a category folder, or false if not.
<<Parameters
<<f -- the path to a file on disk
<<adrblog -- the address of the weblog table -- defaults to the value returned by radio.weblog.init
local (dummy);
return (radio.weblog.file.getCatName (f, @dummy, adrblog))}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.