Re: PloneSoftwareCenter DOAP



Simone Deponti wrote:

First of all no, I don't have any doap_feed version.
Second, I've never used nor know the use of Five and all the Views, Adapters and the general structure of the Z3 CA. What I've done for now is some reading about the subject (not enough to give me a sufficient knowledge tho). I'm working to fill this gap :D.

See http://plone.org/documentation/tutorial/borg, esp the chapter on views. The bottom line is, it's not terribly difficult and it makes it easier to work out where to put complex logic etc.

Said these two things, would be intresting to use the approach you're proposing, since it would allow us to have a better code, that could be easily ported through versions without the fear of losing anything.

I don't know what we have to parse tho (unless I'm missing a key feature), maybe you mean using xmllib to generate the XML?

Generating XML should work OK with just a template in TAL. Look at search_rss.pt in Plone for an example.

Anyway, from what I have been able to understand of Z3 Views, I've seen that PSC (svn) has a somewhat embrional view implementation in browser/; so I guess we can use this work in order to retrieve our data for the doap_feed.pt (we can use the project_view for this).

We have a couple of views - the plan is to move all the other complex logic out of templates and into views. Alex Clark and myself are working on this, but my time is very short atm owing to Plone 3.

Martin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]