This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development has now moved to OpenGuides-Dev. Discussion on The Open Guide to London now takes place on OpenGuides-London.

[grubstreet] RE: /var/log/apache/grault.net-error.log

[prev] [thread] [next] [lurker] [Date index for 2002/12/17]

From: Ivor Williams
Subject: [grubstreet] RE: /var/log/apache/grault.net-error.log
Date: 10:18 on 17 Dec 2002
On Monday, December 16, 2002 6:50 PM, Earle Martin [SMTP:earle@xxxxxxxx.xxx] 
wrote:
> Any chance you could put something in to strip HTML out of the search
> results? At the moment we're getting a lot of <tr><td> and so on. Also, I
> was wondering, how are the search results ordered?
>
No probs. A fairly trivial patch will do this:

229,231c229
< 			$match =~ s/&/&amp;/g;
< 			$match =~ s/</&lt;/g;
< 			$match =~ s/>/&gt;/g;
---
> 			$match =~ s/<[^>]+>//gs;



-- 
grubstreet mailing list
http://london.openguides.org/old-list-archives/