Welcome, Guest ( Login | Register )
Remember Me  
 
 
All times are UTC
 
 
Edit Report - Sort Order of Keywords
 
Page 1 of 1 [ 2 posts ]
Author Message
Post subject: Edit Report - Sort Order of Keywords
Posted: Tue Jan 31, 2012 6:26 pm

Newborn

Newborn

Posts: 4

Online

I'm creating a custom report, and I'd like to change the sort order of the report. Instead of sorting alphabetically on the keyword, I'd like to sort ascending on the rank.

Any tips on how to do that?

Thanks!

_________________
Know Thyself
Online Personality Assessment
24 Traits - Executive Coach Review - 45 Page Report


Top
Post subject:
Posted: Wed Feb 01, 2012 2:48 pm

Newborn

Newborn

Posts: 4

Online

Since I've seen this question asked, but not answered, when I searched the forums, I thought I'd supply the solution.

I submitted a ticket, and the folks replied (in about 12 hours! Awesome!) with a TXT file that contains the report the way I wanted it.

Copy the text below and paste it into a new report. If you need help figuring out how to do that, here's the link to the instructions:

http://www.link-assistant.com/support/index.php?/Knowledgebase/Article/View/44/5/how-to-create-non-standard-seo-reports

Code:
<[REPORT pageNum="1"]>
<[DEFINE name="company" value="reportData.company"/]>
<[DEFINE name="customer" value="reportData.customer"/]>
<[DEFINE name="currentDate" value="reportData.currentDate"/]>
<[DEFINE name="dateFormat" value="reportData.createDateFormat('MMM d, yyyy', 'en')"/]>
<[DEFINE name="singlePage" value="reportData.singlePage"/]>
<[DEFINE name="currentPage" value="reportData.currentPage"/]>
<[DEFINE name="numberFormat" value="reportData.createNumberFormat('0.#')"/]>
<[DEFINE name="compareAgainst" value="reportData.compareAgainst"/]>
<[DEFINE name="keywords" value="reportData.keywords"/]>
<[DEFINE name="searchEngines" value="reportData.searchEngines"/]>
<[DEFINE name="maxResults" value="reportData.maxResults"/]>
<[DEFINE name="numberFormat" value="reportData.createNumberFormat('0.#')"/]>
<[DEFINE name="PERIOD_IN_DAYS" value="30"/]>
<[DEFINE name="NON_IN_TOP" value="'Not in top'"/]>
<[DEFINE name="ENTERED_VALUE" value="2147483647"/]>
<[DEFINE name="DROPPED_VALUE" value="-2147483646"/]>
<[DEFINE name="NOT_RANKED_VALUE" value="-2147483647"/]>
<[DEFINE name="NOT_CHECKED_VALUE" value="-2147483648"/]>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
      <title>Keyword Rankings and Visibility Report</title>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
      <style type="text/css">
         html, body, h3 {
    margin: 0;
    padding: 0;
}

html, body, td {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    color: #4b4b4b;
}

h1 {
    font-size: 24px;
    color: #4c4b4b;
}

h2 {
    font-size: 14px;
    color: #a1a1a1;
    font-weight: normal;
}

.a1 {
    color: #a1a1a1;
}

h2 strong, table td.a1 strong, #title .a1 strong, table ul.a1 strong, p.a1 strong {
    color: #4b4b4b;
}

a {
    color: #3b68b2;
}

a:hover {
    color: #188cf8;
}

.hr {
    border: 0;
    border-top: 2px dotted #e3e3e3;
    margin: 15px 0;
}

#inner {
    width: 910px;
    padding-right: 40px;
}

#header {
    width: 100%;
    height: 113px;
    padding: 0;
    border-spacing: 0;
}

#logo {
    width: 127px;
    text-align: center;
}

#title h1 {
    margin: 0;
    padding: 0;
}

#title span {
    font-size: 14px;
}

#information {
    text-align: right;
    color: #676767;
    width: 25%;
}

.date {
    color: #353535;
}

.section-header {
    color: #c1c1c1;
    background: #696969;
    font-size: 24px;
    padding: 5px 40px 7px;
}

.section-header-small {
    color: #FFFFFF;
    background: #696969;
    font-size: 24px;
    float: left;
    width: 440px;
}

.section-body {
    padding-left: 40px;
}

.section-body-small {
    padding-left: 40px;
    float: left;
    width: 400px;
}

.section-header strong {
    color: #fff;
}

.inner-data {
    width: 100%;
}

.inner-table-td {
    width: 511px;
    padding-left: 40px;
}

.table-margin {
    margin-left: 18px;
}

.long-data .no-pad td, .blank .no-pad td {
    padding-top: 0px;
    padding-bottom: 0px;
}

.blank td {
    padding: 10px;
    text-align: left;
    border-right: 1px solid #eaeaea;
    vertical-align: bottom;
}

.data {
    width: 100%;
    border-right: 1px solid #eaeaea;
    padding: 0;
    border-spacing: 0;
}

.data td {
    height: 30px;
    font-weight: bold;
    text-align: right;
}

.data-last-cell {
    padding-right: 11px;
}

.data .header td {
    background: #f9f9f9;
    color: #a1a1a1;
    font-weight: normal;
}

.result {
    line-height: 2.5em;
    padding-left: 81px;
}

.px18, .recommendation h3 {
    font-size: 18px;
    margin-bottom: 3px;
}

ul.recommendation {
    list-style-image: url('./images/recommendation.png');
    line-height: 1.5em;
    margin-left: 0px;
    padding-left: 23px;
}

ul.broken-links, ul.errors {
    padding-left: 0px;
    list-style: none;
}

ul.legend {
    list-style: none;
    margin-top: 10px;
    padding-left: 25px;
}

ul.legend li, ul.legend-small li {
    margin-top: 15px;
}

ul.legend-inner {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

ul.legend-inner li {
    padding: 0px;
    margin: 0px;
}

ul.legend-small {
    list-style: none;
    padding-left: 15px;
}

.float-left {
    display: block;
    float: left;
}

.float-right {
    display: block;
    float: right;
}

.long-data {
    width: 100%;
    padding: 0;
    border-spacing: 0;
}

.long-data .header td {
    background: #f4f4f4;
    color: #454545;
    height: 40px;
    text-align: center;
}

.long-data td {
    padding: 6px 8px;
    text-align: right;
    border-right: 1px solid #eaeaea;
}

.long-data .border-bottom td {
    border-bottom: 1px solid #eaeaea;
}

.f9 {
    background: #f9f9f9;
}

.bold {
    font-weight: bold;
}

.marg {
    margin: 5px 40px 7px;
}

.pr8 {
    width: 8%;
}

.pr35 {
    width: 35%;
}

.pr15 {
    width: 15%;
}

.pr20 {
    width: 20%;
}

.pr25 {
    width: 25%;
}

.pr50 {
    width: 50%;
}

.pr40 {
    width: 40%;
}

.pr45 {
    width: 45%;
}

.px18 {
    font-size: 18px;
}

.px16 {
    font-size: 16px;
}

.px14 {
    font-size: 14px;
}

.red {
    color: #ff3000;
}

.green {
    color: #4dac00;
}

.gray {
    color: #898989;
}

.h30 {
    height: 30px;
}

.long-data td.pad10 {
    padding-right: 10%;
}

.long-data td.no-border, .table-margin .no-border {
    border-right: 0px none;
}

.left, .long-data td.left {
    text-align: left;
}

.bottom {
    vertical-align: bottom;
}

.top {
    vertical-align: top;
}

.middle {
    vertical-align: middle;
}

.cell-big-point, .cell-point {
    float: left;
    width: 16px;
    text-align: center;
    margin-right: 10px;
}

.cell-point {
    position: relative;
    bottom: -4px;
}

.icon {
    margin-bottom: -3px;
}

.table-margin .icon {
    margin-bottom: -2px;
    margin-left: -2px;
}

p.blank {
    line-height: 2em;
}

p.blank .icon {
    margin-bottom: -1px;
}

.big-icon {
    margin-bottom: -7px;
}

.small-margin {
    margin-bottom: 1px;
}

.middle-margin {
    margin-bottom: 2px;
}

.cell-average {
    width: 12px;
    height: 12px;
    background: #bbbbbb;
    float: left;
    margin: 0 12px 0 2px;
    position: relative;
    bottom: -1px;
}

.average-text {
    font-weight: normal;
    color: #676767;
}

.rect, .rect-big {
    font-size: 9px;
    top: -2px;
    position: relative;
    padding-right: 9px;
    margin: 0 5px;
}

.rect-big {
    font-size: 13px;
    padding-right: 13px;
}

.square {
    display: block;
    width: 15px;
    height: 15px;
}

.long-data td.square-cont {
    width: 4%;
}

.notice {
    background: #eaeaea;
    font-size: 14px;
    padding: 16px 41px;
    line-height: 1.4em;
}

.notice img {
    float: left;
    margin-right: 10px;
}

.progress {
    height: 10px;
    background: #5e98d9;
}

.dot_img {
    position: relative;
    top: -4px;
}

.no-wrap {
    white-space: nowrap;
}

.clear {
    clear: both;
}

.sort_up {
    background: url('images/up.png') no-repeat center right;
    padding-right: 14px;
}

.sort_down {
    background: url('images/down.png') no-repeat center right;
    padding-right: 14px;
}
      </style>
   </head>
   <body>
      <div id="inner">
         <table id="header">
            <tr>
               <td id="logo"><[IF condition="company.logo != null"]><[THEN]><a href="<[ECHO text="company.website"/]>" onclick="target='_blank'"><[IMAGE src="company.logo" alt="company.name" border="0" maxWidth="150" maxHeight="97"/]></a><[/THEN]><[ELSE]><img src="images/appliacation_48.png" width="48" height="48" alt="" /><[/ELSE]><[/IF]></td>
               <td id="title"><h1>Keyword Rankings and Visibility Report</h1><span class="a1"><strong><[ECHO text="keywords.size()"/]></strong> keywords in <strong><[ECHO text="searchEngines.size()"/]></strong> search engines and <strong><[ECHO text="searchEngines.size() * keywords.size()"/]></strong> rankings</span></td>
               <td id="information">
                  Report created: <[ECHO text="dateFormat.format(currentDate)"/]><br />
                  Website: <a href="<[ECHO text="customer.website"/]>"><[ECHO text="customer.website"/]></a><br />
                  Results compared with: <[ECHO text="compareAgainst.getDescription('en').toLowerCase()"/]>
               </td>
            </tr>
         </table>
         <[IF condition="!reportData.showData"]><[THEN]>
         <div class="notice">
            <img src="images/notice.png" width="43" height="36" alt="Notice" />Your software is using <strong>Free license</strong>, therefore reports take into account only part of the data included in your project.<br/>To be able to create complete reports, please <a href="<[ECHO text="reportData.buyReportURL"/]> onclick="target='_blank'">upgrade your license</a>.
         </div><[/THEN]><[/IF]>
         <div class="section-header">
            <strong>Visibility in Search Engines: Total</strong>
         </div>
         <div class="section-body">
            <br />
            <table class="blank table-margin">
            <tr class="no-pad">
            <td class="bottom">
            <strong class="px18"><[ECHO text="reportData.getTotalPercentVisibility()"/]>%</strong>
            </td>
            <td class="left no-border bottom">
            <[IF condition="(reportData.getTotalPercentVisibility() - reportData.getPreviousTotalPercentVisibility()) > 0"]>
            <[THEN]>
            <img src="images/arrow_up.png" class="icon" alt="up" width="12" height="16" />&nbsp;&nbsp;<strong class="green px16"><[ECHO text="reportData.getTotalPercentVisibility() - reportData.getPreviousTotalPercentVisibility()"/]>%</strong>
            <[/THEN]>
            <[ELSE]>
            <[IF condition="(reportData.getTotalPercentVisibility() - reportData.getPreviousTotalPercentVisibility()) < 0"]>
            <[THEN]>
            <img src="images/arrow_down.png" class="icon" alt="down" width="12" height="16" />&nbsp;&nbsp;<strong class="red px16"><[ECHO text="Math.abs(reportData.getTotalPercentVisibility() - reportData.getPreviousTotalPercentVisibility())"/]>%</strong>
            <[/THEN]>
            <[ELSE]>
            <span><img class="dot_img icon" src="images/arrow_dot.png" alt="dot" width="6" height="6" />&nbsp;<strong class="px16"><[ECHO text="reportData.getTotalPercentVisibility() - reportData.getPreviousTotalPercentVisibility()"/]>%</strong></span>
            <[/ELSE]>
            <[/IF]>
            <[/ELSE]>
            <[/IF]>
            </td>
            </tr>
            </table>
            <br />
            <[TRENDS_CHART width="874" height="270" src="reportData.getTotalVisibilityChartData(PERIOD_IN_DAYS)" fileName="'totalVisibilityInSearchEngines.png'" showRange="true" showShapes="true" chartLabelColor="2105376" chartGridColor="15132390"/]>
         </div>
         <div class="section-header">
            <strong>Current Visibility in Search Engines</strong>
         </div>
         <div class="section-body">
         <[BAR_CHART height="350" src="reportData.getVisibilityScoreBySESectionChartData()" fileName="'visibilityScoreInDifferentSESection.png'" chartLabelColor="2105376" chartGridColor="15132390" widthString="reportData.getDifferentSESectionChartWidth()"/]>
         </div>
         <br />
         <div class="section-header">
            <strong>Top Search Engine Rankings: Overview</strong>
         </div>
         <div class="section-body">
         <br />
         <table class="long-data">
            <tr class="f9">
               <td class="left no-border">Ranked 1st</td>
               <td><strong><[ECHO text="keywords.getInTop(searchEngines, 1)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getInTop(searchEngines, 1))" fileName="'rankedFirst.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">
               <[DEFINE name="delta" value="keywords.getInTopDifference(compareAgainst, searchEngines, 1)"/]>
               <[IF condition="delta > 0"]>
               <[THEN]>
               <span class="green">+<[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <[IF condition="delta < 0"]>
               <[THEN]>
               <span class="red"><[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <span><[ECHO text="delta"/]></span>
               <[/ELSE]>
               <[/IF]>
               <[/ELSE]>
               <[/IF]>
               </td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getInTop(searchEngines, 1)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsInTop(searchEngines, 1)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesInTop(searchEngines,1)"/]> search engines</strong></td>
            </tr>
            <tr>
               <td class="left no-border">In Top 3</td>
               <td><strong><[ECHO text="keywords.getInTop(searchEngines, 3)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getInTop(searchEngines, 3))" fileName="'inTopThree.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">
               <[DEFINE name="delta" value="keywords.getInTopDifference(compareAgainst, searchEngines, 3)"/]>
               <[IF condition="delta > 0"]>
               <[THEN]>
               <span class="green">+<[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <[IF condition="delta < 0"]>
               <[THEN]>
               <span class="red"><[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <span><[ECHO text="delta"/]></span>
               <[/ELSE]>
               <[/IF]>
               <[/ELSE]>
               <[/IF]>
               </td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getInTop(searchEngines, 3)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsInTop(searchEngines, 3)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesInTop(searchEngines,3)"/]> search engines</strong></td>
            </tr>
            <tr class="f9 border-bottom">
               <td class="left no-border">In Top 10</td>
               <td><strong><[ECHO text="keywords.getInTop(searchEngines, 10)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getInTop(searchEngines, 10))" fileName="'inTopTen.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">
               <[DEFINE name="delta" value="keywords.getInTopDifference(compareAgainst, searchEngines, 10)"/]>
               <[IF condition="delta > 0"]>
               <[THEN]>
               <span class="green">+<[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <[IF condition="delta < 0"]>
               <[THEN]>
               <span class="red"><[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <span><[ECHO text="delta"/]></span>
               <[/ELSE]>
               <[/IF]>
               <[/ELSE]>
               <[/IF]>
               </td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getInTop(searchEngines, 10)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsInTop(searchEngines, 10)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesInTop(searchEngines,10)"/]> search engines</strong></td>
            </tr>
            <tr>
               <td class="left no-border">In Top <[ECHO text="maxResults"/]></td>
               <td><strong><[ECHO text="keywords.getInTop(searchEngines, maxResults)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getInTop(searchEngines, maxResults))" fileName="'inTopN.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">
               <[DEFINE name="delta" value="keywords.getInTopDifference(compareAgainst, searchEngines, maxResults)"/]>
               <[IF condition="delta > 0"]>
               <[THEN]>
               <span class="green">+<[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <[IF condition="delta < 0"]>
               <[THEN]>
               <span class="red"><[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <span><[ECHO text="delta"/]></span>
               <[/ELSE]>
               <[/IF]>
               <[/ELSE]>
               <[/IF]>
               </td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getInTop(searchEngines, maxResults)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsInTop(searchEngines, maxResults)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesInTop(searchEngines,maxResults)"/]> search engines</strong></td>
            </tr>
            <tr class="f9 border-bottom">
               <td class="left no-border">Not in Top <[ECHO text="maxResults"/]></td>
               <td><strong><[ECHO text="keywords.getNonInTop(searchEngines, maxResults)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getNonInTop(searchEngines, maxResults))" fileName="'notInTopN.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">
               <[DEFINE name="delta" value="-keywords.getInTopDifference(compareAgainst, searchEngines, maxResults)"/]>
               <[IF condition="delta > 0"]>
               <[THEN]>
               <span class="green">+<[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <[IF condition="delta < 0"]>
               <[THEN]>
               <span class="red"><[ECHO text="delta"/]></span>
               <[/THEN]>
               <[ELSE]>
               <span><[ECHO text="delta"/]></span>
               <[/ELSE]>
               <[/IF]>
               <[/ELSE]>
               <[/IF]>
               </td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getNonInTop(searchEngines, maxResults)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsNonInTop(searchEngines, maxResults)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesNonInTop(searchEngines,maxResults)"/]> search engines</strong></td>
            </tr>
            <tr>
               <td class="left no-border">Moved up</td>
               <td><strong><[ECHO text="keywords.getMovedUp(compareAgainst)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getMovedUp(compareAgainst))" fileName="'movedUp.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">&nbsp;</td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getMovedUp(compareAgainst)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsMovedUp(compareAgainst)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesMovedUp(compareAgainst)"/]> search engines</strong></td>
            </tr>
            <tr class="f9">
               <td class="left no-border">Moved down</td>
               <td><strong><[ECHO text="keywords.getMovedDown(compareAgainst)"/]></strong>&nbsp;&nbsp;
               <[IF condition="keywords.size() > 0"]>
               <[THEN]><[PIE_CHART width="22" height="23" src="reportData.getRankedPieChartData(keywords.getMovedDown(compareAgainst))" fileName="'movedDown.png'" class="'big-icon'"/]>
               <[/THEN]>
               <[ELSE]><img src="images/arrow_mid.png" alt="arrow mid" width="12" height="16" class="middle" />
               <[/ELSE]>
               <[/IF]></td>
               <td class="left no-border">&nbsp;</td>
               <td class="left no-border a1"><strong> <[ECHO text="keywords.getMovedDown(compareAgainst)"/]> rankings</strong> found for <strong> <[ECHO text="keywords.getKeywordsMovedDown(compareAgainst)"/]> keywords</strong> in <strong> <[ECHO text="keywords.getSearchEnginesMovedDown(compareAgainst)"/]> search engines</strong></td>
            </tr>
         </table>
         </div>
         <br />
         <div class="section-header">
            <strong>Search Engine Rankings: Details</strong>
         </div>
         <div class="section-body">
         <br />
         <table class="long-data">
            <tr class="header">
               <td class="bold">Keyword&nbsp;<span class="sort_down" ></span></td>
               <[FOR_EACH name="reportData.sort(searchEngines, 'name')" id="searchEngine"]>
               <[IF condition="searchEngineCounter == searchEngines.size()"]>
               <[THEN]>
               <td class="bold no-border" colspan="2">
               <[/THEN]>
               <[ELSE]>
               <td class="bold" colspan="2">
               <[/ELSE]>
               <[/IF]>
               <img src="images/se/<[ECHO text="searchEngine.iconFileName"/]>" class="icon" alt="<[ECHO text="searchEngine.name"/]>" width="16" height="16" />
               &nbsp;&nbsp;<[ECHO text="searchEngine.name"/]>
               </td>
               <[/FOR_EACH]>
            </tr>
            <[FOR_EACH name="reportData.sort(keywords, searchEngine, 'rank', true)" id="keyword"]>
            <tr<[IF condition="keywordCounter % 2 == 0"]><[THEN]> class="f9"<[/THEN]><[/IF]>>
               <td class="left"><[ECHO text="keyword.getQuery()"/]></td>
               <[FOR_EACH name="reportData.sort(searchEngines, 'name')" id="searchEngine"]>
               <[DEFINE name="history" value="keyword.getHistory(searchEngine)"/]>
               <[DEFINE name="lastPosition" value="history.getPosition()"/]>
               <td><[IF condition="lastPosition != null"]><[THEN]>
               <[DEFINE name="universalResultType" value="lastPosition.getUniversalSearchType()"/]><span class=<[IF condition="lastPosition.positionNotFound"]><[THEN]>"a1 no-wrap"><[ECHO text="NON_IN_TOP"/]> <[ECHO text="lastPosition.nonTopReportPositionDescription"/]><[/THEN]><[ELSE]>"bold no-wrap"><[ECHO text="lastPosition.inTopReportPositionWithSubPositionDescription"/]><[/ELSE]><[/IF]></span><[IF condition="universalResultType != null"]><[THEN]><span class="no-wrap">&nbsp;&nbsp;<img src="images/se/universal/<[ECHO text="universalResultType.getIconFileName()"/]>" width="16" alt="result" height="16" class="middle"/></span><[/THEN]><[/IF]><[/THEN]><[ELSE]><img src="images/arrow_mid.png" class="icon"  alt="mid" width="10" height="16" /><[/ELSE]><[/IF]></td>
               <td class="left"><[IF condition="history != null"]><[THEN]><[IF condition="history.getTopDelta(compareAgainst).ranked"]><[THEN]><[IF condition="history.getTopDelta(compareAgainst).value > 0"]><[THEN]><span class="no-wrap"><img src="images/arrow_up.png" class="icon"  alt="up" width="12" height="16" />&nbsp;&nbsp;<span class="green"><[ECHO text="history.getTopDelta(compareAgainst).value"/]></span></span><[/THEN]><[ELSE]><[IF condition="history.getTopDelta(compareAgainst).value < 0"]><[THEN]><span class="no-wrap"><img src="images/arrow_down.png" class="icon" alt="down" width="12" height="16" />&nbsp;&nbsp;<span class="red"><[ECHO text="Math.abs(history.getTopDelta(compareAgainst).value)"/]></span></span><[/THEN]><[ELSE]><span class="no-wrap"><img src="images/arrow_dot.png" class="middle"  alt="dot" width="6" height="6" />&nbsp;&nbsp;<span>0</span></span><[/ELSE]><[/IF]><[/ELSE]><[/IF]><[/THEN]><[ELSE]><[IF condition="history.getTopDelta(compareAgainst).value == ENTERED_VALUE"]><[THEN]><img src="images/arrow_up.png" class="icon"  alt="up" width="12" height="16" /><[/THEN]><[ELSE]><[IF condition="history.getTopDelta(compareAgainst).value == NOT_RANKED_VALUE"]><[THEN]><img src="images/arrow_mid.png" class="icon"  alt="mid" width="10" height="16" /><[/THEN]><[ELSE]><[IF condition="history.getTopDelta(compareAgainst).value == NOT_CHECKED_VALUE"]><[THEN]><img src="images/arrow_mid.png" class="icon"  alt="mid" width="10" height="16" /><[/THEN]><[ELSE]><img src="images/arrow_down.png" class="icon" alt="down" width="12" height="16" /><[/ELSE]><[/IF]><[/ELSE]><[/IF]><[/ELSE]><[/IF]><[/ELSE]><[/IF]><[/THEN]><[/IF]>
               </td>
               <[/FOR_EACH]>
            </tr>
            <[/FOR_EACH]>
         </table>
         <br />
         </div>
         <div class="hr"></div>
         <div id="footer" class="section-body">
            Report created: <[ECHO text="dateFormat.format(currentDate)"/]> by <a href="<[ECHO text="company.website"/]>" onclick="target='_blank'"><[ECHO text="company.name"/]></a><br />
            Powered by <a href="http://www.link-assistant.com/rank-tracker/" onclick="target='_blank'">Rank Tracker</a>
         </div>
      </div>
   </body>
</html>
<[/REPORT]>


I hope it helps!

_________________
Know Thyself
Online Personality Assessment
24 Traits - Executive Coach Review - 45 Page Report


Top
Display topics from previous:  Sort by  
Page 1 of 1 [ 2 posts ]

 
 
All times are UTC
Jump to: