Re: [xwiki-users] Statistics for Pages
Hi Felix, On 08/04/2010 12:21 AM, Meng Wu wrote: Hey, Are there snippets or apps out there that allow you to get the stats for single pages? I've only seen that let you find the stats for a group of pages. I also can't find the API to allows me to customize stats aggregation from the stats module. Can anyone help? If you want custom stats then you'll have to query yourself the xwikistatsdoc ( http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiDocumentStats ) table. Take a look at http://code.xwiki.org/xwiki/bin/view/Snippets/NumberOfEditedArticlesPerDayAndPerWeekSnippet or http://code.xwiki.org/xwiki/bin/view/Snippets/MostViewedArticlesSnippet . Note that xwikistatsdoc already contains aggregated data and the lowest unit of time for which stats are aggregated is a day. The main information that you can extract for a particular document is the number of views/edits per day/week/month/year (i.e. view/edit trend for a given page) Hope this helps, Marius Thanks, Felix ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Webdav Access for a mulitple virtual Wiki's
Hallo everybody, I want to have permanent Webdav access to multiple virtual wikis for file synchronisation. However, there are some problems with achiving that: 1. Mounting a webdav access on a networkdrive via Netdrive won't suffice as there will be more than 26 Wikis. Ideally there could be one webdav access for the whole wiki farm, for example through URL-Path based webdav access. (One drive for the whole farm) 2. It seems adding files via a mounted Netdrive webdav access is not really possible; it works through http:// webdav access though. Help will be very appriciated! P.S. where can I change the core. and xe. messages in XWiki? -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] File Explorer for Unix FS
Best would be to post it somewhere on http://code.xwiki.org/ :-) Guillaume On Wed, Aug 4, 2010 at 07:46, Thomas Hoeschele thoesch...@gmx.de wrote: Hallo Carlos, would you share your code with us (or with me)? I was just about to implement something similar, so maybe your code would help me reducing the work I have to do. Thank you in Advance. Thomas Original-Nachricht Datum: Tue, 3 Aug 2010 20:27:48 -0500 Von: Carlos Correa carloscorrea...@gmail.com An: XWiki Users users@xwiki.org Betreff: Re: [xwiki-users] File Explorer for Unix FS This is a bit of a late reply, but I've implemented this and am wondering what you would recommend doing about security with this approach. On Thu, Jul 15, 2010 at 5:10 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/15/2010 04:55 PM, Carlos Correa wrote: One of the users of the xwiki server (*nix) that I'm helping with has an interesting feature request. He wants a wiki page with a listing of Microsoft Office files that are in a unix directory. He wants to be able to click on one of the file names and have it download. I don't know enough about xwiki to know how to cause a download to occur on the user's side. The only solution I can think of is attaching the files to the page and scripting regular updating (which is very clunky). Is there a more elegant way to cause downloads to occur on the user's end without adding the file as an attachment? Well, XWiki is a java application, so the easiest thing to do is to write a Java component that does this. Assuming you have a recent version of XWiki, you should: - write a scriptable service which can list the files on the filesystem; should be a ScriptService component if you're targeting XWiki 2.3 or later, or a VelocityContextInitializer for earlier; see http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule for general documentation about components - write a servlet or a struts action which can be used to retrieve the contents of the file; make sure you're not creating a security hole, check the absolute path requested by the user; a good example would be http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/TempResourceAction.java - register the above servlet/struts action in web.xml, respectively struts-config.xml -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Colibri CSS for IE (6, 7, 8 ...)
Hi, The strange thing is that globallinks selector is used as a class in the colibri skin (not as an identifier), so you would use .globallinks instead of #globallinks (and it is the same with the 2 globalsearch selectors). Concerning the difference between IE and Firefox, it seems that the colibri skin has special CSS files for IE. May be they override your definitions. Hope this help. Maxime 2010/8/3 Ramon Gomes Brandão - SERINT ramon.bran...@tjdft.jus.br Hi, I've created a Skin based on colibri and set I as my default skin. I've overwritten some css definitions of colibri.css due to my header logo ( I've shifted and resized the search box). I've added this definitions on a new attribute (myStyle.css) on XWikiSkin object and added it on the style.css attribute, as well as microformats.css and colibri.css. My modifications are: #companylogo a img { float: left; margin:0 0 0 -4px; } #globallinks { float:right; padding:5px 67px 5px 0px; width:130px; } #globalsearch { text-align:right; width:190px; } #globalsearchinput { min-height:16px; width:150px; } It works well on Firefox, but in IE neither of my modifications seems to work, and the search box goes below the header logo, on a new line. Where I can change CSS definitions as above for IE's? Regards, Ramon Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users