Re: [xwiki-users] How to programmatically create pages from html files?

2016-05-17 Thread Paul Libbrecht
Sebastian Schafer wrote: > I think right now I'm mostly battling the linked images in the original html > files. Xwiki uses relative paths and those are not valid anymore after > converting to a wiki page. I think I need to handle this when I create the > html files and embed the images as tex

[xwiki-users] Users disappearing on mywiki?

2016-05-17 Thread Regan Gill
Did any one else have users disappear on their wiki on mywiki.org?A number of ours no longer exist. I just discovered this today on scservicesub.mywiki.org. The User Directory is not working either. ___ users mailing list users@xwiki.org http://lists.xw

Re: [xwiki-users] How to programmatically create pages from html files?

2016-05-17 Thread Sebastian Schafer
Thank you both, this helped me a lot. I think right now I'm mostly battling the linked images in the original html files. Xwiki uses relative paths and those are not valid anymore after converting to a wiki page. I think I need to handle this when I create the html files and embed the images as

Re: [xwiki-users] Immediate Child Document Query

2016-05-17 Thread Eduard Moraru
Hi, Note that doc.parent is deprecated and could be removed at some point in the future. Your query should be the translation of "Get all the documents inside a space which has a parent space with the given reference ", i.e. "select doc.fullName from XWikiDocument doc, XWikiSpace space where doc.

Re: [xwiki-users] Compare Strings

2016-05-17 Thread Eduard Moraru
On Fri, Apr 29, 2016 at 10:50 AM, Vincent Massol wrote: > Hi, > > > On 29 Apr 2016, at 09:48, Rochlin Oleg > wrote: > > > > I am currently trying to Filter my userlist > > > > #set($users = $xwiki.rightsmanager.usersApi.allUsers) > > > > #foreach($user in $users) > > This is not going to be perf

Re: [xwiki-users] How to programmatically create pages from html files?

2016-05-17 Thread Eduard Moraru
I`m not much of a Python fan, but if you say you`re into it, you could always try the http://extensions.xwiki.org/xwiki/bin/view/Extension/Python+Macro and script your way using your favorite language :) If you try it, let me know how it went ;) For scripting API see http://platform.xwiki.org/xwi

Re: [xwiki-users] [Proposal] Comparing XWiki to MediaWiki and Confluence on xwiki.org

2016-05-17 Thread Bryn Jeffries
Denis Gervalle said: > > Yes, we only maintain documentation for the latest version of XWiki on > > xwiki.org (not enough manpower to have decent doc for several versions > > ATM). > > > > However, for version 6.2.5 and later, you have a way to mitigate this > limitation. You can install the Scrip

Re: [xwiki-users] How to programmatically create pages from html files?

2016-05-17 Thread Paul Libbrecht
s.schafer wrote: > Does that mean I create a ‘control’ page with a script that’ll grab data and > creates new pages? Correct. And you can invoke that from a command-line or cron world if you want with a curl (and some hard-coded passwords). > I f so, it would be great if someone can point me to

[xwiki-users] How to programmatically create pages from html files?

2016-05-17 Thread s.schafer
Hi all, could someone please help me to find a way to script the creation of new wiki pages from data/text saved in html files? I’m trying to (semi)automatically organize and upload data to new wiki pages, i.e. analyze and plot data with an external program, sve the information (including page name

Re: [xwiki-users] Send Page via Outlook

2016-05-17 Thread Vincent Massol
Hi Joshua, > On 17 May 2016, at 19:27, Joshua Spiva wrote: > > I have been looking everywhere for an article or an addon for this function. > Has anyone managed to find a way to add a simple button or menu options to > email the page via Outlook? My users really want to have the articles they

[xwiki-users] Send Page via Outlook

2016-05-17 Thread Joshua Spiva
I have been looking everywhere for an article or an addon for this function. Has anyone managed to find a way to add a simple button or menu options to email the page via Outlook? My users really want to have the articles they are sending out in their own mailboxes as a sent item. __

Re: [xwiki-users] Getting the translated country name

2016-05-17 Thread Thomas Mortagne
The API you are actually manipulating when you do this is https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html which is about languages and language variants. getDisplayName return the display name for the whole Locale but you can get the language pretty name using getDisplayLanguage an

[xwiki-users] Getting the translated country name

2016-05-17 Thread Gerritjan Koekkoek
I found a nice way to translate $language into pretty language name in the translation desired. {{velocity}} #displayLanguagePrettyName("it") #macro(displayLanguagePrettyName $language)#set($languageLocale = $services.localization.toLocale("it"))$stringtool.capitalize($languageLocale.getDispl

Re: [xwiki-users] [ANN] How to post articles on the xwiki.org Blog

2016-05-17 Thread Eduard Moraru
Hi, Here are some of the latest blog posts in case you`ve missed them (latest first): * XWiki Big Data with Elastic Search (by Ludovic Dubost): http://www.xwiki.org/xwiki/bin/view/Blog/XWiki+Big+Data+with+Elastic+Search ...or how the Active Installs feature works and how Elastic Search was integr