Wiki source code of IRC Archive for channel #xwiki on 10 March 2017
Last modified by Vincent Massol on 2017/03/10 23:45
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | <OSIMasson1> has quit | ||
2 | 02:38 <Aranjedeath> has joined #xwiki | ||
3 | 04:20 <xwikiorg_guest_1> has joined #xwiki | ||
4 | 04:20 <xwikiorg_guest_1> hello? | ||
5 | 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? | ||
6 | 04:22 <xwikiorg_guest_1> ?? | ||
7 | 04:22 <xwikiorg_guest_1> 你好 | ||
8 | 04:23 <xwikiorg_guest_1> my Email is [email protected], if you have time you can email me. Thanks! | ||
9 | 04:23 <xwikiorg_guest_1> has quit | ||
10 | 05:12 <systemd> has quit | ||
11 | 05:13 <systemd> has joined #xwiki | ||
12 | 07:23 <mflorea> has joined #xwiki | ||
13 | 08:08 <msmeria> has joined #xwiki | ||
14 | 08:15 <Aranjedeath> has quit | ||
15 | 08:35 <littlewonder> has joined #xwiki | ||
16 | 08:36 <pulkit4tech> has joined #xwiki | ||
17 | 08:37 <littlewonder> hello, I am interested in Improve l10n.xwiki.org GSoC Project. I wanted to know how to get started | ||
18 | 08:37 <littlewonder> It'd be great if someone could help me on this | ||
19 | 08:47 <littlewonder> has quit | ||
20 | 08:51 <KermitTheFragger> has joined #xwiki | ||
21 | 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 | ||
22 | 09:55 <evalica> has joined #xwiki | ||
23 | 09:55 <evalica> has joined #xwiki | ||
24 | 09:55 <evalica> has quit | ||
25 | 09:57 <evalica> has joined #xwiki | ||
26 | 10:08 <acotiuga> has joined #xwiki | ||
27 | 10:28 <Slashman> has joined #xwiki | ||
28 | 10:38 <floflobel> has joined #xwiki | ||
29 | 11:07 <xwikiorg_guest_2> has joined #xwiki | ||
30 | 11:08 <xwikiorg_guest_2> hello | ||
31 | 11:10 <xwikiorg_guest_2> plz tell me more about what red pen integration project is | ||
32 | 11:10 <xwikiorg_guest_2> i want to work on it in google summer of code | ||
33 | 11:14 <xwikiorg_guest_2> has quit | ||
34 | 12:30 <sorinello__> has joined #xwiki | ||
35 | 12:33 <sorinello> has quit | ||
36 | 12:38 <sorinello__> has quit | ||
37 | 12:42 <sorinello__> has joined #xwiki | ||
38 | 12:45 <sorinello> has quit | ||
39 | 12:45 <sorinello> has quit | ||
40 | 12:45 <sorinello> has joined #xwiki | ||
41 | 12:46 <sorinello__> has quit | ||
42 | 12:48 <sorinello__> has joined #xwiki | ||
43 | 12:49 <sorinello> has quit | ||
44 | 12:56 <sorinello__> has quit | ||
45 | 13:02 <sorinello__> has joined #xwiki | ||
46 | 13:50 <KermitTheFragger> has quit | ||
47 | 14:05 <KermitTheFragger> has joined #xwiki | ||
48 | 14:05 <acotiuga> has quit | ||
49 | 14:06 <acotiuga> has joined #xwiki | ||
50 | 14:40 <sgc072> has joined #xwiki | ||
51 | 14:41 <sgc072> Can anyone tell me what is an XHTML renderer? | ||
52 | 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 | ||
53 | 14:42 <tmortagne1> so the XHTML renderer serialize XWIki dom into XHTML | ||
54 | 14:42 <tmortagne1> there is also a HTML5 renderer, etc. | ||
55 | 14:45 <sgc072> tmortagne1, Thanks for your help. :) | ||
56 | 14:46 <tmortagne1> sgc072: you're welcome :) | ||
57 | 14:48 <acotiuga> has left #xwiki | ||
58 | 15:10 <sorinello__> has quit | ||
59 | 15:10 <sorinello> has joined #xwiki | ||
60 | 15:10 <sorinello> has joined #xwiki | ||
61 | 15:11 <sgc072> Is there any example of XHTML renderer? | ||
62 | 15:12 <msmeria> has quit | ||
63 | 15:13 <tmortagne1> sgc072: not sure I understand the question, there is A XHTML renderer. Do you mean an extension of renderer ? | ||
64 | 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 | ||
65 | 15:14 <tmortagne1> but we are using the HTML5 one now | ||
66 | 15:14 <tmortagne1> see https://github.com/xwiki/xwiki-rendering/tree/master/xwiki-rendering-syntaxes/xwiki-rendering-syntax-html5 | ||
67 | 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. | ||
68 | 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 | ||
69 | 15:19 <tmortagne1> that would be the annotated html5 renderer now | ||
70 | 15:19 <tmortagne1> let me update the proposal | ||
71 | 15:19 <tmortagne1> it's an old proposal we keep copy from one gsoc to another :) | ||
72 | 15:20 <sgc072> Yes, it is updated now. | ||
73 | 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 | ||
74 | 15:22 <tmortagne1> you can add ?outputSyntax=annotatedhtml to the URL for the page to be rendered with the annotated html renderer | ||
75 | 15:23 <tmortagne1> the when you look at the source in your browser you will find stuff like <!--startmacro:velocity|-||-| | ||
76 | 15:23 <tmortagne1> that what indicate the beginning of a macro, its name, its parameters and its content | ||
77 | 15:24 <tmortagne1> the WYSIWYG use those annotation to find macros too | ||
78 | 15:24 <tmortagne1> the WYSIWYG use those annotations to find macros too | ||
79 | 15:24 <tmortagne1> maybe there is some code that could be reused to find macros, mflorea1 ? | ||
80 | 15:40 <prakhar123> has joined #xwiki | ||
81 | 15:41 <KermitTheFragger> has quit | ||
82 | 15:49 <sgc072> oh, I see. I was going in a wrong direction I guess. | ||
83 | 15:53 <sgc072> So if I put ?outputSyntax=annotatedhtml to the URL of any webpage then it will be rendered with annodated html-renderer. | ||
84 | 15:53 <KermitTheFragger> has joined #xwiki | ||
85 | 15:54 <tmortagne1> sgc072: yes | ||
86 | 15:55 <tmortagne1> then you can start play with javascript to find translation macros | ||
87 | 15:58 <sgc072> tmortagne1, Thanks again. I will try and do a little more research about this concept and the project ofcourse. :P | ||
88 | 15:59 <OSIMasson1> has joined #xwiki | ||
89 | 15:59 <tmortagne1> sgc072: great :) | ||
90 | 16:19 <woshilapin> has quit | ||
91 | 16:42 <sgc072> has quit | ||
92 | 16:44 <woshilapin> has joined #xwiki | ||
93 | 17:27 <msmeria> has joined #xwiki | ||
94 | 17:29 <msmeria> has quit | ||
95 | 17:45 <prakhar123> has quit | ||
96 | 18:00 <KermitTheFragger> has quit | ||
97 | 18:27 <OSIMasson1> has quit | ||
98 | 18:32 <mflorea> has quit | ||
99 | 18:54 <floflobel> has quit | ||
100 | 19:16 <sgc072> has joined #xwiki | ||
101 | 19:22 <Pbas> has quit | ||
102 | 19:28 <evalica> has quit | ||
103 | 19:56 <prakhar123> has joined #xwiki | ||
104 | 20:12 <OSIMasson1> has joined #xwiki | ||
105 | 20:24 <OSIMasson1> has quit | ||
106 | 20:25 <Denis1> has joined #xwiki | ||
107 | 20:26 <Denis> has quit | ||
108 | 20:32 <msmeria> has joined #xwiki | ||
109 | 20:33 <msmeria> has quit | ||
110 | 20:36 <Slashman> has quit | ||
111 | 20:41 <pulkit4tech> has quit | ||
112 | 20:49 <msmeria> has joined #xwiki | ||
113 | 20:50 <msmeria> has quit | ||
114 | 21:09 <sgc072> has quit | ||
115 | 21:31 <msmeria> has joined #xwiki | ||
116 | 21:33 <msmeria> has quit | ||
117 | 22:05 <prakhar123> has quit | ||
118 | 22:52 <OSIMasson1> has joined #xwiki | ||
119 | 23:45 <Aranjedeath> has joined #xwiki |