Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Get pages within a directory



On 2/11/04 5:02 PM Bill_Royds@pch.gc.ca (Bill_Royds@pch.gc.ca) wrote:

>I also tried to use the directory reports, but that only gives 
>directories. Is there some way that you could add the ability to link to 
>pages in a particular directory (or all directories presently displayed 
>on page) when viewing directory stats?

Summary already does this. If you look at the directory report you will 
see an entry that looks something like:

<various numbers> /guide/ *

If you click on the '*' at the end of the line Summary will show you a 
report with all of the files contained in that directory.

>When I search for pages matching a pattern, how can I indicate that the 
>pages should start with that pattern only?
>I tried using the RegEx anchor "^/guide/" but that didn't work

You need to tell Summary that you are entered a regular expression. If 
you enter it the way you did Summary will search for an item whose name 
contains a '^', which is unlikely to exist. If, instead, you start the 
search string with a single quote, ie "'^/guide/", it will know that you 
are using a regular expression and return the entries you are looking 
for. A single quote as the first character of the search string is the 
indication to treat the rest of the search string as a regular expression.

Good Luck
Jason

-----------------
Jason@Summary.Net
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.