David's LDS iSilo ebook Development Site

General Information

Programs

Create ebooks

Downloads

 

 

News Update: MLS Calc for Pocket PC has been released!

Make a donation and get MLS Calc free!

 

SetWingetLinks Converting Utility

Note: Raymond has developed a new version of SetWingetLinks. It can be used on both the old and the new scripture link formats. It is still considered to be in beta. Feel free to test it and provide feedback on your experience. Thanks. You can get the new version here .

Created by Raymond Chambers

Version 1.2 - Adds ability to select between the old and new scripture link formats for documents on www.lds.org. Note: Many files still use the old format, so you need to check which format is being used so you can select the right conversion.

There are now only two files. The exe file and the MS Access file ConvertLinks.mdb that has all the book names and their associated directories. In the table LDSorgReferences, you just have to enter the book name in the LocationCode field, your folder name in the iSiloFolder field, and characters separating chapter and verse in the Verse Separator field only if they differ from ": " (eg Abraham). I have a query LinkList that the program uses to find the right replacement text and VerseSeparator. It also has a table, SiteList, that stores a description of the formats and the format specific data that is needed to perform the conversion.

These two files should go in your C:\scripts directory.

The way the program works is you first select which scripture link format the files you will be converting use and then you choose the files you want converted. It then, renames the first file adding on a ".old" and creates a new file with the original name. It looks for any occurance of " http://scriptures.lds.org/" for the old format and "http://scriptures.lds.org/en/" for the new format and assumes it is a link to the scriptures. It then finds the book name in the LinkList query and converts the reference based on the data there. It iterates through the file in this fashion. It then proceeds to the next file and so forth.

Raymond created SetWingetLinks using Turbo Delphi 2006 Explorer. That is a free version from Borland, so if someone else wants to enhance the program it would be posible without them having to buy the compiler.

Download the old version of SetWingetLinks

 

Note: Raymond has developed a new version of SetWingetLinks. It can be used on both the old and the new scripture link format. It is still considered to be in beta. Feel free to test it and provide feedback on your experience. Thanks. You can get the new version here .

Please contact Raymond for program support.