Documentation Source Text

Check-in [304b04a18c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Hack to get "make searchdb" running again.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | mobile-friendly
Files: files | file ages | folders
SHA1: 304b04a18cf89dcba84acb1eb0ef52af54d4d9ab
User & Date: drh 2016-09-01 20:58:08.869
Context
2016-09-01
21:43
Make the prosupport.html page local. (check-in: a65f9087ca user: drh tags: mobile-friendly)
20:58
Hack to get "make searchdb" running again. (check-in: 304b04a18c user: drh tags: mobile-friendly)
19:12
Click-to-view for the table of contents on fancy-format. (check-in: 6d9737f221 user: drh tags: mobile-friendly)
Changes
Unified Diff Ignore Whitespace Patch
Changes to search/buildsearchdb.tcl.
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361

  # Extract the document text
  set text [extract_text_from_dom $dom generic_filterscript]

  # Insert into the database.
  set rowid [insert_entry -url $doc -title1 $title -content $text]

  if {$doc=="pragma.html"} {
    set lSection [extract_sections_from_pragma_dom $dom]
  } else {
    set lSection [extract_sections_from_dom $dom generic_filterscript]
  }

  set i [expr $rowid*1000]
  foreach section $lSection {







|







347
348
349
350
351
352
353
354
355
356
357
358
359
360
361

  # Extract the document text
  set text [extract_text_from_dom $dom generic_filterscript]

  # Insert into the database.
  set rowid [insert_entry -url $doc -title1 $title -content $text]

  if {0 && $doc=="pragma.html"} {
    set lSection [extract_sections_from_pragma_dom $dom]
  } else {
    set lSection [extract_sections_from_dom $dom generic_filterscript]
  }

  set i [expr $rowid*1000]
  foreach section $lSection {