|

|
|
|
OCLC Openly Informatics :Link Evaluator : Examples
Link Evaluator |
|
Link Evaluator is able to detect Red- and Green-flag Phrases
that have been
embedded inside Web content using a method described below.
This allows you to perform link tests simply by visiting one
of
these "Link Evaluator-aware" pages, and running Link Evaluator on the
contents. You can also easily create your own such pages for
testing your online
resources.
To make any HTML content "Link Evaluator-aware", you simply enclose the
content in one or
more DIV elements that a) provide a flag phrase, and b) specify whether
it is a Green or Red
flag phrase. The format is as follows:
<div class="linkval_FP_green"
title="Partnership">
<div class="linkval_FP_red" title="NEWS">
<div class="linkval_FP_red" title="Google">
<div class="linkval_FP_green" title="Froogle">
<div class="linkval_FP_green" title="Yahoo">
This will cause Link Evaluator to look for these phrases when
evaluating any link
in the subsequent HTML, up until the point where the DIV elements are
ended, which
of course is done simply by:
</div>
</div>
</div>
</div>
</div>
So, you can try running Link Evaluator on this page, and observe what
happens to the following links:
Openly
MSN
yahoo
OCLC
BadURL
google
These were entered in standard HTML, like this:
<a href="http://nj.oclc.org">Openly</a>
<a href="http://msn.com">MSN</a>
<a href="http://yahoo.com">yahoo</a>
<a href="http://oclc.org">OCLC</a>
<a href="http://bad.url/">BadURL</a>
<a href="http://www.google.com">google</a>
Below is a sampling of links to typical academic/research
online
materials.
DIV elements containing Green-flag phrases have been added to the HTML
preceding the links, to improve Link Evaluator's testing accuracy.
|
|
Contact Us
OCLC Openly Informatics 2 Broad St. Suite 208 Bloomfield NJ 07003 tel: 1-973-509-7800 nj-info@oclc.org
|
|
|
|
|
|