EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09909
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] How to regenerate count in tree view?
- To: <eprints-tech@ecs.soton.ac.uk>, MOHD.IZWAN SALIM <mohdizwan8733@uitm.edu.my>
- Subject: Re: [EP-tech] How to regenerate count in tree view?
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Sun, 22 Dec 2024 17:03:51 +0000
Hi Izwan,
By default, all browse view pages, menus (e.g. https://ir.uitm.edu.my/view/collection/ and https://ir.uitm.edu.my/view/collection/h=5Fimpak/) and liings (https://ir.uitm.edu.my/view/collection/h=5Fimpak/2008.html) are regenerated if they are requested more than 24 hours after they were last generated. However, if you want to regenerate all browse view pages (menus and listings) for a particular browse view (e.g. collection) you need the command:
<EPRINTS_PATH>/bin/generate_views <ARCHIVE_ID> --view collection
Typically, people have a scheduled task (cron job) that runs every night. Depending on how big your repository archive is / number of browse views, some people get this cron job to update just the menus:
<EPRINTS_PATH>/bin/generate_views <ARCHIVE_ID> --generate menus --quiet
or they regenerate all browse views' menus and listings pages:
<EPRINTS_PATH>/bin/generate_views <ARCHIVE_ID> --quiet
Regards
David Newman
On 21/12/2024 7:35 pm, MOHD.IZWAN SALIM
wrote:
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Dear support, how to re-generate or recount the total item in the tree view?Mine was messed up here - https://ir.uitm.edu.my/view/collection/
Regards
IzwanUiTM Digital Library
PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...
DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law including the Official Secrets Act 1972. READ MORE...
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] How to regenerate count in tree view?
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Re: [EP-tech] How to regenerate count in tree view?
- References:
- [EP-tech] How to regenerate count in tree view?
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- [EP-tech] How to regenerate count in tree view?
- Prev by Date: [EP-tech] How to regenerate count in tree view?
- Next by Date: Re: [EP-tech] How to regenerate count in tree view?
- Previous by thread: [EP-tech] How to regenerate count in tree view?
- Next by thread: Re: [EP-tech] How to regenerate count in tree view?
- Index(es):