Home | Product: Offline Browser


 
BackStreet Browser - A high-speed, multi-threading website download and viewing program.

Help Section

Overview | Interface and Control | Main Menu | Main Toolbar | Status Bar | Project/folders tree context menu | File list context menu | Getting Started | Creating a New Project | Project Properties | Project Properties Load | Project Properties Load Example | Project Properties FileFilter | Project Properties URL Filter | Project Properties URL Filter Example | Project Properties Connection | Starting and Resuming Download | Interrupting Download | Saving and Copying Project | Project Properties Others | Other Capabilities | Working with Workspaces | Search By Keywords Config File | Search By Keywords | Web Directories Configuration File | Working with Web Directories | Setting Up RAS Connection | Batch Processing: Working with URL Lists | Using Regular Expressions | FAQ


Web search configuration file

A web search configuration file Backstreet.srh.cfg is used to define the list of search engines which BackStreet Browser will offer you when you call its "Web search" feature. In this file search engines are listed (one engine per line) accompanied with additional parameters. Each parameter is in quotes; parameters are separated with commas.

Lines in the file BackStreet.srh.cfg look like this:

"international","Google","http://www.google.com/search?hl=en&q={SEARCH_KEYWORD}&num=100","1",".*(http:\/\/www\..*)","google"
"international","Lycos","http://search.lycos.com/default.asp?ca=o&query={SEARCH_KEYWORD}","1","","(lycos|lygo\.com|.*\?.*)"

This table describes the parameters specified in a line of the file:

# Description Example
1 Search Engine Type - not used by BackStreet Browser "international"
2 Search engine name "Google"
3 Search engine URL with the keyword placeholder http://www.google.com/search?hl=en&q={SEARCH_KEYWORD}&num=100
4 Optional Parameter - not used by BackStreet Browser now, for future use. "1"
5 Regular expression - "allow" filter. Download will be allowed for those URLs that contain a chain of characters which corresponds to this expression. ".*(http:\/\/www\..*)"
6 Regular expression - "restrict" filter. Download will be restricted for those URLs that contain a chain of characters which corresponds to this expression. "Google"