IRC Archive for channel #xwiki on 10 March 2017

Last modified by Vincent Massol on 2017/03/10 23:45

<OSIMasson1> has quit
02:38 <Aranjedeath> has joined #xwiki
04:20 <xwikiorg_guest_1> has joined #xwiki
04:20 <xwikiorg_guest_1> hello?
04:21 <xwikiorg_guest_1> I am a student from china, I'd like to apply the GSoC in your project, can I get some advice?
04:22 <xwikiorg_guest_1> ??
04:22 <xwikiorg_guest_1> 你好
04:23 <xwikiorg_guest_1> my Email is [email protected], if you have time you can email me. Thanks!
04:23 <xwikiorg_guest_1> has quit
05:12 <systemd> has quit
05:13 <systemd> has joined #xwiki
07:23 <mflorea> has joined #xwiki
08:08 <msmeria> has joined #xwiki
08:15 <Aranjedeath> has quit
08:35 <littlewonder> has joined #xwiki
08:36 <pulkit4tech> has joined #xwiki
08:37 <littlewonder> hello, I am interested in Improve l10n.xwiki.org GSoC Project. I wanted to know how to get started
08:37 <littlewonder> It'd be great if someone could help me on this
08:47 <littlewonder> has quit
08:51 <KermitTheFragger> has joined #xwiki
09:37 <tmortagne1> littlewonder: hi, the first thing to do usually is look at http://gsoc.xwiki.org/, and in case of l10n.xwiki.org create an account there and look at how it works and the (many) things that could be improved
09:55 <evalica> has joined #xwiki
09:55 <evalica> has joined #xwiki
09:55 <evalica> has quit
09:57 <evalica> has joined #xwiki
10:08 <acotiuga> has joined #xwiki
10:28 <Slashman> has joined #xwiki
10:38 <floflobel> has joined #xwiki
11:07 <xwikiorg_guest_2> has joined #xwiki
11:08 <xwikiorg_guest_2> hello
11:10 <xwikiorg_guest_2> plz tell me more about what red pen integration project is
11:10 <xwikiorg_guest_2> i want to work on it in google summer of code
11:14 <xwikiorg_guest_2> has quit
12:30 <sorinello__> has joined #xwiki
12:33 <sorinello> has quit
12:38 <sorinello__> has quit
12:42 <sorinello__> has joined #xwiki
12:45 <sorinello> has quit
12:45 <sorinello> has quit
12:45 <sorinello> has joined #xwiki
12:46 <sorinello__> has quit
12:48 <sorinello__> has joined #xwiki
12:49 <sorinello> has quit
12:56 <sorinello__> has quit
13:02 <sorinello__> has joined #xwiki
13:50 <KermitTheFragger> has quit
14:05 <KermitTheFragger> has joined #xwiki
14:05 <acotiuga> has quit
14:06 <acotiuga> has joined #xwiki
14:40 <sgc072> has joined #xwiki
14:41 <sgc072> Can anyone tell me what is an XHTML renderer?
14:41 <tmortagne1> sgc072: the short version is that wiki syntax is parsed into a special XWiki dom and then renderers are used to serailize that dom
14:42 <tmortagne1> so the XHTML renderer serialize XWIki dom into XHTML
14:42 <tmortagne1> there is also a HTML5 renderer, etc.
14:45 <sgc072> tmortagne1, Thanks for your help. :)
14:46 <tmortagne1> sgc072: you're welcome :)
14:48 <acotiuga> has left #xwiki
15:10 <sorinello__> has quit
15:10 <sorinello> has joined #xwiki
15:10 <sorinello> has joined #xwiki
15:11 <sgc072> Is there any example of XHTML renderer?
15:12 <msmeria> has quit
15:13 <tmortagne1> sgc072: not sure I understand the question, there is A XHTML renderer. Do you mean an extension of renderer ?
15:14 <tmortagne1> you can find the current XHTML renderer on https://github.com/xwiki/xwiki-rendering/tree/master/xwiki-rendering-syntaxes/xwiki-rendering-syntax-xhtml
15:14 <tmortagne1> but we are using the HTML5 one now
15:14 <tmortagne1> see https://github.com/xwiki/xwiki-rendering/tree/master/xwiki-rendering-syntaxes/xwiki-rendering-syntax-html5
15:16 <sgc072> tmortagne1, Actually I was going through the proposed project for Gsoc17 "Translation in Context", and there it is written  by using XHTML Renderer.
15:18 <tmortagne1> the goal is not to write a XHTML renderer but to use the annotated XHTML renderer to find translation macros in the html content
15:19 <tmortagne1> that would be the annotated html5 renderer now
15:19 <tmortagne1> let me update the proposal
15:19 <tmortagne1> it's an old proposal we keep copy from one gsoc to another :)
15:20 <sgc072> Yes, it is updated now.
15:21 <tmortagne1> you don't really need to look at the source of the annotated html renderer I think, this project is about navigate in the dom using javascript to find translation macros by matching special html comments
15:22 <tmortagne1> you can add ?outputSyntax=annotatedhtml to the URL for the page to be rendered with the annotated html renderer
15:23 <tmortagne1> the when you look at the source in your browser you will find stuff like <!--startmacro:velocity|-||-|
15:23 <tmortagne1> that what indicate the beginning of a macro, its name, its parameters and its content
15:24 <tmortagne1> the WYSIWYG use those annotation to find macros too
15:24 <tmortagne1> the WYSIWYG use those annotations to find macros too
15:24 <tmortagne1> maybe there is some code that could be reused to find macros, mflorea1 ?
15:40 <prakhar123> has joined #xwiki
15:41 <KermitTheFragger> has quit
15:49 <sgc072> oh, I see. I was going in a wrong direction I guess.
15:53 <sgc072> So if I put ?outputSyntax=annotatedhtml to the URL of any webpage then it will be rendered with annodated html-renderer.
15:53 <KermitTheFragger> has joined #xwiki
15:54 <tmortagne1> sgc072: yes
15:55 <tmortagne1> then you can start play with javascript to find translation macros
15:58 <sgc072> tmortagne1, Thanks again. I will try and do a little more research about this concept and the project ofcourse. :P
15:59 <OSIMasson1> has joined #xwiki
15:59 <tmortagne1> sgc072: great :)
16:19 <woshilapin> has quit
16:42 <sgc072> has quit
16:44 <woshilapin> has joined #xwiki
17:27 <msmeria> has joined #xwiki
17:29 <msmeria> has quit
17:45 <prakhar123> has quit
18:00 <KermitTheFragger> has quit
18:27 <OSIMasson1> has quit
18:32 <mflorea> has quit
18:54 <floflobel> has quit
19:16 <sgc072> has joined #xwiki
19:22 <Pbas> has quit
19:28 <evalica> has quit
19:56 <prakhar123> has joined #xwiki
20:12 <OSIMasson1> has joined #xwiki
20:24 <OSIMasson1> has quit
20:25 <Denis1> has joined #xwiki
20:26 <Denis> has quit
20:32 <msmeria> has joined #xwiki
20:33 <msmeria> has quit
20:36 <Slashman> has quit
20:41 <pulkit4tech> has quit
20:49 <msmeria> has joined #xwiki
20:50 <msmeria> has quit
21:09 <sgc072> has quit
21:31 <msmeria> has joined #xwiki
21:33 <msmeria> has quit
22:05 <prakhar123> has quit
22:52 <OSIMasson1> has joined #xwiki
23:45 <Aranjedeath> has joined #xwiki

Get Connected