Jump to content
Sign in to follow this  
ketchell

HTML code in source memo for Second Site

Recommended Posts

I have HTML code in my source memos. For example:

 

Online transcription at [html:]<a href="http://www.newrivernotes.com/va/nuckolls1.htm">'>http://www.newrivernotes.com/va/nuckolls1.htm">

New River Notes</a>[:HTML]

 

Based on TMG help this is the correct format to "text" html links. However, when I make a site in Second Site and include source memos the source displays like this:

 

[s816] Benjamin Floyd Nuckolls. Pioneer settlers of Grayson County, Virginia. 1914. Online

transcription at http://www.newrivernotes.com/va/nuckolls1.htm">New River Notes.

 

with the http: phrase as bold/underlined and clickable but it goes nowhere. So I looked at how SS had coded that source in the html itself, see below:

 

<li id="s816">[s816] Benjamin Floyd Nuckolls. <i>Pioneer settlers of Grayson County, Virginia</i>.

1914. Online transcription at <a href=" <a class="ext href="http://www.newrivernotes.com/va/nuckolls1.htm">http://www.newrivernotes.com/va/nuckolls1.htm</a>">New River Notes.</a></li>

 

If I manually edit the "s8.htm" file for the above to be:

 

<li id="s816">[s816] Benjamin Floyd Nuckolls. <i>Pioneer settlers of Grayson County, Virginia</i>.

1914. Online transcription at <a href="http://www.newrivernotes.com/va/nuckolls1.htm">New River Notes</a></li>

 

The manually edited version displays as follows and the New River Notes html link works correctly.

 

[s816] Benjamin Floyd Nuckolls. Pioneer settlers of Grayson County, Virginia. 1914.

Online transcription at New River Notes

 

So this is some kind of TMG to SS translation problem for html in source memos.

 

Is there a SS setting? Or is there another way to code html links in source memos in TMG? I do not want the html in the "URL" field in the source definition. I want to choose to include or exclude information about online availability or not as many sources are now available in multiple online versions. For example, in other cases I can access the scanned original book in Google Books and Ancestry.com and others, as well as perhaps a digitized transcription at another free source. I keep these for my information as one repository source could disappear on the web at any time as I've found over the years.

 

Thanks for any experience and advise.

Share this post


Link to post
Share on other sites

Nevermind. I've answered my own question. The html coding in the source memo must have been dirty. I replaced and it now works with the [html:][:HTML] <a href> coding. However, as a useful tip for others new to HTML coding in memos, I discovered the [WEB:][:WEB] coding option for HTML and email. It makes it much easier to enter an html link by requiring only the URL and the text you want as the link if desired. It eliminates the full <a href etc.> coding which as in my case can be fraught with errors that you cannot see in the memo without converting by SS. The web coding is something I had never found in the TMG help before. You can search help for "web" and it will appear as the first or one of the first in the list.

Share this post


Link to post
Share on other sites

You've found the issue, and you'll also found that using [WEB:][:WEB] can be useful.

 

Here's one more thing: SS will detect URLs in source data and convert them to links without any HTML and also without the [WEB:][:WEB] code. That URL detection may have been the issue you first noticed; if the HTML was not 100% correct, the detection logic might have made things worse, not better.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×