This file is indexed.

/usr/share/doc/python-pypump-doc/html/models/activity.html is in python-pypump-doc 0.3+git20130823.1.97bffc6-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Activity &mdash; PyPump 1.0.0 documentation</title>
    
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.0.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="PyPump 1.0.0 documentation" href="../index.html" />
    <link rel="prev" title="Person" href="person.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="person.html" title="Person"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">PyPump 1.0.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="activity">
<h1>Activity<a class="headerlink" href="#activity" title="Permalink to this headline"></a></h1>
<p>This object represents pump.io&#8217;s activities, these are used in feeds like <cite>inbox</cite>.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The pump variable is an instantiated PyPump class e.g. pump = PyPump(&#8220;&lt;webfinger&gt;&#8221;, client_name=&#8221;&lt;name&gt;&#8221;, etc...)</p>
</div>
<dl class="class">
<dt id="Activity">
<em class="property">class </em><tt class="descname">Activity</tt><a class="headerlink" href="#Activity" title="Permalink to this definition"></a></dt>
<dd><p>This represents an activity:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="go">&gt;&gt;&gt;me = pump.Person(&quot;kabniel@microca.st&quot;)</span>
<span class="go">&gt;&gt;&gt;my_inbox = me.inbox[:10]</span>
<span class="go">&gt;&gt;&gt;my_activity = my_inbox[0]</span>
</pre></div>
</div>
<dl class="attribute">
<dt id="Activity.id">
<tt class="descname">id</tt><a class="headerlink" href="#Activity.id" title="Permalink to this definition"></a></dt>
<dd><p>This is the id of the activity:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">id</span>
<span class="go">&quot;https://e14n.com/api/activity/Y7Lxll6jSGSqTjFT5dbaqQ&quot;</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.url">
<tt class="descname">url</tt><a class="headerlink" href="#Activity.url" title="Permalink to this definition"></a></dt>
<dd><p>This is the url of the activity:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">url</span>
<span class="go">&#39;https://e14n.com/evan/activity/Y7Lxll6jSGSqTjFT5dbaqQ&#39;</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.content">
<tt class="descname">content</tt><a class="headerlink" href="#Activity.content" title="Permalink to this definition"></a></dt>
<dd><p>This is the content of the activity:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">content</span>
<span class="go">&quot;&lt;a href=&#39;https://e14n.com/evan&#39;&gt;Evan Prodromou&lt;/a&gt; posted &lt;a href=&#39;https://e14n.com/evan/note/S8B6Y9i4SbS2rVw4sfb_5Q&#39;&gt;a note&lt;/a&gt;&quot;</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.actor">
<tt class="descname">actor</tt><a class="headerlink" href="#Activity.actor" title="Permalink to this definition"></a></dt>
<dd><p>This is who posted the activity (Person object):</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">actor</span>
<span class="go">&lt;Person: evan@e14n.com&gt;</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.updated">
<tt class="descname">updated</tt><a class="headerlink" href="#Activity.updated" title="Permalink to this definition"></a></dt>
<dd><p>This is when the activity was last updated. this is a datetime.datetime object</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">updated</span>
<span class="go">datetime.datetime(2013, 6, 15, 12, 31, 22, 134180)</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.published">
<tt class="descname">published</tt><a class="headerlink" href="#Activity.published" title="Permalink to this definition"></a></dt>
<dd><p>This is when the activity was first published, this is a datetime.datetime object</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">published</span>
<span class="go">datetime.datetime(2013, 6, 15, 12, 31, 22, 134180)</span>
</pre></div>
</div>
</dd></dl>

<dl class="attribute">
<dt id="Activity.generator">
<tt class="descname">generator</tt><a class="headerlink" href="#Activity.generator" title="Permalink to this definition"></a></dt>
<dd><p>This is the client that generated the activity:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">my_activity</span><span class="o">.</span><span class="n">generator</span>
<span class="go">&lt;Generator: E14N Web&gt;</span>
</pre></div>
</div>
</dd></dl>

</dd></dl>

<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline"></a></h2>
<p>No examples yet!</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Activity</a><ul>
<li><a class="reference internal" href="#example">Example</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="person.html"
                        title="previous chapter">Person</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/models/activity.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="person.html" title="Person"
             >previous</a> |</li>
        <li><a href="../index.html">PyPump 1.0.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2013, Jessica Tallon.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>