~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!-- Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
     GNU Affero General Public License version 3 (see the file LICENSE).
-->

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    i18n_domain="launchpad">

    <securedutility
        class="lp.systemhomes.FeedsApplication"
        provides="lp.services.feeds.interfaces.IFeedsApplication">
        <allow
            interface="lp.services.feeds.interfaces.IFeedsApplication" />
    </securedutility>

    <adapter
        provides="lp.services.webapp.interfaces.ICanonicalUrlData"
        for="lp.services.feeds.interfaces.IFeedsApplication"
        factory="lp.services.feeds.browser.FeedsRootUrlData"
        />

    <browser:defaultView
        for="lp.services.feeds.interfaces.IFeedsApplication"
        name="+index"
        />

    <browser:navigation
        module="lp.services.feeds.browser"
        classes="FeedsNavigation"
        />

    <!-- Macros -->
    <browser:page
        for="canonical.lazr.interfaces.feed.IFeedEntry"
        name="feed-entry-atom"
        permission="zope.Public"
        template="../../../canonical/lazr/feed/templates/feed-entry-atom.pt"
        />


    <!-- Unauthorized -->
    <browser:page
        for="zope.exceptions.IUnauthorized"
        name="index.html"
        permission="zope.Public"
        class="lp.services.webapp.login.FeedsUnauthorizedView"
        attribute="__call__"
        layer="lp.layers.FeedsLayer"
        />

</configure>