142 |
my $rdoc = $nres->get_doc($i); |
my $rdoc = $nres->get_doc($i); |
143 |
|
|
144 |
$out .= '<div class="item">' . |
$out .= '<div class="item">' . |
145 |
'<h1>' . $rdoc->attr('@title') . '</h1>' . |
'<h1>' . attr_regex( $rdoc, '@title' ) . '</h1>' . |
146 |
'<p>' . html_snippet( $rdoc->snippet ) . '</p>' . |
'<p>' . html_snippet( $rdoc->snippet ) . '</p>' . |
147 |
'<strong>' . attr_regex( $rdoc, 'source' ) . '</strong>' . |
'<strong>' . attr_regex( $rdoc, 'source' ) . '</strong>' . |
148 |
' [' . attr_regex( $rdoc, '@size' ) . ' bytes]<br/>'; |
' [' . attr_regex( $rdoc, '@size' ) . ' bytes]<br/>'; |