Site:Developer stuff/Adding links to TOC

From Feast upon the Word (http://feastupontheword.org). Copyright, Feast upon the Word.
< Site:Developer stuff
Revision as of 03:16, 20 October 2006 by Matthewfaulconer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here are the steps used to add the links at the top that take one to the table of contents lists. E.g. here's what is at the top of Gen 1:1-5:

The Old Testament > Genesis > Chapter 1

1. created file using excel. Here's the CSV result.

2. uploaded file to test db.

3. ran the following code

UPDATE feastupontheword.cur b
INNER JOIN test.Adding_TOC_Links a
ON a.cur_id=b.cur_id
SET b.cur_text = concat(text_to_add,'
',b.cur_text),
cur_timestamp= 20061020045151,
cur_touched=20061020045151,
inverse_timestamp=79938979954848