Lightsquid Export Data



  • I would like to display the top 25 websites from lightsquid on our intranet.

    This is ofcourse possible with lightsquid, but it also displays who visited the website and so on.

    Would it be possible to export this data and display only the websites, without the " who " feature?

    I could modify the ligthsquid code to not display the who link, but I would actually still like to use this feature when needed.

    Would it be possible to create a 2nd cgi or command (in the url?) to display only the top websites each month without any user data?



  • Interested question. I will explore this.



  • Possible change Lightsquid template
    /usr/local/www/lightsquid/tpl/… < - select you active template subfolder
    Search topsites.html

    
              ##SITENUM##
              [##SITEURLWHO_B##](##SITEURLWHO_L##)
              [##SITEURL_B##](##SITEURL_L##)
              ##SITECONNECT##
              ##SITEBYTES##
              ##SITEPERCENT##%
    
    

    Remove```
    ##SITEURLWHO_B##



  • Thanks this works perfectly, although people can still click on home to go to index.cgi and see who visits which sites.

    I could change all the templates to remove that, but then I would not be able to lookup the info myself..

    Is it possible to make a cronjob to copy the topsites every month to another server or maybe another directory so I can block the /lightsquid directory?

    I could even install a 2nd pfsense vmware or something, just to display the topsites thing? Then I could leave the who field, because the hrefs there wont' work since I block all pfsense lightsquid access.

    Also it seems that the topsites display All websites, would it be possible to display only 25 for example?



  • although people can still click on home to go to index.cgi and see who visits which sites.
    Fix this

    
               [# ##MSG_HEADER##](index.cgi) 
               [# Home](/) 
    
    

    As

    
               <a># ##MSG_HEADER##</a> 
               <a># Home</a> 
    
    

    would it be possible to display only 25 for example?
    Change /usr/local/etc/lightsquid/lightsquid.cfg

    
    #how many site show in TopSites report
    $topsiteslimit       = 25;
    
    

    Is it possible to make a cronjob to copy the topsites every month to another server or maybe another directory so I can block the /lightsquid directory?

    Report DB catalog is /var/lightsquid/report


Log in to reply