Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs

Recent posts

Fri 3 Sep 2021

When Notes table data doesn't play nicely with others

Mon 21 Jun 2021

Custom Domino Extensions presentation

Thu 10 Jun 2021

Notes 12 without all the blue

June, 2022
   01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

Search the weblog

Genii Weblog

Cross Reference links from web

Thu 21 Apr 2011, 10:20 AM

by Ben Langhinrichs
It's Day 2 of our special buy one server license, get one free offer, so I thought I'd post a few demos. The first creates cross reference links using the Midas Rich Text LSX.  Many people use the Midas in the Notes client to change rich text in the front end without hanging the back end (i.e., changes aren't saved).  This demo shows that working on the web (works with traditional and XPages web interfaces). 

The MedXRef db has a view with 2,214 medical terms taken from In this demo, the LinkMatching method finds any of those terms in the rich text and creates links to the relevant article on WebMD. Below, I include a snippet from a health article on CNN Health called Sad in the spring? Allergy-mood link is real. In your applications, you can create cross reference links using any view, such as part names from a product database or matter numbers from a legal brief repository. The manipulated text is not saved, so the links can even be to different things depending on the action or person invoking it. Try the two actions below and see how the results change:

Sad in the spring? Allergy-mood link is real
By Elizabeth Landau, CNN
April 20, 2011 12:00 p.m. EDT
(CNN) -- You know spring has sprung when hundreds of people daily turn to Twitter to vent about their itchy eyes, dripping nose and uncontrollable sneezing and coughing. And if it's not obvious that allergies can ruin a person's day, watch how many tweets go by that use "allergies" and the f-word in the same sentence. 
"'Cranky' is really the best word for it," says Katie Ingram, 30, of Alexandria, Virginia, a triathlete who suffers seasonal allergies. "I take a lot of medication for it and that makes me sleepy. And I can't do a lot of the things that I like to do outside, so that makes me cranky. ... The wheezing part of it makes me feel tired." 
In some people, such annoyances are more serious. Research has shown there is about a doubling of risk for depression in a person suffering allergies and, if you've been seen by an allergist, that about triples the likelihood of having depression, said Dr. Paul Marshall, neuropsychologist at Hennepin County Medical Center in Minneapolis, Minnesota.

Later, I'll post the database which shows this in action. In the meantime, you can try this online with various articles in the MedXRef database.

Copyright 2011 Genii Software Ltd.

What has been said:

No documents found