• Vice Squad

Fwd: Fwd: plone.marquis now quills.syndication

from "Derek Richardson" on Dec 29, 2007 03:33 PM
I've been mulling this over. The difficulty is that Vice is more
flexible than the current Quills links portlet can display. With Vice,
you can have an arbitrary number of named feeds of arbitrary formats.
For instance, you might have no rss 1 feed and two atom feeds, say one
of which requires authentication and the other doesn't. I wouldn't
mind having a portlet that displays all the available feeds on a
specified object - in fact, that's a very good idea that we hadn't
thought of. However, I like the snazzy graphics in the Quills links
portlet but I'm having trouble figuring out how to reconcile the
static nature of images with the dynamic, flexible Vice feeds config.
Ideas?

Derek


On Dec 22, 2007 3:17 PM, Tim Hicks <tim@...> wrote:
>
> Tim Hicks wrote:
>
> >> More importantly, Tim, I need your input on what to do with the
> >> portlet.
> >
> > Presumably you mean the 'quillslinks' portlet at
> > <http://dev.plone.org/collective/browser/quills.app/trunk/quills/app/portlets/quillslinks.py>
> > (and associated template).
> >
> >> Remove it?
> >
> > Only if Vice is already providing something equivalent, which I don't
> > think it is... yet.
> >
> >> Move it to quills.syndication and hook it up to
> >> Vice?
> >
> > I think the first step should probably be moving to quills.syndication.
> >  However, this seems like a useful portlet for general users of outbound
> > syndication in Plone.  As such, it may well make sense for it to move
> > all the way into plone.app.syndication.outbound.
> >
> > I think to do so would require some modifications to the portlet
> > implementation, and possibly to Vice code.  Specifically, presumably it
> > is easy enough to use a Vice api to get hold of a list of feed urls and
> > names/titles/whatever for a content object, and then have the portlet
> > display them.  However, is there a way to recurse/acquire up the object
> > hierarchy to find the appropriate content object for which to fetch
> > feeds?  That is, for Quills, we require that when viewing an
> > IWeblogEntry, feeds are displayed for the containing IWeblog object.  I
> > guess the question is: is there a generalizable way of getting hold of
> > appropriate feed listings from an arbitrary context?  Hopefully that
> > makes sense.
>
> Thinking out loud...
>
> How about a portlet (in Vice) has a configuration option for a list
> (LinesField, in AT parlance) of TAL statements that return objects for
> which all available feeds should be displayed.  By default, this would
> simply be 'context'.  For Quills' WeblogEntry objects, this would be
> something along the lines of 'context/getWeblog'.
>
> Thoughts?
>
>
> Tim
>
>
> --
> Archive: http://www.openplans.org/projects/vice/lists/vice-squad/archive/2007/12/1198354673204
>
> To unsubscribe send an email with subject unsubscribe to vice-dev@....  Please contact vice-dev-manager@... for questions.
>
Return to date view: threaded or flat