[xwiki-users] Attachments-RAM dependencies, anchors, TOC
Hi! Kindly ask you to solve some unclear topics: I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments? - The same for CPU. How to estimate this and calculate hardware? What are main principles? II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ? III. Is there any way to manage anchors from Links plugin in WYSIWYG editor? The logic is: - select space - select page - select anchor on this page - put the link For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out. And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed". IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 .... It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-) Thank you Dmitry Bakbardin
On 12/06/2010 06:55 PM, Haru Mamburu wrote:
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments?
It depends on how large the attachments are. Currently (as of version 2.6) attachments are stored on the disk and in the database rather than in RAM so the only limit on the total of all attachments is the amount of space which your database can hold. Remember that the default database HSQL holds all tables in RAM. If you're asking about a single very large attachment. There is some inefficient code in the attachment version storage which means that you can only store attachments up to about 60MB with 512MB of heap space (RAM). This can be bypassed by setting the attachment version store type to "void" and the limit will rise over 100MB where the problem will become the transfer to and from the database.
- The same for CPU.
The CPU usage for attachments is not really a factor as compared to the number of users, page loads per second, number of pages, complexity of queries etc.
How to estimate this and calculate hardware? What are main principles?
It is an art as much as it is a science ;) Others know much more than me about the rest of your questions so I will leave this to them. Caleb
II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ?
III. Is there any way to manage anchors from Links plugin in WYSIWYG editor? The logic is: - select space - select page - select anchor on this page - put the link
For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out. And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Thank you
Dmitry Bakbardin
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thank you very much, in general - it's more than clear. Now I'm almost ready to master both science and art of XWiki setup :-) Mon, 06 Dec 2010 19:11:45 -0500 письмо от Caleb James DeLisle <[email protected]>:
On 12/06/2010 06:55 PM, Haru Mamburu wrote:
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments?
It depends on how large the attachments are. Currently (as of version 2.6) attachments are stored on the disk and in the database rather than in RAM so the only limit on the total of all attachments is the amount of space which your database can hold. Remember that the default database HSQL holds all tables in RAM.
If you're asking about a single very large attachment. There is some inefficient code in the attachment version storage which means that you can only store attachments up to about 60MB with 512MB of heap space (RAM). This can be bypassed by setting the attachment version store type to "void" and the limit will rise over 100MB where the problem will become the transfer to and from the database.
- The same for CPU.
The CPU usage for attachments is not really a factor as compared to the number of users, page loads per second, number of pages, complexity of queries etc.
How to estimate this and calculate hardware? What are main principles?
It is an art as much as it is a science ;)
Others know much more than me about the rest of your questions so I will leave this to them.
Caleb
II. Is it possible to customise WYSIWYG editor separetly for each space
in one sub-XWiki ?
III. Is there any way to manage anchors from Links plugin in WYSIWYG
editor?
The logic is: - select space - select page - select anchor on this page - put the link
For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out. And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Thank you
Dmitry Bakbardin
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi! Haru Mamburu wrote:
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments? - The same for CPU. How to estimate this and calculate hardware? What are main principles?
II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ?
III. Is there any way to manage anchors from Links plugin in WYSIWYG editor? The logic is: - select space - select page - select anchor on this page - put the link
For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out. And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Something like this will be also welcome here. We would like to have some "multi chapter book" feature to automatically generate such kind of TOCs without having to include the whole documents in a given page. For instance, this works: {{toc /}} {{include document="TOCsample01"/}} {{include document="TOCsample02"/}} But it create a "global" document including all the contents. It will be great to be able to define de scope of the TOC macro to include several documents. Perhaps those of a space or those in some way tagged. I think premises are there, but I'm still lacking the required developer skills to contribute a new macro or modify the existing one! Thanks.
Thank you
Dmitry Bakbardin
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems
On 12/07/2010 01:55 AM, Haru Mamburu wrote:
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments? - The same for CPU. How to estimate this and calculate hardware? What are main principles?
II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ?
You can edit the wysiwyg_storeConfig velocity macro found in templates/macros.vm so that it takes the value of the WYSIWYG editor configuration parameters from space preferences. For instance: #set($ok = $parameters.put('menu', $xwiki.getSpacePreference('wysiwyg.menu', 'link image table macro import'))) See http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com... Then you have to add the corresponding properties (i.e. 'wysiwyg.menu') to SpaceName.WebPreferences page (where 'SpaceName' is the space where you want the WYSIWYG editor to be customised). You can do this for any WYSIWYG editor configuration parameter. For the full list, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigura... .
III. Is there any way to manage anchors from Links plugin in WYSIWYG editor? The logic is: - select space - select page - select anchor on this page - put the link
This is not possible right now through the WYSIWYG editor UI. You can open a feature request on jira.xwiki.org Hope this helps, Marius
For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out. And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Thank you
Dmitry Bakbardin
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thank you, Marius, I will try now and leave feature request also :-) Tue, 07 Dec 2010 12:07:36 +0200 письмо от Marius Dumitru Florea <[email protected]>:
On 12/07/2010 01:55 AM, Haru Mamburu wrote:
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies: - How many server RAM memory is required for each 1GB of attachments? - The same for CPU. How to estimate this and calculate hardware? What are main principles?
II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ?
You can edit the wysiwyg_storeConfig velocity macro found in templates/macros.vm so that it takes the value of the WYSIWYG editor configuration parameters from space preferences. For instance:
#set($ok = $parameters.put('menu', $xwiki.getSpacePreference('wysiwyg.menu', 'link image table macro import')))
See http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com...
Then you have to add the corresponding properties (i.e. 'wysiwyg.menu') to SpaceName.WebPreferences page (where 'SpaceName' is the space where you want the WYSIWYG editor to be customised).
You can do this for any WYSIWYG editor configuration parameter. For the full list, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigura... .
III. Is there any way to manage anchors from Links plugin in WYSIWYG
editor?
The logic is: - select space - select page - select anchor on this page - put the link
This is not possible right now through the WYSIWYG editor UI. You can open a feature request on jira.xwiki.org
Hope this helps, Marius
For now, even if I write down XWiki.WebHome#anchor in the link field
manually, I get #anchor cut out.
And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/ It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page? For Example: toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC. I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Thank you
Dmitry Bakbardin
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (4)
-
Caleb James DeLisle -
Haru Mamburu -
Marius Dumitru Florea -
Ricardo Rodriguez [eBioTIC.]