Planet Views

inyoka.planet.views

Views for the planet.

copyright:
  1. 2007-2024 by the Inyoka Team, see AUTHORS for more details.

license:

BSD, see LICENSE for more details.

class inyoka.planet.views.PlanetAtomFeed
_subtitle(_)

Small helper which returns the subtitle content. Modify it in the subclass.

item_author_name(item)
item_description(item)
item_guid(item)
item_pubdate(item)
item_title(item)
item_updateddate(item)
items()
name = 'planet_feed'
title = 'ubuntuusers.local:8080 planet'
inyoka.planet.views.context_modifier(request, context)

This function is called of templated automatically to copy the list of blogs into the context.

inyoka.planet.views.export(request, export_type)

Export the blog list as OPML or FOAF

inyoka.planet.views.hide_entry(*args, **kwargs)

Hide a planet entry

inyoka.planet.views.index(request, *args, **kwargs)

The index function just returns the 30 latest entries of the planet. The page number is optional.

inyoka.planet.views.suggest(request, *args, **kwargs)

A Page to suggest a new blog. It just sends an email to the planet administrators.