[EP-tech] TrendTerms in eprints 3.4 Screen::EPrint::Box

David R Newman drn at ecs.soton.ac.uk
Thu Sep 17 09:33:05 BST 2020


Hi Phil,

I do not have much experience with this specific plugin but it sounds 
like you have not refreshed abstract/summary pages since you made you 
latest changes.  Abstract/summary pages are cached, as they are static 
pages (maybe with some dynamic client-side JavaScript/AJAX content).  
Therefore you need to do the following:

1. Make your configuration changes in cfg.d files.

2. Check your changes are ok with "EPRINTS_PATH/bin/epadmin test".

3. Reload Apache (as root) with "apachectl graceful".

4. Refresh summary/abstract pages "EPRINTS_PATH/bin/epadmin 
refresh_abstracts ARCHIVE_NAME"

It is likely that the refresh_abstracts command will say reload the 
webserver.  You need not do this again.  It is better to do this the way 
round I show as it does not allow one or two summary pages to be 
recached under the old configuration.

Regards

David Newman

On 17/09/2020 08:47, Phil Stacey via Eprints-tech wrote:
> 
> Good morning would appreciate a bit of assistance currently trying to 
> configure eprints 3.4 to show a Screen::EPrint::Box in the summary page.
>
> Have updated eprint_render.pl and z_trendterms.pl but the box does not 
> appear as shown in the extract below from github readme. 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2FTrendTerms&data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=V4GqVqe%2FsZf3xL%2FWxBnHpxRAZK1VjRfn1wSK%2BnvnEm4%3D&reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2FTrendTerms&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=V4GqVqe%2FsZf3xL%2FWxBnHpxRAZK1VjRfn1wSK%2BnvnEm4%3D&amp;reserved=0>
>
> If you use a custom archives/{archive}/cfg/cfg.d/eprint_render.pl to 
> render the summary page, you can turn off the box in 
> archives/{archive}/cfg/cfg.d/z_trendterms.pl by setting
>
> $c->{plugins}->{"Screen::EPrint::Box::TrendTerms"}->{params}->{disable} 
> = 1;
>
> Working on using eprints for fire safety guidance, the document is 
> broken up into chunks with Liam Green script providing uncontrolled 
> keywords via azure AI text analytics, hoping to use the graph as a 
> navigation of keywords
>
> Best regards,
>
> Phil Stacey
>
> approved document b - volume 1: dwellings repository 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.buildvoc.co.uk%2Fcgi%2Fsearch%2Farchive%2Fadvanced%3Fscreen%3DSearch%26dataset%3Darchive%26documents_merge%3DALL%26documents%3D%26title_merge%3DALL%26title%3D%26creators_name_merge%3DALL%26creators_name%3D%26pagerange%3D%26edition_merge%3DALL%26edition%3D%26abstract_merge%3DALL%26abstract%3D%26date%3D%26keywords_merge%3DALL%26keywords%3D%26subjects%3Dapproved_document_b1_section_17%26subjects_merge%3DANY%26type%3Dbook_section%26type%3Dimage%26department_merge%3DALL%26department%3D%26editors_name_merge%3DALL%26editors_name%3D%26refereed%3DEITHER%26publication_merge%3DALL%26publication%3D%26satisfyall%3DALL%26order%3Dpagerange%252Fnumber%252Ftitle%252Fcreators_name%252F-date%26_action_search%3DSearch&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Ux%2BqUk0d706RLE9ehVlQU315JnZVlSnf85%2BsVPABINc%3D&amp;reserved=0>__
>
>
> Best Regards,
>
> Phil Stacey 07792661738 <tel:07792661738>
>
> building regulations guidance for fire safety 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.buildvoc.co.uk%2F&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=k7jb%2Bmsr0fjCGAI%2Fgu9zzMxMzfhn4jy%2BNXh5AeaE6kA%3D&amp;reserved=0>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=DUvVDA5riUP0sEAPggGgC1F6hcrNqWKeucaju2yP%2Bu8%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=KOzP18861xHdrdn2zej11e8tIfJizjOhsR5KxQ9Xhdw%3D&amp;reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7C04ab2b664ce64bf65f6508d85ae44dc7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=KbVxEKiZF9dCZwJRszmgHfS8WHKn%2BYh2%2BHaRjj5K87U%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200917/1afedb80/attachment.html 


More information about the Eprints-tech mailing list