~gotwig/gazette/global-service-states

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
54
55
56
57
58
<schemalist>

        <enum id="weather-unit">
            <value nick="Celsius" value="0" />
            <value nick="Fahrenheit" value="1" />

        </enum>

        <schema path="/org/pantheon/gazette/" id="org.pantheon.gazette" gettext-domain="gazette">
            <key name="enabled-services" type="as">
                <default>['files','news','weather']</default>
                <summary>All enabled services</summary>
            </key>
            <key name="service-states" type="as">
                <default>[]</default>
                <summary>The last state of each service</summary>
            </key>
            <key name="show-welcome" type="b">
                <default>true</default>
                <summary>Whether or not to show a welcome message on launch.</summary>
            </key>
        </schema>

        <schema path="/org/pantheon/gazette/files/" id="org.pantheon.gazette.files" gettext-domain="gazette">
            <key name="update-interval" type="i">
                <default>180000<!-- 30 min in ms --></default>
                <summary>The time, in ms, after which files are updated</summary>
            </key>
        </schema>
        
        <schema path="/org/pantheon/gazette/news/" id="org.pantheon.gazette.news" gettext-domain="gazette">
            <key name="rss-url" type="s">
                    <default>"http://feeds.bbci.co.uk/news/world/rss.xml"</default>
                    <summary>Specifies the RSS feed that gets used for news.</summary>
            </key>
            <key name="update-interval" type="i">
                <default>300000<!-- 5 min in ms --></default>
                <summary>The time, in ms after which rss-news get updated</summary>
            </key>
        </schema>

        <schema path="/org/pantheon/gazette/weather/" id="org.pantheon.gazette.weather" gettext-domain="gazette">
            <key name="weather-id" type="i">
                <default>667931</default>
                <summary>Specifies the Yahoo Weather API ID.</summary>
                <description>You can find this out by searching your city on http://weather.yahoo.com/</description>
            </key> 
            <key name="weather-unit" enum="weather-unit">
                <default>"Celsius"</default>
                <summary>Specifies the unit for weather data.</summary>
            </key>
            <key name="update-interval" type="i">
                <default>1800000<!-- 30 min in ms//Weather data refreshs all 3 hours --></default>
                <summary>The time, in ms after which weather data gets updated</summary>
            </key>
        </schema>

</schemalist>