PIRONET Benoît
2008-07-28 11:27:39 UTC
Hello,
I'd like to develop a alphabetic index (dictionnary) of all the jahia pages using a defined template in my jahia site.
I'd like to know what is the best practice to do it, relative to caching (esi), loading (this will be used on a big Jahia implementation).
Just two detail:
- I need to use pagination for this feature.
- I use Jahia 5.0.4_02
The possibilities I imagined:
-Setting a particular metadata to all the pages I want in the index and use search to retrieve them
-Using eventlistener to generate a static content placed in pages (could be difficult, 26 pages for each letter and there is still the pagination problem).
-Browsing all the pages of the website (certainly not a good idea due to load) (jahia pagination could be used)
- what is the best api to do so ? I saw that it is possible to get all the pages of a jahia website as a dom element, right way ?
-Using jsp jahia tag with absolute or relative ? still need to read the documentation again to be sure it could be done in that way
-Using jsp jahia jstl expression but this could be really big load.
Any other possibilities?
Thank you for your ideas,
Benoit Pironet
I'd like to develop a alphabetic index (dictionnary) of all the jahia pages using a defined template in my jahia site.
I'd like to know what is the best practice to do it, relative to caching (esi), loading (this will be used on a big Jahia implementation).
Just two detail:
- I need to use pagination for this feature.
- I use Jahia 5.0.4_02
The possibilities I imagined:
-Setting a particular metadata to all the pages I want in the index and use search to retrieve them
-Using eventlistener to generate a static content placed in pages (could be difficult, 26 pages for each letter and there is still the pagination problem).
-Browsing all the pages of the website (certainly not a good idea due to load) (jahia pagination could be used)
- what is the best api to do so ? I saw that it is possible to get all the pages of a jahia website as a dom element, right way ?
-Using jsp jahia tag with absolute or relative ? still need to read the documentation again to be sure it could be done in that way
-Using jsp jahia jstl expression but this could be really big load.
Any other possibilities?
Thank you for your ideas,
Benoit Pironet