/usr/share/gtk-doc/html/libgrss/FeedItem.html is in libgrss-dev 0.4.0-3.
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 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FeedItem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="libgrss Reference Manual">
<link rel="up" href="libgrss-essentials.html" title="Part II. Essential Elements">
<link rel="prev" href="FeedChannel.html" title="FeedChannel">
<link rel="next" href="FeedEnclosure.html" title="FeedEnclosure">
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgrss.html" title="Part I. libgrss Overview">
<link rel="part" href="libgrss-essentials.html" title="Part II. Essential Elements">
<link rel="part" href="libgrss-utils.html" title="Part III. Useful Objects">
<link rel="index" href="ix01.html" title="Index">
<link rel="appendix" href="license.html" title="Appendix A. License">
</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="FeedChannel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgrss-essentials.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="FeedEnclosure.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#FeedItem.synopsis" class="shortcut">Top</a>
|
<a href="#FeedItem.description" class="shortcut">Description</a>
|
<a href="#FeedItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry" title="FeedItem">
<a name="FeedItem"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="FeedItem.top_of_page"></a>FeedItem</span></h2>
<p>FeedItem — a feed item</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="FeedItem.stability-level"></a><h2>Stability Level</h2>, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="FeedItem.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="FeedItem.html#FeedItem-struct" title="FeedItem">FeedItem</a>;
<a class="link" href="FeedItem.html" title="FeedItem"><span class="returnvalue">FeedItem</span></a>* <a class="link" href="FeedItem.html#feed-item-new" title="feed_item_new ()">feed_item_new</a> (<em class="parameter"><code><a class="link" href="FeedChannel.html" title="FeedChannel"><span class="type">FeedChannel</span></a> *parent</code></em>);
<a class="link" href="FeedChannel.html" title="FeedChannel"><span class="returnvalue">FeedChannel</span></a>* <a class="link" href="FeedItem.html#feed-item-get-parent" title="feed_item_get_parent ()">feed_item_get_parent</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-id" title="feed_item_set_id ()">feed_item_set_id</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-id" title="feed_item_get_id ()">feed_item_get_id</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-title" title="feed_item_set_title ()">feed_item_set_title</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-title" title="feed_item_get_title ()">feed_item_get_title</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-description" title="feed_item_set_description ()">feed_item_set_description</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *description</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-description" title="feed_item_get_description ()">feed_item_get_description</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-add-category" title="feed_item_add_category ()">feed_item_add_category</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* <a class="link" href="FeedItem.html#feed-item-get-categories" title="feed_item_get_categories ()">feed_item_get_categories</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-source" title="feed_item_set_source ()">feed_item_set_source</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-source" title="feed_item_get_source ()">feed_item_get_source</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-real-source" title="feed_item_set_real_source ()">feed_item_set_real_source</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *realsource</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-get-real-source" title="feed_item_get_real_source ()">feed_item_get_real_source</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</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> **realsource</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> **title</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-related" title="feed_item_set_related ()">feed_item_set_related</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *related</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-related" title="feed_item_get_related ()">feed_item_get_related</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-copyright" title="feed_item_set_copyright ()">feed_item_set_copyright</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *copyright</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-copyright" title="feed_item_get_copyright ()">feed_item_get_copyright</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-author" title="feed_item_set_author ()">feed_item_set_author</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-author" title="feed_item_get_author ()">feed_item_get_author</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-add-contributor" title="feed_item_add_contributor ()">feed_item_add_contributor</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *contributor</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* <a class="link" href="FeedItem.html#feed-item-get-contributors" title="feed_item_get_contributors ()">feed_item_get_contributors</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-comments-url" title="feed_item_set_comments_url ()">feed_item_set_comments_url</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *url</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="FeedItem.html#feed-item-get-comments-url" title="feed_item_get_comments_url ()">feed_item_get_comments_url</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-geo-point" title="feed_item_set_geo_point ()">feed_item_set_geo_point</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">double</span> latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> longitude</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="FeedItem.html#feed-item-get-geo-point" title="feed_item_get_geo_point ()">feed_item_get_geo_point</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">double</span> *latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> *longitude</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-set-publish-time" title="feed_item_set_publish_time ()">feed_item_set_publish_time</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">time_t</span> publish</code></em>);
<span class="returnvalue">time_t</span> <a class="link" href="FeedItem.html#feed-item-get-publish-time" title="feed_item_get_publish_time ()">feed_item_get_publish_time</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="FeedItem.html#feed-item-add-enclosure" title="feed_item_add_enclosure ()">feed_item_add_enclosure</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a class="link" href="FeedEnclosure.html" title="FeedEnclosure"><span class="type">FeedEnclosure</span></a> *enclosure</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* <a class="link" href="FeedItem.html#feed-item-get-enclosures" title="feed_item_get_enclosures ()">feed_item_get_enclosures</a> (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="FeedItem.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>
+----FeedItem
</pre>
</div>
<div class="refsect1" title="Description">
<a name="FeedItem.description"></a><h2>Description</h2>
<p>
<a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> is an abstraction for an item, collects all information about a
single element found into a feed</p>
</div>
<div class="refsect1" title="Details">
<a name="FeedItem.details"></a><h2>Details</h2>
<div class="refsect2" title="FeedItem">
<a name="FeedItem-struct"></a><h3>FeedItem</h3>
<pre class="programlisting">typedef struct _FeedItem FeedItem;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="feed_item_new ()">
<a name="feed-item-new"></a><h3>feed_item_new ()</h3>
<pre class="programlisting"><a class="link" href="FeedItem.html" title="FeedItem"><span class="returnvalue">FeedItem</span></a>* feed_item_new (<em class="parameter"><code><a class="link" href="FeedChannel.html" title="FeedChannel"><span class="type">FeedChannel</span></a> *parent</code></em>);</pre>
<p>
To allocate a new empty <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</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>parent</code></em> :</span></p></td>
<td>the feed from which the new item belongs
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_parent ()">
<a name="feed-item-get-parent"></a><h3>feed_item_get_parent ()</h3>
<pre class="programlisting"><a class="link" href="FeedChannel.html" title="FeedChannel"><span class="returnvalue">FeedChannel</span></a>* feed_item_get_parent (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the feed from which the item belongs</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the parent feed, as set in <a class="link" href="FeedItem.html#feed-item-new" title="feed_item_new ()"><code class="function">feed_item_new()</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_id ()">
<a name="feed-item-set-id"></a><h3>feed_item_set_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_id (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
<p>
To set the ID of the <em class="parameter"><code>item</code></em>. This parameter has not a particular format: it
is just a string used to identify in unique way the item</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>the new ID to set
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_id ()">
<a name="feed-item-get-id"></a><h3>feed_item_get_id ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_id (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the ID assigned to the <em class="parameter"><code>item</code></em>. If no ID was set with
<a class="link" href="FeedItem.html#feed-item-set-id" title="feed_item_set_id ()"><code class="function">feed_item_set_id()</code></a> this returns the same of <a class="link" href="FeedItem.html#feed-item-get-source" title="feed_item_get_source ()"><code class="function">feed_item_get_source()</code></a>.
Pay attention to the fact this library do not check uniqueness of assigned
IDs</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>
<a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> from which retrieve the ID
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> ID of the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_title ()">
<a name="feed-item-set-title"></a><h3>feed_item_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_title (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
To set a title to the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>title of the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_title ()">
<a name="feed-item-get-title"></a><h3>feed_item_get_title ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_title (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the title assigned to <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> title of the element
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_description ()">
<a name="feed-item-set-description"></a><h3>feed_item_set_description ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_description (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *description</code></em>);</pre>
<p>
To set the description of <em class="parameter"><code>item</code></em>. Usually "description" means his content</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>description</code></em> :</span></p></td>
<td>content of the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_description ()">
<a name="feed-item-get-description"></a><h3>feed_item_get_description ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_description (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the description of the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> description of <em class="parameter"><code>item</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_add_category ()">
<a name="feed-item-add-category"></a><h3>feed_item_add_category ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_add_category (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
<p>
Adds a category to the <em class="parameter"><code>item</code></em>. The complete list can be obtained with
<a class="link" href="FeedItem.html#feed-item-get-categories" title="feed_item_get_categories ()"><code class="function">feed_item_get_categories()</code></a></p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
<td>a new category to assign to the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_categories ()">
<a name="feed-item-get-categories"></a><h3>feed_item_get_categories ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* feed_item_get_categories (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves list of categories assigned to the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> list of strings, one for assigned category. Do not free or
modify this list
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_source ()">
<a name="feed-item-set-source"></a><h3>feed_item_set_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_source (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source</code></em>);</pre>
<p>
To set the source of the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>URL of the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_source ()">
<a name="feed-item-get-source"></a><h3>feed_item_get_source ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_source (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the URL where the <em class="parameter"><code>item</code></em> can be found</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> URL of the item, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_real_source ()">
<a name="feed-item-set-real-source"></a><h3>feed_item_set_real_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_real_source (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *realsource</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
To set an alternative real source for <em class="parameter"><code>item</code></em>. This parameter is used by web
aggregators to explicit the origin of a content reproduced in them</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>realsource</code></em> :</span></p></td>
<td>URL of the real source for the item
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>title of the real source
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_real_source ()">
<a name="feed-item-get-real-source"></a><h3>feed_item_get_real_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_get_real_source (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</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> **realsource</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> **title</code></em>);</pre>
<p>
Retrieves references to the real source of <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>realsource</code></em> :</span></p></td>
<td>will be assigned to the URL of the real source, or NULL
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>will be assigned to the title of the real source, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_related ()">
<a name="feed-item-set-related"></a><h3>feed_item_set_related ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_related (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *related</code></em>);</pre>
<p>
To set reference to a post related to <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>related</code></em> :</span></p></td>
<td>reference to a related post
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_related ()">
<a name="feed-item-get-related"></a><h3>feed_item_get_related ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_related (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves indication about posts related to <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> related posts, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_copyright ()">
<a name="feed-item-set-copyright"></a><h3>feed_item_set_copyright ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_copyright (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *copyright</code></em>);</pre>
<p>
To set a copyright reference to <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>copyright</code></em> :</span></p></td>
<td>copyright declaration for the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_copyright ()">
<a name="feed-item-get-copyright"></a><h3>feed_item_get_copyright ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_copyright (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves copyright reference for the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> copyright mark, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_author ()">
<a name="feed-item-set-author"></a><h3>feed_item_set_author ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_author (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>);</pre>
<p>
To assign an author to the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>author</code></em> :</span></p></td>
<td>name of the author
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_author ()">
<a name="feed-item-get-author"></a><h3>feed_item_get_author ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_author (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the author of <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> author of the item, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_add_contributor ()">
<a name="feed-item-add-contributor"></a><h3>feed_item_add_contributor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_add_contributor (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *contributor</code></em>);</pre>
<p>
To add a contributor to the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>contributor</code></em> :</span></p></td>
<td>name of the contributor for the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_contributors ()">
<a name="feed-item-get-contributors"></a><h3>feed_item_get_contributors ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* feed_item_get_contributors (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves contributors for <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> list of contributors to the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_comments_url ()">
<a name="feed-item-set-comments-url"></a><h3>feed_item_set_comments_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_comments_url (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *url</code></em>);</pre>
<p>
To assign the URL where to fetch comments for the item</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>url</code></em> :</span></p></td>
<td>URL where to retrieve comments to the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_comments_url ()">
<a name="feed-item-get-comments-url"></a><h3>feed_item_get_comments_url ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* feed_item_get_comments_url (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the URL where to catch comments to the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> URL to parse to read comments for <em class="parameter"><code>item</code></em>, or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_geo_point ()">
<a name="feed-item-set-geo-point"></a><h3>feed_item_set_geo_point ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_geo_point (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">double</span> latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> longitude</code></em>);</pre>
<p>
To assign geographic context to the <em class="parameter"><code>item</code></em>.
Passing -1 as <em class="parameter"><code>latitude</code></em> or <em class="parameter"><code>longitude</code></em>, the relative value is untouched in
the object. This is to easy assignment of coordinates in more than a
single step. If both are -1, nothing happens</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>latitude</code></em> :</span></p></td>
<td>latitude of the point, or -1 to leave the previous one
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>longitude</code></em> :</span></p></td>
<td>longitude of the point, or -1 to leave the previous one
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_geo_point ()">
<a name="feed-item-get-geo-point"></a><h3>feed_item_get_geo_point ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> feed_item_get_geo_point (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">double</span> *latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> *longitude</code></em>);</pre>
<p>
Retrieves the geo reference of the <em class="parameter"><code>item</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>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>latitude</code></em> :</span></p></td>
<td>will be assigned to the latitude of the point, or NULL
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>longitude</code></em> :</span></p></td>
<td>will be assigned to the longitude of the point, or NULL
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if <em class="parameter"><code>item</code></em> has geographic coordinates assigned and
<em class="parameter"><code>latitude</code></em> and <em class="parameter"><code>longitude</code></em> have been set, FALSE if <em class="parameter"><code>item</code></em> has not geo
reference
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_set_publish_time ()">
<a name="feed-item-set-publish-time"></a><h3>feed_item_set_publish_time ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_set_publish_time (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><span class="type">time_t</span> publish</code></em>);</pre>
<p>
To set the publish time of the item</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>publish</code></em> :</span></p></td>
<td>publishing timestamp of the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_publish_time ()">
<a name="feed-item-get-publish-time"></a><h3>feed_item_get_publish_time ()</h3>
<pre class="programlisting"><span class="returnvalue">time_t</span> feed_item_get_publish_time (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the publish time of the item. By default this value is the
current timestamp assigned when creating the <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>, and may be changed
with <a class="link" href="FeedItem.html#feed-item-set-publish-time" title="feed_item_set_publish_time ()"><code class="function">feed_item_set_publish_time()</code></a></p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> publish time of <em class="parameter"><code>item</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_add_enclosure ()">
<a name="feed-item-add-enclosure"></a><h3>feed_item_add_enclosure ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> feed_item_add_enclosure (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>,
<em class="parameter"><code><a class="link" href="FeedEnclosure.html" title="FeedEnclosure"><span class="type">FeedEnclosure</span></a> *enclosure</code></em>);</pre>
<p>
Adds an enclosure to the <em class="parameter"><code>item</code></em>. That external elements may be references
to images, videos, or other contents (usually multimedial) embedded in the
element</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enclosure</code></em> :</span></p></td>
<td>a <a class="link" href="FeedEnclosure.html" title="FeedEnclosure"><span class="type">FeedEnclosure</span></a> to add to the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="feed_item_get_enclosures ()">
<a name="feed-item-get-enclosures"></a><h3>feed_item_get_enclosures ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* feed_item_get_enclosures (<em class="parameter"><code><a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a> *item</code></em>);</pre>
<p>
Retrieves the list of enclosures added with <a class="link" href="FeedItem.html#feed-item-add-enclosure" title="feed_item_add_enclosure ()"><code class="function">feed_item_add_enclosure()</code></a></p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="FeedItem.html" title="FeedItem"><span class="type">FeedItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a list of <a class="link" href="FeedEnclosure.html" title="FeedEnclosure"><span class="type">FeedEnclosure</span></a>. This is a direct reference to the
internal list, do not free or modify it
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.12</div>
</body>
</html>
|