1 2010-08-10T00:05:09  <dreimark> http://moinmo.in/ReimarBauer/TextPoster
   2 2010-08-10T00:05:20  <dreimark> this text is for the froscon2010
   3 2010-08-10T00:05:32  <dreimark> ideas to make it better and shorter are welcome
   4 2010-08-10T00:06:06  <dreimark> i like to post the version as soon as possible to the  http://wiki.python-forum.de/User%20Group%20K%C3%B6ln/FrOSCon2010
   5 2010-08-10T00:17:05  *** dennda has quit IRC
   6 2010-08-10T00:17:05  *** xorAxAx has quit IRC
   7 2010-08-10T00:17:06  *** blathijs has quit IRC
   8 2010-08-10T00:17:06  *** diofeher has quit IRC
   9 2010-08-10T00:18:24  *** diofeher has joined #moin-dev
  10 2010-08-10T00:18:24  *** dennda has joined #moin-dev
  11 2010-08-10T00:18:24  *** xorAxAx has joined #moin-dev
  12 2010-08-10T00:18:24  *** blathijs has joined #moin-dev
  13 2010-08-10T01:05:31  <xorAxAx> valeuf: http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/5f62c22acd9b -- why did you introduce depth?
  14 2010-08-10T01:05:35  <xorAxAx> valeuf: looks very ugly to me
  15 2010-08-10T01:06:09  <xorAxAx> valeuf: thats the only thing my patchy review revealed
  16 2010-08-10T01:12:10  *** ebo^ has quit IRC
  17 2010-08-10T03:34:09  *** valeuf has quit IRC
  18 2010-08-10T04:05:40  *** valeuf has joined #moin-dev
  19 2010-08-10T04:34:31  <CIA-50> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9598:552454fadc14 2.0-dev-jinja2-plugins-dfeher/MoinMoin/templates/base.html: [templating] escaping username
  20 2010-08-10T05:16:17  *** kursor has joined #moin-dev
  21 2010-08-10T07:14:11  *** ebo^ has joined #moin-dev
  22 2010-08-10T08:18:03  *** CIA-50 has quit IRC
  23 2010-08-10T08:22:16  *** ebo^ has quit IRC
  24 2010-08-10T08:30:51  *** kursor_ has joined #moin-dev
  25 2010-08-10T08:30:51  *** kursor has quit IRC
  26 2010-08-10T08:30:54  *** kursor_ is now known as kursor
  27 2010-08-10T08:37:22  <valeuf> xorAxAx: I could not find any other solution to manage the recursive section <section>
  28 2010-08-10T08:38:09  <valeuf> actually in docbook there is no heading system like in html for instance
  29 2010-08-10T08:38:43  <valeuf> but each <section> tag introduce a sub-paragraph, se I use depth to know the level of the section tag
  30 2010-08-10T08:39:00  <valeuf> I also think that depth is not really great, but I could not find any other solution
  31 2010-08-10T08:41:35  <dreimark> moin
  32 2010-08-10T08:48:03  *** CIA-49 has joined #moin-dev
  33 2010-08-10T08:48:24  <TheSheep> valeuf: I think that most docbook tools do it like that
  34 2010-08-10T09:01:35  *** ebo^ has joined #moin-dev
  35 2010-08-10T09:03:53  *** kursor has left #moin-dev
  36 2010-08-10T09:20:21  <dreimark> bbl
  37 2010-08-10T09:32:06  *** DmitryAndreev_ has joined #moin-dev
  38 2010-08-10T09:34:33  *** DmitryAndreev has quit IRC
  39 2010-08-10T11:00:09  *** DmitryAndreev has joined #moin-dev
  40 2010-08-10T11:00:30  *** DmitryAndreev_ has quit IRC
  41 2010-08-10T11:22:35  <dreimark> mentors read ML
  42 2010-08-10T11:22:38  <dreimark> bbl
  43 2010-08-10T11:32:26  <valeuf> TheSheep: xorAxAx I was suddenly thinking there is maybe some trick to know the depth of a recursive call in python
  44 2010-08-10T11:32:32  <valeuf> without using depth parameter
  45 2010-08-10T11:32:45  <ThomasWaldmann> moin
  46 2010-08-10T11:33:06  <ThomasWaldmann> no low level hacks please
  47 2010-08-10T11:33:20  <valeuf> ThomasWaldmann: about recursion?
  48 2010-08-10T11:33:24  <ThomasWaldmann> yes
  49 2010-08-10T11:33:50  <valeuf> ThomasWaldmann: well I keep my method with depth so :p
  50 2010-08-10T11:33:56  <valeuf> I just want to make my mentor happy ^ ^
  51 2010-08-10T11:35:48  <valeuf> well anyway, I look for such trick, and I could not find anything interesting
  52 2010-08-10T11:38:41  *** DmitryAndreev_ has joined #moin-dev
  53 2010-08-10T12:14:01  <xorAxAx> ok
  54 2010-08-10T12:14:07  *** DmitryAndreev has quit IRC
  55 2010-08-10T12:49:25  <dennda> make it an ordinary iteration then and count (or just count with recursion, but 2000 or so will be max :-)
  56 2010-08-10T12:49:46  <valeuf> dennda: ?
  57 2010-08-10T12:50:01  <valeuf> dennda: I am not looking for the recursion limit  ^ ^
  58 2010-08-10T12:50:31  <TheSheep> I think that html has h6 at max anyways
  59 2010-08-10T12:51:02  <TheSheep> and that's about twice as many as a sane human should use
  60 2010-08-10T12:51:41  <valeuf> TheSheep: yep but in the dom tree we do not have limit for outline-level attribute, and so if we convert the DOM tree into another format, it is maybe possible to use deeper heading level ^ ^
  61 2010-08-10T12:51:58  <valeuf> TheSheep: but I agree that 6 levels it is quite a lot already
  62 2010-08-10T12:57:53  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9611:935497fc215a 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for the <tag> element for DocBook_IN converter
  63 2010-08-10T12:57:57  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9612:2b68a359cb84 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion of the <tag> element for DocBook_IN converter
  64 2010-08-10T12:57:57  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9613:b9bf97faf8f5 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add some elements to the list of ignored tags for DocBook_IN converter
  65 2010-08-10T12:57:58  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9614:80178df75339 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add some elements to the list of the block_tags for DocBook_IN converter
  66 2010-08-10T13:02:12  <ThomasWaldmann> valeuf: if you're dealing with headers right now, maybe think about some sane method for headers, toc, document title
  67 2010-08-10T13:02:43  <valeuf> ThomasWaldmann: I did it a long ago
  68 2010-08-10T13:02:59  <valeuf> ThomasWaldmann: what's the problem with header, toc, document title?
  69 2010-08-10T13:03:11  <ThomasWaldmann> create a page
  70 2010-08-10T13:03:15  <ThomasWaldmann> = foo =
  71 2010-08-10T13:03:16  <valeuf> header --> There is not really header in DocBook, but rather section+title
  72 2010-08-10T13:03:18  <ThomasWaldmann> == bar ==
  73 2010-08-10T13:03:22  <ThomasWaldmann> == baz ==
  74 2010-08-10T13:03:29  <ThomasWaldmann> make a toc
  75 2010-08-10T13:03:37  <valeuf> ah with moinmoin syntax :p
  76 2010-08-10T13:04:49  <ThomasWaldmann> the problem might be rather general
  77 2010-08-10T13:05:10  <ThomasWaldmann> not sure if it is even a problem or just a missing toc param
  78 2010-08-10T13:05:18  <valeuf> well, I get MoinMoin.wikiutil.PluginMissingError when I try to use <<TableOfContent(3)>>
  79 2010-08-10T13:05:31  <ThomasWaldmann> s
  80 2010-08-10T13:08:53  <valeuf> ThomasWaldmann: http://paste.pocoo.org/show/248380/ --> this is the equivalent DocBook document to what you wrote using moinmoin syntax
  81 2010-08-10T13:08:59  <valeuf> Here I get the expected result
  82 2010-08-10T13:09:41  <valeuf> (ie: a table of content block with 1. foo    1. bar 2. baz)
  83 2010-08-10T13:11:00  <ThomasWaldmann> the issue is that if you use h1 for the article title, the toc has this single h1 and everything else starts are the h2+
  84 2010-08-10T13:11:12  <ThomasWaldmann> -starts
  85 2010-08-10T13:11:57  <ThomasWaldmann> maybe no problem for db, as it has article title vs. section titles?
  86 2010-08-10T13:12:16  <valeuf> ThomasWaldmann: hum curious, I need to check the DOM tree of the different item
  87 2010-08-10T13:13:06  <valeuf> ThomasWaldmann: a nice debug feature would be to allow to display the DOM tree, like we can display the source of an element
  88 2010-08-10T13:14:38  <ThomasWaldmann> we need a converter dom -> xml anyway (and it should be trivial) :)
  89 2010-08-10T13:15:10  <ThomasWaldmann> then we can have /+xml/itemname or /+xml/rev/itemname
  90 2010-08-10T13:15:22  <valeuf> ThomasWaldmann: ah yes, this is the better way to do it, so we can just retrieve the DOM tree using the conversion function
  91 2010-08-10T13:15:43  <ThomasWaldmann> btw, we could maybe use that for interwiki transclusion :D
  92 2010-08-10T13:16:05  <valeuf> ThomasWaldmann: but can you use TableOfContent macro?
  93 2010-08-10T13:16:17  <ThomasWaldmann> Contents
  94 2010-08-10T13:16:24  <valeuf> arf
  95 2010-08-10T13:17:05  <valeuf> We need to see for better exception handling when using a non-existant macro
  96 2010-08-10T13:19:27  <ThomasWaldmann> in case we keep macros
  97 2010-08-10T13:19:31  <valeuf> ThomasWaldmann: I do not see anything wrong: http://test.moinmo.in:8080/TestHeader
  98 2010-08-10T13:19:46  <valeuf> ThomasWaldmann: same result than the DocBook page: http://test.moinmo.in:8080/TestHeader
  99 2010-08-10T13:19:50  <valeuf> http://test.moinmo.in:8080/TestHeader_DB
 100 2010-08-10T13:20:47  <ThomasWaldmann> look now
 101 2010-08-10T13:22:30  <valeuf> sorry I do not see the problem
 102 2010-08-10T13:22:54  <ThomasWaldmann> it looks ugly and the first level is unexpected
 103 2010-08-10T13:23:08  <ThomasWaldmann> (not technically unexpected, but by the reader)
 104 2010-08-10T13:23:39  <ThomasWaldmann> even more if done that way (reload)
 105 2010-08-10T13:24:14  <valeuf> I have exactly same behaviour with Moin1.9: http://wiki.valeuf.org/SandBox and I do not see how we can guess what user want
 106 2010-08-10T13:24:42  <valeuf> the user writes a first level title, and then a lot of second level title, we give him what he wrote
 107 2010-08-10T13:25:02  <ThomasWaldmann> maybe if you think more about assembling bigger documents, maybe we get more insights
 108 2010-08-10T13:25:35  <valeuf> what kind of result you would expect in such of situation?
 109 2010-08-10T13:26:01  <ThomasWaldmann> e.g. if you assemble a book
 110 2010-08-10T13:26:06  <ThomasWaldmann> is it a)
 111 2010-08-10T13:26:12  <ThomasWaldmann> section1 title
 112 2010-08-10T13:26:20  <ThomasWaldmann> {{section 1}}
 113 2010-08-10T13:26:24  <ThomasWaldmann> section2 title
 114 2010-08-10T13:26:30  <ThomasWaldmann> {{section2}}
 115 2010-08-10T13:26:33  <ThomasWaldmann> or b)
 116 2010-08-10T13:26:47  <ThomasWaldmann> {{section1_with_title}}
 117 2010-08-10T13:26:59  <ThomasWaldmann> {{section2_with_title}}
 118 2010-08-10T13:27:27  <ThomasWaldmann> (s/section/chapter/ maybe)
 119 2010-08-10T13:28:09  <valeuf> right, but in this case we need another semantic element to describe better such of situation
 120 2010-08-10T13:28:24  <ThomasWaldmann> btw, afaik header level adaptation is missing still
 121 2010-08-10T13:28:53  <valeuf> you mean adaptation when we include a document into another one?
 122 2010-08-10T13:29:00  <ThomasWaldmann> yes
 123 2010-08-10T13:29:13  * ThomasWaldmann tries writing that xml converter
 124 2010-08-10T13:29:16  <valeuf> ah it is possible
 125 2010-08-10T13:55:52  <ThomasWaldmann> almost works already :)
 126 2010-08-10T13:56:08  <valeuf> \o/
 127 2010-08-10T13:58:38  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9615:add0ea82f506 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Fix issue with double conversion of <title> element for DocBook_IN converter
 128 2010-08-10T13:58:39  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9616:1acb7ec1df17 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for the <literallayout> element for DocBook_IN converter
 129 2010-08-10T13:58:42  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9617:1988c37091f2 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion for <literallayout> element for DocBook_IN converter
 130 2010-08-10T14:01:37  <CIA-49> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9591:80cebe13a404 2.0-dev/MoinMoin/ (apps/frontend/views.py items/__init__.py templates/dom.xml): use /+dom/itemname to get domtree xml representation
 131 2010-08-10T14:02:35  <ThomasWaldmann> i guess we should've had that much earlier ^^
 132 2010-08-10T14:02:45  <valeuf> ThomasWaldmann: probably ^ ^
 133 2010-08-10T14:03:38  <ThomasWaldmann> DmitryAndreev_: ^^ you can look now at the dom trees your input converters produce
 134 2010-08-10T14:04:38  <valeuf> we really have to write some kind of grammar, or at least formal description of our DOM tree
 135 2010-08-10T14:04:42  <valeuf> waldi wrote this http://moinmo.in/BastianBlank/TreeOutputFormatter/Spec/Formal
 136 2010-08-10T14:05:08  <valeuf> I should see maybe to update with all the stuff we added to the dom tree during the summer
 137 2010-08-10T14:07:01  <ThomasWaldmann> maybe having the spec at one place would be a good start
 138 2010-08-10T14:09:24  <valeuf> ThomasWaldmann: well I guess that my spec is the most complete at this time, but I still worry that some converter use a little bit different spec ...
 139 2010-08-10T14:09:45  <valeuf> We will probably need some work next weeks to harmonized these difference
 140 2010-08-10T14:09:58  <valeuf> but if we can easily display the DOM tree, it will be much easier
 141 2010-08-10T14:10:07  <ThomasWaldmann> not burying it below any homepage would be another good thing
 142 2010-08-10T14:10:39  <valeuf> sure
 143 2010-08-10T14:11:06  <valeuf> since my spec was not really official, I did not want it to put it somewhere else
 144 2010-08-10T14:14:12  <ThomasWaldmann> well, the code is in the repo, so you and waldi should make it official :)
 145 2010-08-10T14:14:18  <valeuf> :)
 146 2010-08-10T14:15:53  <CIA-49> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9592:6aaa2f9e9286 2.0-dev/MoinMoin/items/__init__.py: dom view: add html namespace (used e.g. for class='nonexistent')
 147 2010-08-10T14:18:42  <ThomasWaldmann> btw, as it is now, it is not really the input converter domtree, but the whole converter's chain output domtree (as before it gets fed into html_out converter normally)
 148 2010-08-10T14:19:00  <valeuf> better, so we can check the macro and other include stuff
 149 2010-08-10T14:19:17  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9618:dcb473fc1ff3 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for <stepalternatives> element for DocBook_IN converter
 150 2010-08-10T14:19:19  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9619:7d51a6450838 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion for the <stepalternative> element for DocBook_IN converter
 151 2010-08-10T14:19:59  <valeuf> \o/ I have a color for every element: http://moinmo.in/DOM%20DocBook%20and%20HTML%202010/DocBook-DOM%20Equivalences
 152 2010-08-10T14:26:19  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9622:94a0eceff038 2.0-dev-docbook-html-vjaniaut/MoinMoin/ (apps/frontend/views.py items/__init__.py templates/dom.xml): Merge against moin/2.0-dev repos
 153 2010-08-10T14:31:59  * ThomasWaldmann updated main repo with that^^
 154 2010-08-10T14:47:37  <xorAxAx> valeuf: cool
 155 2010-08-10T14:53:08  *** DmitryAndreev has joined #moin-dev
 156 2010-08-10T14:59:21  <waldi> valeuf: please send me a patch
 157 2010-08-10T15:09:03  <valeuf> waldi: a patch for what?
 158 2010-08-10T15:11:36  <waldi> the spec
 159 2010-08-10T15:11:59  <valeuf> waldi: ah, ouhla I did not do it yet, but I will try to do it after my SoC
 160 2010-08-10T15:14:35  <valeuf> waldi: did you put the relax-ng file in the Repo?
 161 2010-08-10T15:15:32  <waldi> no, it currently only exists in the wiki
 162 2010-08-10T15:45:35  <valeuf> DmitryAndreev: why do I get this: http://paste.pocoo.org/show/248437/?
 163 2010-08-10T15:46:59  <ThomasWaldmann> apt-get install python-docutils
 164 2010-08-10T15:47:14  <ThomasWaldmann> of course it could handle it more gracefully if it isn't there
 165 2010-08-10T15:47:26  <valeuf> ThomasWaldmann: yes, but it will be a dependance required by MoinMoin?
 166 2010-08-10T15:47:44  *** RogerHaase has joined #moin-dev
 167 2010-08-10T15:47:46  <ThomasWaldmann> no, shouldn't be a hard dependancy
 168 2010-08-10T15:47:47  <valeuf> (and I am not using Debian-based distrib anyway :p)
 169 2010-08-10T15:50:27  <valeuf> well, actually here the rst document show the source code instead of the formatting
 170 2010-08-10T15:51:09  <ThomasWaldmann> sure (and maybe some hint to install docutils)
 171 2010-08-10T15:51:49  <valeuf> so ReST conversion depend on docutils anyway :P
 172 2010-08-10T15:56:20  <ThomasWaldmann> bbl
 173 2010-08-10T16:03:29  <valeuf> DmitryAndreev: can you add the docutils optional requirements in REQUIREMENTS? (the minimal version which can work and such of things)
 174 2010-08-10T16:03:44  <valeuf> I will this information when I will finish packaging
 175 2010-08-10T16:05:27  <DmitryAndreev> valeuf, ok, i'll try
 176 2010-08-10T16:06:05  <valeuf> DmitryAndreev: what would be nice would be to detect if docutils is available, and propose ReST document only if so :)
 177 2010-08-10T16:06:08  <valeuf> but it is hope to you
 178 2010-08-10T16:08:58  <diofeher> moin
 179 2010-08-10T16:09:12  <diofeher> i'm doing a red version of moin
 180 2010-08-10T16:16:05  <valeuf> diofeher: like website for a red district ^ ^
 181 2010-08-10T16:17:37  <DmitryAndreev> ThomasWaldmann, i've found a problem with "raise SystemMessage(msg, level)" in rst_in, it's only then you have an error in rst syntax.) i need try block. but it's strange, in my early tests i have 'error' nodes in rst tree, but no exceptions
 182 2010-08-10T16:18:32  <CIA-49> Andrew Grigorev <andrew@ei-grad.ru> default * 5793:222e592da4d3 1.9-ldap-kerberos-agrigorev/MoinMoin/ (7 files in 5 dirs): (log message trimmed)
 183 2010-08-10T16:18:32  <CIA-49> MoinMoin.util.ldap_connection renamed to MoinMoin.util.ldap_utils
 184 2010-08-10T16:18:32  <CIA-49> Added MoinMoin.util.ldap_utils.LDAPBackendBase
 185 2010-08-10T16:18:32  <CIA-49> Refactored __init__ of LDAPAuth, LDAPGroups, LDAPLazyGroups
 186 2010-08-10T16:18:32  <CIA-49> Updated LDAPGroup
 187 2010-08-10T16:18:33  <CIA-49> Removed LDAPLazyGroups._get_search_filter
 188 2010-08-10T16:18:34  <CIA-49> LDAPConnection.search_single moved to LDAPBackendBase
 189 2010-08-10T16:18:41  <valeuf> ei-grad: :o
 190 2010-08-10T16:18:54  <CIA-49> Andrew Grigorev <andrew@ei-grad.ru> default * 5794:52b17f532d2a 1.9-ldap-kerberos-agrigorev/MoinMoin/ (datastruct/backends/ldap_groups.py util/ldap_utils.py): [LDAP2010] added OUGroups implementation
 191 2010-08-10T16:45:02  <diofeher> valeuf, hehe, but i changed to green... i'm gonna do zelda theme
 192 2010-08-10T16:46:10  <valeuf> :D
 193 2010-08-10T16:46:15  <valeuf> it is not that serious
 194 2010-08-10T16:47:20  *** franklin has joined #moin-dev
 195 2010-08-10T16:48:52  <diofeher> mm, we don't have placeholders to put js external files
 196 2010-08-10T16:49:14  <TheSheep> diofeher: placeholders?
 197 2010-08-10T17:07:53  *** ebo^ has quit IRC
 198 2010-08-10T17:14:34  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9623:e022c0560796 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/html_out.py: Add support for xml:id and xml:lang attribute in HTML_OUT converter
 199 2010-08-10T17:14:35  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9624:c575ec6bb3c7 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add xref to the list of ignored tags for the DocBook_IN converter
 200 2010-08-10T17:14:36  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9625:97d25b35bce6 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Remove the test for the <xref> for DocBook_IN converter
 201 2010-08-10T17:14:38  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9626:1341451b62b0 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for linkend attribute support in link for DocBook_IN converter
 202 2010-08-10T17:14:40  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9627:a9498e3e3489 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add support for the linkend attribute for DocBook_IN converter
 203 2010-08-10T17:24:25  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9628:c8d0fc32794d 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for <olink> element for DocBook_IN converter
 204 2010-08-10T17:24:30  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9629:881d7c6129cd 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion for <olink> element for DocBook_IN converter
 205 2010-08-10T17:47:22  <diofeher> jquery experts: $("#moin-img-logo").attr('src', 'http://oldgameszine.files.wordpress.com/2009/06/tri.jpg');
 206 2010-08-10T17:47:31  <diofeher> doesn't working oO
 207 2010-08-10T18:01:48  <diofeher> var img_logo = document.getElementById('moin-img-logo'); return null too
 208 2010-08-10T18:01:49  <diofeher> wtf
 209 2010-08-10T18:02:10  <diofeher> (i've put a id="img-logo-string" in logo)
 210 2010-08-10T18:08:02  <xorAxAx> maybe img-logo-string isnt equal enough to moin-img-logo? :)
 211 2010-08-10T18:08:21  <diofeher> ops, no no ^^
 212 2010-08-10T18:08:26  <diofeher> this is ok
 213 2010-08-10T18:08:48  <diofeher> but if i try document.getElementById('moin-page'); for example, doesn't work too
 214 2010-08-10T18:09:51  <diofeher> return null
 215 2010-08-10T18:13:53  <dreimark> moin
 216 2010-08-10T18:39:16  <diofeher> xorAxAx, discovered the error... the js have to come later ^^
 217 2010-08-10T18:39:29  <xorAxAx> ah, indeed
 218 2010-08-10T18:44:06  <dreimark> bbl
 219 2010-08-10T18:47:16  <zenhase> diofeher: usually you put the jquery-code to run on a page into a $(function() { .... }); block or source file loaded in the head
 220 2010-08-10T18:47:31  <zenhase> it gets executed when the DOM is ready
 221 2010-08-10T18:50:33  <diofeher> hmm. nice zenhase
 222 2010-08-10T18:50:46  <diofeher> i remember what we used in agency... http://www.learningjquery.com/2006/09/introducing-document-ready
 223 2010-08-10T18:52:03  <zenhase> diofeher: that is the long version
 224 2010-08-10T18:56:51  <diofeher> zenhase, nice, didn't know ^^
 225 2010-08-10T18:56:56  <diofeher> http://img153.imageshack.us/img153/9403/screenshot20100810at152.png
 226 2010-08-10T18:57:07  <diofeher> valeuf, i'm serious when i said i'm doing zelda theme hehe
 227 2010-08-10T19:37:20  <ThomasWaldmann> diofeher: don't invest too much time into designing additional themes
 228 2010-08-10T19:37:51  <ThomasWaldmann> if you can demonstrate that e.g. the alternate stylesheet stuff works, that's enough
 229 2010-08-10T19:38:01  <ThomasWaldmann> then rather fix / cleanup the main theme's css
 230 2010-08-10T19:38:24  <diofeher> ok ThomasWaldmann
 231 2010-08-10T19:39:03  <ThomasWaldmann> (and js, and extensibility etc., see todo)
 232 2010-08-10T19:51:52  <CIA-49> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9631:effa171ca46d 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (5 files in 5 dirs): [templating] merge with main repo
 233 2010-08-10T19:51:54  <CIA-49> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9632:3c5f7780b702 2.0-dev-jinja2-plugins-dfeher/ (3 files in 3 dirs): [templating] put a id in img logo and added support to admin add external scripts
 234 2010-08-10T20:43:40  <ThomasWaldmann> diofeher: http://moinmo.in/DiogenesAugusto/CreatingAlternateStyleSheet ?
 235 2010-08-10T20:45:17  <diofeher> ThomasWaldmann, tutorial about how to create alternate stylesheet... i'm gonna put
 236 2010-08-10T21:31:16  *** DmitryAndreev__ has joined #moin-dev
 237 2010-08-10T21:34:39  *** DmitryAndreev has quit IRC
 238 2010-08-10T21:44:35  <ThomasWaldmann> aa_: do you know the current state of flatland + jinja2?
 239 2010-08-10T21:44:58  <ThomasWaldmann> i have just found some "soon" stuff, but partly it was from 2009 or so
 240 2010-08-10T21:45:52  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9630:6f2a654318fa 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for <substeps> element for DocBook_IN converter
 241 2010-08-10T21:45:53  <CIA-49> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9631:7696083fda61 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion for <substeps> for DocBook_IN converter
 242 2010-08-10T21:46:46  *** ebo^ has joined #moin-dev
 243 2010-08-10T22:13:22  <aa_> ThomasWaldmann: afaik there has been in trunk
 244 2010-08-10T22:13:28  <aa_> ThomasWaldmann: ping jek
 245 2010-08-10T22:17:36  <dreimark> re
 246 2010-08-10T22:17:47  <dreimark> hi ebo^
 247 2010-08-10T22:17:58  <ebo^> hi
 248 2010-08-10T22:26:36  *** valeuf has quit IRC
 249 2010-08-10T22:26:40  *** valeuf has joined #moin-dev
 250 2010-08-10T22:52:33  <dreimark> ei-grad: :)
 251 2010-08-10T22:59:15  *** ebo^ has quit IRC
 252 2010-08-10T23:00:36  <valeuf>  ei-grad alive?
 253 2010-08-10T23:01:18  <valeuf> by the way I am leaving for a trip tomorrow, I will try to connect reguarly to check my screen irssi, but I won't be so much available
 254 2010-08-10T23:13:10  <dreimark> gn
 255 2010-08-10T23:58:43  *** RogerHaase has left #moin-dev
 256 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-08-10 (last edited 2010-08-09 22:45:02 by IrcLogImporter)