Viewing
You view a range of pages. You specify the starting page (the from page) and then the number of pages to display, and then click the "View" button.
The "Previous Page" and "Next Page" links are adaptive. For example, if you "View from page 361 for 3 pages" then your view will consist of 3 pages and the previous and next links will refer to the previous or next 3 pages.
For S&H-1910, pages in the Preface are numbered with lowercase roman numerals. The first page accessible to the view-engine is vii. Pages i through vi are on the "Contents" page.
The "Chapters..." and "Glossary..." drop-down lists are provided for convenience. They allow you to jump directly to the beginning of a specific chapter or to a Glossary entry.
Basic Searching
Enter the word or phrase you are searching for in the "for" field, specify the search range, then click the "Search" button. You search a range of pages or a range of chapters depending on which allows you to specify the desired range more conveniently.
To search a range of pages click "by pages" then enter the "from" and "to" page numbers. For S&H-1910 the available range of pages is vii through 700.
To search a range of chapters click "by chapters" then enter the "from" and "to" chapter numbers. For S&H-1910 the available range of chapters is 0 through 18 (the Preface is chapter 0).
Search results are categorized by chapter and the entire paragraph matching the query is displayed – that is, the query is applied per paragraph.
In the search results the Page:Line references will be links to the full text.
Advanced Searching
You can search using regular expressions (RE). The following PCRE meta-characters are supported:
\ . ? * + | [ ^ - ]
Do not enclose the RE in delimiters – the search-engine will do that for you. Do not use \b for whole word and do not append an i for case-insensitivity – use the "whole word" and "case sensitive" checkbox options on the search form.
In addition to RE support the search-engine supports three logical operators: ! (not), && (and) and || (or). It also supports parentheses for grouping. Some examples follow.
The following query will return all paragraphs (in the specified range) which have "Mind" AND have either "creat" OR "power".
Mind && (creat || power)
Note that the above query is much more efficient when written as follows, so that "creat|power" is written as an RE instead of using the logical OR (||) operator. You should do this when possible.
Mind && creat|power
The following is a case where the logical OR (||) operator is needed.
Principle && ((Mind && Spirit && Soul) || (Life && Truth && Love))
Everything between logical operators (and the beginning and end of the query) is parsed as an RE but has leading and trailing spaces removed. Spaces within the RE are not removed. For example, in the following the REs are "Spirit", "the only" and "sub".
Spirit && the only && sub
Keyboard Shortcuts
Shortcuts are active when the cursor is not in one of the input text fields (when no text field is focused).
- Press p to go to the previous page.
- Press n to go to the next page.
- Type a page number then press g to go to that page.
- Type a chapter number then press c to go to that chapter.
- Press v to focus the "View from" input field.
- Press s to focus the "Search for" input field.
Options
If "flowing lines" is checked, lines are not wrapped – sentences in a paragraph flow together to fill the available width – and the first line of each paragraph is labeled with the correct Page:Line reference. If "flowing lines" is unchecked, lines are wrapped exactly as in the print version of the book.
If "inline headings" is checked, marginal headings precede their associated paragraphs. If "inline headings" is unchecked, marginal headings are in the right margin as in the print version of the book.
Copy-and-Paste
In the flow of HTML, marginal headings and Page:Line references precede their paragraph. When you copy-n-paste, headings and references will be on their own lines, preceding their associated text. To include the marginal heading when you select (click and drag across) a paragraph, start the selection at the end of the last sentence in the previous paragraph.
Page:Line References
Page:Line references are in the left margin. There are three types and are displayed in different colors as follows.
- 468:8 - The line targeted by the URL parameters.
- 465:1 - The first line of a page.
- 575:7 - The first line of a paragraph.
In search results the Page:Line references are links to the full text.
API
Using the following URL parameters you can link to or bookmark specific pages or search results.
URL parameters for S&H-1910:
c (chapter) = valid chapter number 0 - 18 p (page) = valid page number vii - xii, 1 - 700, or can be page:line l (line) = valid line number 1 - 32 n (number) = number of pages/chapters to view/search q (query) = url-encoded search expression o (options) = default: -cs,-ww,-fl,-ih
URL parameters for S&H-1875:
c (chapter) = valid chapter number 1 - 8 p (page) = valid page number 1 - 456, or can be page:line l (line) = valid line number 1 - 32 n (number) = number of pages/chapters to view/search q (query) = url-encoded search expression o (options) = default: -cs,-ww,-fl
To view, specify "c" or "p" ("p" can be "page:line" else use "p" and "l") and "n".
To search, specify "q" in addition to "c" or "p" and "n".
Both page and line numbers can be specified with the "p" parameter. Use a colon to separate them. For example you can use "p=591:5" instead of "p=591&l=5".
The "o" parameter is a comma-separated list of options (with no spaces). A "-" prefix disables an option. A "+" prefix (or no prefix) enables an option. The layout-related options are: "fl" (flowing lines) and "ih" (inline headings). The search-related options are: "cs" (case-sensitive) and "ww" (whole-word).
Copyright
Science and Health with Key to the Scriptures, by Mary Baker Eddy, has been in the public domain since 1987 thanks to David James Nolan, Lucile J. Place and United Christian Scientists, Inc.