6b6ecc50247ef843cd2ad6d29f8dcd63ac87f54d
max
  Sat Sep 7 14:32:22 2013 -0700
various small changes to pubs tracks to be able to show bing.com crawl results
diff --git src/hg/hgTracks/pubsTracks.c src/hg/hgTracks/pubsTracks.c
index 2ed4933..d66f5ec 100644
--- src/hg/hgTracks/pubsTracks.c
+++ src/hg/hgTracks/pubsTracks.c
@@ -96,30 +96,32 @@
     //printf("Adding hash: %s -> %d,%d,%d", class, rgb->r, rgb->g, rgb->b);
     hashAdd(pubsClassColors, cloneString(class), rgb);
     }
 sqlFreeResult(&sr);
 }
 
 static char *pubsFeatureLabel(char *author, char *year) 
 /* create label <author><year> given authors and year strings */
 {
 char *authorYear = NULL;
 
 if (isEmpty(author))
     author = "NoAuthor";
 if (isEmpty(year))
     year = "NoYear";
+else if (sameWord(year, "0"))
+    year = "";
 authorYear  = catTwoStrings(author, year);
 
 return authorYear;
 }
 
 static void setFormatFlag(struct sqlConnection* conn, char* tableName) 
 /* We support two different storage places for article data: either the bed table directly 
  * includes the title + author of the article or we have to look it up from the articles 
  * table. Having a copy of the title in the bed table is faster 
  * This function sets the flag to indicate the version we have in our table.
  * */
 {
 if (seqTableFormat!=0)
     return;
 if (sqlColumnExists(conn, tableName, "title"))