1 2013-06-24T04:40:47 *** Guest27590
2 2013-06-24T07:07:42 <ReimarBauer> moin
3 2013-06-24T08:24:27 <sharky93> moin
4 2013-06-24T09:36:52 *** greg_f
5 2013-06-24T10:32:34 *** sharky93
6 2013-06-24T10:32:34 *** sharky93_
7 2013-06-24T10:33:15 *** sharky93__
8 2013-06-24T10:34:05 *** sharky93
9 2013-06-24T10:34:12 *** sharky03
10 2013-06-24T10:35:12 *** sharky93_
11 2013-06-24T12:41:15 *** dave_largo
12 2013-06-24T14:45:32 <ThomasWaldmann> moin
13 2013-06-24T14:45:46 <ThomasWaldmann> (if there are any quick and precise questions: i have a litte time now)
14 2013-06-24T14:48:49 <sharky93> ThomasWaldmann: how do you trigger PIL via the URL
15 2013-06-24T14:49:06 *** brunomartin
16 2013-06-24T14:49:06 <sharky93> i completely forgot, or it is not working :-/
17 2013-06-24T14:53:42 <ThomasWaldmann> you need to have it installed (in the virtual env, it is not installed by default)
18 2013-06-24T14:55:45 <ThomasWaldmann> it is triggered by ?w=123&h=123&t=3 (or so)
19 2013-06-24T14:58:22 <ThomasWaldmann> full url should be like .../+get/image.png?w=123&h=123&t=3
20 2013-06-24T14:58:33 <sharky93> ThomasWaldmann: ok, i'll check it out once more.
21 2013-06-24T14:58:57 <ThomasWaldmann> if the size doesn't change if you modify 123 to other values, PIL is not installed
22 2013-06-24T14:59:18 <ThomasWaldmann> the t value does transforms, like rotate and mirror, you can try different small integers
23 2013-06-24T14:59:50 <sharky93> ThomasWaldmann: the other query, can i use something like xinclude.width or height for adding such information to the tree element, like it has been done @ https://bitbucket.org/thomaswaldmann/moin-2.0/src/ad303592c64c1743ac218d42835493cb9d97440b/MoinMoin/converter/moinwiki_in.py?at=default#cl-843
24 2013-06-24T15:00:39 <sharky93> or will directly updating the attribute dictionary with a new dictionary of attribute: value pairs will work..
25 2013-06-24T15:12:42 <ThomasWaldmann> sharky93: sounds like that's something for waldi :)
26 2013-06-24T16:17:13 *** ashutosh1461
27 2013-06-24T16:22:12 <ashutosh1461> moin
28 2013-06-24T16:25:04 *** brunomartin
29 2013-06-24T16:36:41 *** brunomartin
30 2013-06-24T16:45:22 <sharky93> waldi: please have a look :), ^^^^
31 2013-06-24T17:11:47 *** brunomartin
32 2013-06-24T17:12:47 *** greg_f
33 2013-06-24T17:13:09 *** brunomartin
34 2013-06-24T17:25:25 *** ashutosh1461
35 2013-06-24T17:28:58 <waldi> sharky93: right now this is not restricted at all, but adding a dict to the attributes is too fragile
36 2013-06-24T17:29:17 <waldi> sharky93: and never use abrevated, at least to this level, attributes
37 2013-06-24T17:48:37 <sharky93> waldi: any suggestion as to how can i pass such information across to the final rendering stage via the tree element?
38 2013-06-24T17:50:09 <sharky93> waldi: i somehow have to pass info that there are some key:value pairs which have to be put in the HTMl tags directly.. to the final html converter.
39 2013-06-24T18:13:52 <waldi> what is the problem with using the uri?
40 2013-06-24T18:26:56 <ana_ananasova> an item will always be placed into a namespace or the namespace can be empty?
41 2013-06-24T19:13:03 *** ashutosh1461
42 2013-06-24T19:14:51 <sharky93> waldi: the uri will involve using the query value, but my problem is separating the object_args into two parts, one is used to form the query-string later .. and the other just goes directly into the tag as HTML attributes ..
43 2013-06-24T19:15:07 <sharky93> waldi: afaik the uri only allows me to pass the query value.
44 2013-06-24T19:30:45 <sharky93> waldi: could you give an example how do i use the uri to pass the other part ?
45 2013-06-24T20:37:51 *** bilal
46 2013-06-24T20:47:40 <sharky93> TheSheep: ^^^
47 2013-06-24T20:55:59 <ThomasWaldmann> ana_ananasova: the default namespace uses the empty string "" as its name
48 2013-06-24T21:08:38 *** dave_largo
49 2013-06-24T21:09:53 <ana_ananasova> so a subscription to such item would be TAG::tag or TAG:tag ?
50 2013-06-24T21:11:16 <ana_ananasova> ThomasWaldmann: ^
51 2013-06-24T21:16:43 <ThomasWaldmann> if no namespace is give, it defaults to the default namespace
52 2013-06-24T21:16:56 <ThomasWaldmann> the above names look equivalent
53 2013-06-24T21:17:57 <ana_ananasova> one colon and double colon
54 2013-06-24T21:23:13 <ThomasWaldmann> yeah, one means empty string as namespace name, the other means default namespace (not given), which is also the empty string
55 2013-06-24T21:23:55 <ana_ananasova> so both will validate as correct?
56 2013-06-24T21:26:10 <ThomasWaldmann> that stuff is not quite finished yet... ashutosh1461 is working on it (and it will likely change).
57 2013-06-24T21:26:31 <ThomasWaldmann> so just use it as you see it now, and if something is an issue, drop a XXX or TODO in the code
58 2013-06-24T21:26:52 <ana_ananasova> fine
59 2013-06-24T21:28:38 <sharky93> ThomasWaldmann: any clue about waldi's comment about using the uri, i didnt quite understand it, and it is much of a blocker ..
60 2013-06-24T21:28:42 <sharky93> TheSheep: ^
61 2013-06-24T21:29:02 <ThomasWaldmann> sharky93: if you don't understand, ask precise questions.
62 2013-06-24T21:29:52 <sharky93> well, i've asked him but i guess he's not around now
63 2013-06-24T21:31:18 <sharky93> ThomasWaldmann: could you give an example how do i use the uri to pass the other part, i.e attribute names and value pairs.
64 2013-06-24T21:34:27 <ThomasWaldmann> well, i can't read his mind, so you have to ask HIM what he meant. but how one could put key/value pairs into a uri is rather obvious, you did it at the very beginning when trying the image resizing in the browser.
65 2013-06-24T21:35:56 <ThomasWaldmann> that said, with so much stuff to do (including planning and research), you don't need to be blocked on such stuff, in the worst case it would mean a context switch.
66 2013-06-24T21:36:42 <sharky93> ThomasWaldmann: aren't Uri's meant for generating url's, will putting attributes which are meant to go into the HTML tags not be trying to mix things up?
67 2013-06-24T21:38:05 <ThomasWaldmann> ask waldi, he suggested that
68 2013-06-24T21:39:07 <sharky93> waldi: ^^
69 2013-06-24T21:42:07 * ThomasWaldmann bbl
70 2013-06-24T22:09:40 <sharky93> gn
71 2013-06-24T22:28:43 *** brunomartin
72 2013-06-24T22:49:05 *** ashutosh1461
73 2013-06-24T22:54:38 *** ashutosh1461
74 2013-06-24T23:16:36 <ashutosh1461> ThomasWaldmann, please review https://codereview.appspot.com/10439044/ when free!
75 2013-06-24T23:29:23 *** bilal
76