This file is indexed.

/usr/share/gtk-doc/html/libgrss/GrssFeedsPublisher.html is in libgrss-dev 0.5.0-2ubuntu1.

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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GrssFeedsPublisher</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libgrss Reference Manual">
<link rel="up" href="libgrss-utils.html" title="Part III. Useful Objects">
<link rel="prev" href="GrssFeedsSubscriber.html" title="GrssFeedsSubscriber">
<link rel="next" href="GrssFeedsStore.html" title="GrssFeedsStore">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GrssFeedsSubscriber.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgrss-utils.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libgrss Reference Manual</th>
<td><a accesskey="n" href="GrssFeedsStore.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GrssFeedsPublisher.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GrssFeedsPublisher.description" class="shortcut">Description</a>
                   | 
                  <a href="#GrssFeedsPublisher.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GrssFeedsPublisher.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GrssFeedsPublisher"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GrssFeedsPublisher.top_of_page"></a>GrssFeedsPublisher</span></h2>
<p>GrssFeedsPublisher — feed writer and PubSubHubBub publisher</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GrssFeedsPublisher.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct              <a class="link" href="GrssFeedsPublisher.html#GrssFeedsPublisher-struct" title="struct GrssFeedsPublisher">GrssFeedsPublisher</a>;
<a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="returnvalue">GrssFeedsPublisher</span></a> * <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-new" title="grss_feeds_publisher_new ()">grss_feeds_publisher_new</a>           ();
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-format-content" title="grss_feeds_publisher_format_content ()">grss_feeds_publisher_format_content</a> (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-publish-web" title="grss_feeds_publisher_publish_web ()">grss_feeds_publisher_publish_web</a>    (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-publish-file" title="grss_feeds_publisher_publish_file ()">grss_feeds_publisher_publish_file</a>   (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-hub-set-port" title="grss_feeds_publisher_hub_set_port ()">grss_feeds_publisher_hub_set_port</a>   (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> port</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-hub-set-topics" title="grss_feeds_publisher_hub_set_topics ()">grss_feeds_publisher_hub_set_topics</a> (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *topics</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-hub-switch" title="grss_feeds_publisher_hub_switch ()">grss_feeds_publisher_hub_switch</a>     (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> run</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GrssFeedsPublisher.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GrssFeedsPublisher
</pre>
</div>
<div class="refsect1">
<a name="GrssFeedsPublisher.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GrssFeedsPublisher.html#GrssFeedsPublisher-delete-subscription" title='The "delete-subscription" signal'>delete-subscription</a>"                            : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
  "<a class="link" href="GrssFeedsPublisher.html#GrssFeedsPublisher-new-subscription" title='The "new-subscription" signal'>new-subscription</a>"                               : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GrssFeedsPublisher.description"></a><h2>Description</h2>
<p>
<a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> may be used to expose contents for any given
<a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a>, both writing a file to be dispatched by the local webserver
or providing himself to distribute it, and implements a server able to
receive subscriptions by PubSubHubbub clients and deliver them new contents
in real-time.
</p>
</div>
<div class="refsect1">
<a name="GrssFeedsPublisher.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GrssFeedsPublisher-struct"></a><h3>struct GrssFeedsPublisher</h3>
<pre class="programlisting">struct GrssFeedsPublisher;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-new"></a><h3>grss_feeds_publisher_new ()</h3>
<pre class="programlisting"><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="returnvalue">GrssFeedsPublisher</span></a> * grss_feeds_publisher_new           ();</pre>
<p>
Allocates a new <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-format-content"></a><h3>grss_feeds_publisher_format_content ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             grss_feeds_publisher_format_content (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Format a <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> in Atom and returns the resulting string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>the <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> to dump in the file.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>list of <a href="GrssFeedItem.html"><span class="type">GrssFeedItems</span></a> to be added in the feed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>if an error occourred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned and this is filled with the
message.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string holding the formatted feed, to be
freed when no longer in use.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-publish-web"></a><h3>grss_feeds_publisher_publish_web ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            grss_feeds_publisher_publish_web    (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
If the local web server has been executed (with
<a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-hub-switch" title="grss_feeds_publisher_hub_switch ()"><code class="function">grss_feeds_publisher_hub_switch()</code></a>) this function exposes the given <em class="parameter"><code>channel</code></em>
as an Atom formatted file avalable to http://[LOCAL_IP:DEFINED_PORT]/<em class="parameter"><code>id</code></em> .
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>the <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> to dump in the file.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>list of <a href="GrssFeedItem.html"><span class="type">GrssFeedItems</span></a> to be added in the feed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>name used in the external URL of the feed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>if an error occourred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and this is filled with the
message.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is successfully written, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-publish-file"></a><h3>grss_feeds_publisher_publish_file ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            grss_feeds_publisher_publish_file   (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Dump the given <em class="parameter"><code>channel</code></em> in an Atom formatted file in <em class="parameter"><code>path</code></em>. If the local
PubSubHubbub hub has been activated (with <a class="link" href="GrssFeedsPublisher.html#grss-feeds-publisher-hub-switch" title="grss_feeds_publisher_hub_switch ()"><code class="function">grss_feeds_publisher_hub_switch()</code></a>)
notifies remote subscribers about the new items which has been added since
previous invocation of this function for the same <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>the <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a> to dump in the file.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>list of <a href="GrssFeedItem.html"><span class="type">GrssFeedItems</span></a> to be added in the feed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>URI of the file to write. The full path must exists.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>if an error occourred, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and this is filled with the
message.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is successfully written, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-hub-set-port"></a><h3>grss_feeds_publisher_hub_set_port ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                grss_feeds_publisher_hub_set_port   (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> port</code></em>);</pre>
<p>
To customize the port opened by the local server to deliver feeds and
catch incoming subscriptions. By default this is 80. Changing the port
while the hub is running imply restart the local server.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>port</code></em> :</span></p></td>
<td>new listening port for the server.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-hub-set-topics"></a><h3>grss_feeds_publisher_hub_set_topics ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                grss_feeds_publisher_hub_set_topics (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *topics</code></em>);</pre>
<p>
To define a list of valid "topics" for which the <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> will
deliver contents. Sources of those channels, as retrieved by
<a class="link" href="GrssFeedChannel.html#grss-feed-channel-get-source" title="grss_feed_channel_get_source ()"><code class="function">grss_feed_channel_get_source()</code></a>, are accepted as "hub.topic" parameter in
PubSubHubbub registration requests from remote subscribers.
Pay attention to the fact subscriptions requests for different topic are
now rejected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>topics</code></em> :</span></p></td>
<td>a list of <a href="GrssFeedChannel.html"><span class="type">GrssFeedChannels</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="grss-feeds-publisher-hub-switch"></a><h3>grss_feeds_publisher_hub_switch ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                grss_feeds_publisher_hub_switch     (<em class="parameter"><code><a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *pub</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> run</code></em>);</pre>
<p>
Permits to start and stop the webserver implemented by this object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pub</code></em> :</span></p></td>
<td>a <a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>run</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to run the local server, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to stop it.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GrssFeedsPublisher.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GrssFeedsPublisher-delete-subscription"></a><h3>The <code class="literal">"delete-subscription"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *grssfeedspublisher,
                                                        <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a>    *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>              *arg2,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)               : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>grssfeedspublisher</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GrssFeedsPublisher-new-subscription"></a><h3>The <code class="literal">"new-subscription"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GrssFeedsPublisher.html" title="GrssFeedsPublisher"><span class="type">GrssFeedsPublisher</span></a> *grssfeedspublisher,
                                                        <a class="link" href="GrssFeedChannel.html" title="GrssFeedChannel"><span class="type">GrssFeedChannel</span></a>    *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>              *arg2,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)               : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>grssfeedspublisher</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>