Hi all.
I've been trying to improve the code of my "news aggregator" (based on
that one in the wiki) because it still is kind of... Well, horrible. :)
We adopted a few standards with magnolia, like having some department's
news page located in /<dep>/noticias, with template 'intelbrasNoticias'
and a paragraph scpecially for that template.
So, now the news aggregator scriptlet is doing a few things that I don't
like -- Iterate over /, Iterate over each child; if its name is
'noticias', Iterate over its paragraphs.
I was thinking, maybe creating a SQL query to do this (like the example
that comes with magnolia) *may* be a little cleaner (faster also). But
the problem is that I could not found *any* docs of how should one
create a query -- what are the "column" names that I can use, commands
and stuff.
Does anyone have an idea on how to do this?
Tanks again, people!
--
Felipe Braun Azambuja
[EMAIL PROTECTED]
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------