I'm quite new in XWiki.
I've a Velocity macro of some lines (say 10) I need to use in many pages.
I'd like to avoid to repeat such lines for every page.
Is it possible to store such macro (with or without parameters) and reuse it
everyware ?
Tks
Tullio
--
View this message in context: http://xwiki.475771.n2.nabble.com/Reusing-macro-tp7590736.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello People,
I am needing to create an observation module In my XWiki to monitor the comments creation actions of a specific space. All time that someone put a comment I need to send an email to a specific group.
I have found these two instructions:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Loc…http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI
When I use one or other?
What is the event that the XWiki generates when someone input a comment? DocumentUpdatedEvent?
Thanks!
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
Well,
WE don’t have more time to organize anything today, I think that we could plan a Wiki Document day to June, I will be glad to help too.
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
-----Mensagem original-----
De: users [mailto:users-bounces@xwiki.org] Em nome de vincent(a)massol.net
Enviada em: quarta-feira, 28 de maio de 2014 11:25
Para: XWiki Users
Assunto: Re: [xwiki-users] XWiki Documentation day - Idea
Hi Danilo,
This is definitely a good idea and one that we’ve proposed already (see http://markmail.org/message/avl4tl5xuefe7s7w).
FTR on this page we’ve listed all our ideas for the XWiki Day:
http://dev.xwiki.org/xwiki/bin/view/Community/XWikiDays
Now we’ve had a lot of bank holidays in France in May that were on Thursdays (our XWiki Day!) and thus I have not been very active on pushing this forward lately.
Tomorrow is again a bank holiday in France and I won’t be there and several xwiki committers won’t be here either (Guillaume, Thomas, just to name a few). So if someone wants to organize an XWiki Day tomorrow please stand up! :)
I’m sending a new mail on the devs list to decide what type of day to do next.
Thanks
-Vincent
On 28 May 2014 at 13:34:58, Danilo Amaral de Oliveira (danilo.oliveira@energisa.com.br(mailto:danilo.oliveira@energisa.com.br)) wrote:
> Hello XWiki community,
>
> I have been following other open source communities and there one, the
> XenServer community, that has a nice initiative, the Xen Document Day:
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> " Xen Project document days are all day IRC events, facilitated by
> members of the Xen Project community. The purpose of Xen Project
> Document Days is to Improve user documentation Improve developer
> documentation, including the creation of man pages, etc.
> Improve and maintaining the wiki: this means fixing important pages,
> retiring old ones, help identify what is and isn't important, write
> new pages, etc."
>
> Do you think that this idea could be applicable to XWiki?
>
>
> Danilo
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Arghh! This is a bit disappointing - the PDF exporter seems a bit
underbaked?
* Bold face markup is lost on export.
* Export of a slab of plain text wrapped in {{{ }}} loses newlines on
export.
* Box macro lost on export.
Hey All,
I've seen a couple of threads out in the web about importing an "XAR" file programatically, however it seems they might be out of date a bit. Has anyone had any luck using the API that xwiki has to do such a thing?
Thanks,
Chris.
Hi Pascal,
Internally we generate an anchor id based on the heading text:
/**
* Generate a unique id attribute using the passed text as the seed value. The generated id complies with the XHTML
* specification. Extract from <a href="http://www.w3.org/TR/xhtml1/#C_8">XHTML RFC</a>:
* <p>
* <code> When defining fragment identifiers to be backward-compatible, only strings matching the pattern
* [A-Za-z][A-Za-z0-9:_.-]* should be used.</code>
* </p>
*
* @param prefix the prefix of the identifier. Has to match [a-zA-Z].
* @param text the text used to generate the unique id
* @return the unique id. For example "Hello world" will generate prefix + "Helloworld".
*/
public String generateUniqueId(String prefix, String text)
Called with:
id = idGenerator.generateUniqueId("H", text);
This is why for the text “Level1 - Séct-io'n 4” we generate “HLevel1-SE9ct-io27n4"
What we could do though is allow the user to enter the heading text instead of the id and generate the id internally. However there’s stil the issue that generateUniqueId will generate a unique id (if you have twice the same heading, the second heading id will have “-1” suffixed..
In any case I agree it’s not user-friendly for this use case but also when specifying the anchor in the wiki link syntax and you should open a JIRA issue IMO.
Thanks
-Vincent
On 28 May 2014 at 14:50:28, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
> Hello,
>
> The include function is to hard to use with some non-us character like french: éèà'ç ...
>
>
> By example, I have a document with this section:
>
> = Level1 - Séct-io'n 4 =
>
> Bla bla
>
> if I want to include this section: "Level1 - Séct-io'n 4" I must use this include
> {{include reference="Pagefille2" section="HLevel1-SE9ct-io27n4"/}}
>
> I must replace special character with unicode code:
> http://www.utf8-chartable.de/
>
> I can use another way?
> I must open a bug on http://jira.xwiki.org/ ?
>
> NB: anchor doesn't work with include.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello,
The include function is to hard to use with some non-us character like french: éèà'ç ...
By example, I have a document with this section:
= Level1 - Séct-io'n 4 =
Bla bla
if I want to include this section: "Level1 - Séct-io'n 4" I must use this include
{{include reference="Pagefille2" section="HLevel1-SE9ct-io27n4"/}}
I must replace special character with unicode code:
http://www.utf8-chartable.de/
I can use another way?
I must open a bug on http://jira.xwiki.org/ ?
NB: anchor doesn't work with include.
I have been tasked with updating an older Xwiki site and am just looking for
some info/links on what I am looking at. We are currently using 2.7.2 and I
want to upgrade to the latest 5.4.4. How much info am I going to lose and
can any of it be imported/exported? Thanks for any insight. I am new to
xwiki and will be doing a lot of reading.
Thanks all for any help or insight.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Massive-upgrade-tp7590389.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello XWiki community,
I have been following other open source communities and there one, the
XenServer community, that has a nice initiative, the Xen Document Day:
http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
" Xen Project document days are all day IRC events, facilitated by members
of the Xen Project community. The purpose of Xen Project Document Days is to
Improve user documentation
Improve developer documentation, including the creation of man pages,
etc.
Improve and maintaining the wiki: this means fixing important pages,
retiring old ones, help identify what is and isn't important, write new
pages, etc."
Do you think that this idea could be applicable to XWiki?
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.