Struct xpcom::interfaces::nsIFeedEntry [] [src]

#[repr(C)]
pub struct nsIFeedEntry { /* fields omitted */ }

interface nsIFeedEntry : nsIFeedContainer

/**
 * An nsIFeedEntry represents an Atom or RSS entry/item. Summary
 * and/or full-text content may be available, but callers will have to
 * check both.
 */

Methods

impl nsIFeedEntry
[src]

[src]

Cast this nsIFeedEntry to one of its base interfaces.

impl nsIFeedEntry
[src]

[src]

/**
  * Uses description, subtitle, summary, content and extensions
  * to generate a summary.
  *
  */

attribute nsIFeedTextConstruct summary;

[src]

/**
  * Uses description, subtitle, summary, content and extensions
  * to generate a summary.
  *
  */

attribute nsIFeedTextConstruct summary;

[src]

/**
   * The date the entry was published, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString published;

[src]

/**
   * The date the entry was published, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString published;

[src]

/**
  * Uses atom:content and content:encoded to provide
  * a 'full text' view of an entry.
  *
  */

attribute nsIFeedTextConstruct content;

[src]

/**
  * Uses atom:content and content:encoded to provide
  * a 'full text' view of an entry.
  *
  */

attribute nsIFeedTextConstruct content;

[src]

/**
  * Enclosures are podcasts, photocasts, etc.
  */

attribute nsIArray enclosures;

[src]

/**
  * Enclosures are podcasts, photocasts, etc.
  */

attribute nsIArray enclosures;

[src]

/**
  * Enclosures, etc. that might be displayed inline.
  */

attribute nsIArray mediaContent;

[src]

/**
  * Enclosures, etc. that might be displayed inline.
  */

attribute nsIArray mediaContent;

Methods from Deref<Target = nsIFeedContainer>

[src]

Cast this nsIFeedContainer to one of its base interfaces.

[src]

/**
  * Many feeds contain an ID distinct from their URI, and
  * entries have standard fields for this in all major formats.
  */

attribute AString id;

[src]

/**
  * Many feeds contain an ID distinct from their URI, and
  * entries have standard fields for this in all major formats.
  */

attribute AString id;

[src]

/**
  * The fields found in the document. Common Atom
  * and RSS fields are normalized. This includes some namespaced
  * extensions such as dc:subject and content:encoded.
  * Consumers can avoid normalization by checking the feed type
  * and accessing specific fields.
  *
  * Common namespaces are accessed using prefixes, like get("dc:subject");.
  * See nsIFeedResult::registerExtensionPrefix.
  */

attribute nsIWritablePropertyBag2 fields;

[src]

/**
  * The fields found in the document. Common Atom
  * and RSS fields are normalized. This includes some namespaced
  * extensions such as dc:subject and content:encoded.
  * Consumers can avoid normalization by checking the feed type
  * and accessing specific fields.
  *
  * Common namespaces are accessed using prefixes, like get("dc:subject");.
  * See nsIFeedResult::registerExtensionPrefix.
  */

attribute nsIWritablePropertyBag2 fields;

[src]

/**
   * Sometimes there's no title, or the title contains markup, so take
   * care in decoding the attribute.
   */

attribute nsIFeedTextConstruct title;

[src]

/**
   * Sometimes there's no title, or the title contains markup, so take
   * care in decoding the attribute.
   */

attribute nsIFeedTextConstruct title;

/**
  * Returns the primary link for the feed or entry.
  */

attribute nsIURI link;

/**
  * Returns the primary link for the feed or entry.
  */

attribute nsIURI link;

/**
  * Returns all links for a feed or entry.
  */

attribute nsIArray links;

/**
  * Returns all links for a feed or entry.
  */

attribute nsIArray links;

[src]

/**
  * Returns the categories found in a feed or entry.
  */

attribute nsIArray categories;

[src]

/**
  * Returns the categories found in a feed or entry.
  */

attribute nsIArray categories;

[src]

/**
   * The rights or license associated with a feed or entry.
   */

attribute nsIFeedTextConstruct rights;

[src]

/**
   * The rights or license associated with a feed or entry.
   */

attribute nsIFeedTextConstruct rights;

[src]

/**
   * A list of nsIFeedPersons that authored the feed.
   */

attribute nsIArray authors;

[src]

/**
   * A list of nsIFeedPersons that authored the feed.
   */

attribute nsIArray authors;

[src]

/**
   * A list of nsIFeedPersons that contributed to the feed.
   */

attribute nsIArray contributors;

[src]

/**
   * A list of nsIFeedPersons that contributed to the feed.
   */

attribute nsIArray contributors;

[src]

/**
   * The date the feed was updated, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString updated;

[src]

/**
   * The date the feed was updated, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString updated;

[src]

/**
  * Syncs a container's fields with its convenience attributes.
  */

void normalize ();

Trait Implementations

impl XpCom for nsIFeedEntry
[src]

IID: nsIID = nsID(834655668, 36853, 19453, [168, 203, 179, 223, 189, 79, 10, 91])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIFeedEntry
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIFeedEntry
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.