GED-GEN
Jun 122011
 

You can add an actual (live) website by creating a “local” web page that automatically redirects the browser to your desired website. When a visitor views the slide page containing this multimedia item, they will see the actual website.

Use a text editor like Windows Notepad and create a web page file, say Lincoln.html. Enter the following lines as an example. You may wish to copy and paste these lines rather than re-type them. Change the two links to be the address of your desired website.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Sample HTML Redirection</title>
<script type="text/javascript" language="JavaScript">
<!-- Begin
function Redirect() {
window.document.location.replace("http://en.wikipedia.org/wiki/Lincoln_(president)")
}
// End -->
</script>
</head>
<body onLoad="Redirect()">
<p><a href="http://en.wikipedia.org/wiki/Lincoln_(president)">Click here</a>
for a Wikipedia article on Abraham Lincoln.</p>
</body></html>

In your favorite genealogy program, add Lincoln.html as a multimedia item in an individual’s scrapbook (or a family’s scrapbook). Then export a GEDCOM file and run GED-GEN. When you generate your web pages with multimedia galleries enabled, your “local” web page will be included like any other multimedia item.

A visitor to your website who views your multimedia gallery will see the actual website on the slide page for this item.

The above method uses JavaScript to retrieve the actual web page. Your visitor must be connected to the Internet, and have JavaScript enabled. If JavaScript is not enabled, they can click the link directly. There are other ways to cause automatic redirection, but this example gives the general idea.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*