Skip to content.

Etria Lists

 

[quills-dev] Eggification in progress - hold on to your seats, everybody!

Tim Hicks tim at sitefusion.co.uk
Fri Feb 29 13:23:00 UTC 2008


Sasha Vincic wrote:
> 
> On 29 feb 2008, at 13.08, Tim Hicks wrote:
> 
>> Clayton Parker wrote:
>>>
>>> This defeats the purpose of eggification :) I added the products in
>>> the buildout as proper eggs.  This however doesn't jive with
>>> fatsyndication since fatsyndication/browser/feed/FeedView is relying
>>> on a relative path (http://paste.plone.org/19846):
>>>
>>> atom  = PageTemplateFile('../../basesyndication/browser/atom.xml.pt')
>>>
>>> For now i've left the base and fat syndication products in the quills-
>>> products folder so you can at least start it up.  Any thoughts on how
>>> we might solve this besides moving over to vice?
>>
>> I'm aiming to get vice in for 1.7, but it's too late to make the change
>> for 1.6 now, imho.  I wonder if we can circumvent the problem by
>> importing the basesyndication browser package, and then figuring out its
>> path from that?
> 
> Why are all templates in basesyndication but not used there?

The aim was for basesyndication to be non-dependent on zope2.

> Why not make a basesyndication/browser/__init__.py do the 
> PageTemplateFile initialization and then import them in fatsyndication?
> 
> from basesyndication.browser import atom_xml as atom
> 
> or something.

That might make life easier, but would introduce a dependency on zope2 
as we would need to import ZopeTwoPageTemplateFile (from Five), I think.


Tim


More information about the quills-dev mailing list