[Xapian-discuss] omega: $field{sample} clarification
shudde
shudde at gmail.com
Sun Jan 28 22:31:43 GMT 2007
Solved my own problem after a lot of trial and error. I'm loving omega
so far but I'm not finding omegascript very intuitive.
$slice{$split{$field{sample}},$range{$add{$find{$split{$field{sample}},Links},1},$length{$split{$field{sample}}}}}
Displays everything from $field{sample} that occurs after Links (the
last text before the body content).
shudde wrote On 01/28/2007 07:39 PM:
> I'm using omega for a sitesearch and currently having a problem trying
> to filter $field(sample). At the moment it returns text from the page
> header and navigation within the sample, ideally I'd like it to return
> only the page content. I've been trying various omegascript commands to
> trim the output or seperate the fields and also looking at scriptindex
> to control how the xhtml is parsed.
More information about the Xapian-discuss
mailing list