From: Tara S. <te...@cl...> - 2001-11-11 16:26:54
|
Jeff Dairiki wrote: [snip] > So you should use Element() when the HTML element you're producing > contains > sub-elements, and QElement() when the elements contents are plain text. >=20 > Does that help? yes!!! Extra question: I have two languages on my wiki, often mixed on the same pages. I'd like=20 a way to allow users to specify that a bloc of text is a given language,=20 for example by inserting [en] or [fr] in front of a paragraph. The wiki would then parse these little tags, and depending on something=20 in the preferences setting, would show one of them (or both!) as a=20 little flag or well... anything (that's not the difficult part). Like=20 that people who only speak one language can make their language (or at=20 least blocks defined as their language) more visible. My question is: where in the wiki script would such parsing be done? in=20 transform.php? what kind of "tag" could be used, which wouldn't=20 interfere with the rules already in place? (e.g. [en] and [fr] are nice,=20 but the wiki will try to make them into pages...) If you have any ideas on the question, I'd love to hear them! Tara --=20 Je r=E9ponds au mieux de mes connaissances Climb to the Stars! - http://climbtothestars.org/ no tables: http://climbtothestars.org/coding/tableless/ Pompeurs Associ=E9s - http://pompage.net/ |