Use comments.cgi - gophercgis - Collection of gopher CGI/DCGI for geomyidae
 (HTM) hg clone https://bitbucket.org/iamleot/gophercgis
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) changeset b41fecd8da13c15fd87fbc349c32e88d7120bf49
 (DIR) parent 4ec766814ea10f6abd242a87e5fa143e042c116d
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Tue, 21 Aug 2018 00:08:39 
       
       Use comments.cgi
       
       Diffstat:
        instagram/user.dcgi |  5 +++--
        1 files changed, 3 insertions(+), 2 deletions(-)
       ---
       diff -r 4ec766814ea1 -r b41fecd8da13 instagram/user.dcgi
       --- a/instagram/user.dcgi       Tue Aug 21 00:01:22 2018 +0200
       +++ b/instagram/user.dcgi       Tue Aug 21 00:08:39 2018 +0200
       @@ -1,6 +1,7 @@
        #!/bin/sh
        
        
       +COMMENTS_CGI="/cgi/instagram/comments.cgi"
        CGI="/cgi/instagram/user.dcgi"
        
        
       @@ -103,8 +104,8 @@
                   "URL:" + .display_url + "|server|port]" ),
                    ( .edge_media_to_caption.edges[] | "t" + .node.text )),
                "tLikes:    " + ( .edge_media_preview_like.count | tostring ),
       -        "[h|Comments: " + ( .edge_media_to_comment.count | tostring ) + "|" +
       -           "URL:" + "https://www.instagram.com/p/" + .shortcode + "|server|port]",
       +        "[0|Comments: " + ( .edge_media_to_comment.count | tostring ) + "|" +
       +           "'"${COMMENTS_CGI}"'?" + .shortcode + "|server|port]",
                "t" )
        )
        '"${footer}"'