6542ba707229988a8b763bc5952f476f0097d7b5
max
  Fri Mar 16 13:33:30 2012 -0700
sciencedirect auto activate app
diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c
index 6b8b4fc..804d089 100644
--- src/hg/hgc/t2g.c
+++ src/hg/hgc/t2g.c
@@ -152,31 +152,34 @@
 char* sectionList = makeSqlMarkerList();
 printLimitWarning(conn, markerTable, item, itemLimit, sectionList);
 
 printf("<H3>Snippets from Publications:</H3>");
 struct sqlResult* sr = queryMarkerRows(conn, markerTable, articleTable, item, itemLimit, sectionList);
 
 char **row;
 while ((row = sqlNextRow(sr)) != NULL)
 {
     char* articleId = row[0];
     char* url = row[1];
     char* title = row[2];
     char* authors = row[3];
     char* citation = row[4];
     char* snippets = row[5];
-    printf("<A HREF=\"%s\">%s</A> ", url, title);
+    char* addParam = "";
+    if (strstrNoCase(url, "sciencedirect.com"))
+        addParam = "?svAppaddApp=298535"; // add the "UCSC matches" sciverse application to article view
+    printf("<A HREF=\"%s%s\">%s</A> ", url, addParam, title);
     printf("<SMALL>%s</SMALL>; ", authors);
     printf("<SMALL>%s</SMALL><BR>", citation);
     if (t2gDebug)
         printf("articleId=%s", articleId);
     printf("<I>%s</I><P>", snippets);
     printf("<HR>");
 }
 
 freeMem(sectionList);
 sqlFreeResult(&sr);
 }
 
 static char* printArticleInfo(struct sqlConnection *conn, char* item)
 /* Header with information about paper, return documentId */
 {