• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. The Client-Side Search Engine > Building Your Own JavaScript Databas...

1.4. Building Your Own JavaScript Database

Eventually you'll want to replace the records I've provided with your own records. You can do this in three easy steps.

  1. Open records.js in your text editor.

  2. Remove the records already there so that the file looks like this:

    var profiles = new Array(
            );

  3. For each record you want to add, use the following syntax:

    "Your_Page_Title|Your_Page_Description|http://your_page_url/file_name.html",
    
    					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint