• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. The KDE Frameworks
  3. Syndication
  • KDE Home
  • Contact Us

Quick Links

Skip menu "Syndication"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Dependencies
  • Related Pages

Class Picker

About

An RSS/Atom parser library

Maintainer
Frank Osterfeld
Supported platforms
Android, FreeBSD, Linux, MacOSX, Windows
Community
IRC: #kde-devel on Freenode
Mailing list: kde-frameworks-devel
Use with CMake
find_package(KF5Syndication)
target_link_libraries(yourapp KF5::Syndication)
Use with QMake
QT += Syndication 
Clone
git clone git://anongit.kde.org/syndication.git
Browse source
Syndication on cgit.kde.org

Syndication

  • View on LXR
  • Syndication
  • RSS2
  • Cloud
Public Member Functions | List of all members
Syndication::RSS2::Cloud Class Reference

#include <cloud.h>

Inheritance diagram for Syndication::RSS2::Cloud:
Inheritance graph
[legend]

Public Member Functions

 Cloud ()
 
 Cloud (const QDomElement &element)
 
QString debugInfo () const
 
QString domain () const
 
QString path () const
 
int port () const
 
QString protocol () const
 
QString registerProcedure () const
 
- Public Member Functions inherited from Syndication::ElementWrapper
 ElementWrapper ()
 
 ElementWrapper (const ElementWrapper &other)
 
 ElementWrapper (const QDomElement &element)
 
virtual ~ElementWrapper ()
 
QString attribute (const QString &name, const QString &defValue=QString()) const
 
QString attributeNS (const QString &nsURI, const QString &localName, const QString &defValue=QString()) const
 
QString childNodesAsXML () const
 
QString completeURI (const QString &uri) const
 
const QDomElement & element () const
 
QList< QDomElement > elementsByTagName (const QString &tagName) const
 
QList< QDomElement > elementsByTagNameNS (const QString &nsURI, const QString &tagName) const
 
QString extractElementText (const QString &tagName) const
 
QString extractElementTextNS (const QString &namespaceURI, const QString &localName) const
 
QDomElement firstElementByTagNameNS (const QString &nsURI, const QString &tagName) const
 
bool hasAttribute (const QString &name) const
 
bool hasAttributeNS (const QString &nsURI, const QString &localName) const
 
bool isNull () const
 
ElementWrapper & operator= (const ElementWrapper &other)
 
bool operator== (const ElementWrapper &other) const
 
QString text () const
 
QString xmlBase () const
 
QString xmlLang () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Syndication::ElementWrapper
static QString childNodesAsXML (const QDomElement &parent)
 

Detailed Description

Cloud information for an RSS channel.

It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1. Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.

Example:

Domain="rpc.sys.com", port="80", path="/RPC2" registerProcedure="myCloud.rssPleaseNotify" protocol="xml-rpc"

In this example, to request notification on the channel it appears in, you would send an XML-RPC message to rpc.sys.com on port 80, with a path of /RPC2. The procedure to call is myCloud.rssPleaseNotify.

For more information on the rssCloud interface see http://blogs.law.harvard.edu/tech/soapMeetsRss#rsscloudInterface

(Note: This explanation was taken from http://blogs.law.harvard.edu/tech/rss )

Author
Frank Osterfeld

Definition at line 60 of file cloud.h.

Constructor & Destructor Documentation

Syndication::RSS2::Cloud::Cloud ( )

Default constructor, creates a null object, for which isNull() is true.

Definition at line 32 of file cloud.cpp.

Syndication::RSS2::Cloud::Cloud ( const QDomElement &  element)
explicit

Creates a Cloud object wrapping a <cloud> XML element.

Parameters
elementThe <cloud> element to wrap

Definition at line 36 of file cloud.cpp.

Member Function Documentation

QString Syndication::RSS2::Cloud::debugInfo ( ) const

Returns a description of the object for debugging purposes.

Returns
debug string

Definition at line 72 of file cloud.cpp.

QString Syndication::RSS2::Cloud::domain ( ) const

the remote domain

Definition at line 40 of file cloud.cpp.

QString Syndication::RSS2::Cloud::path ( ) const

the remote path to connect to

Definition at line 56 of file cloud.cpp.

int Syndication::RSS2::Cloud::port ( ) const

the remote port to connect to

Definition at line 45 of file cloud.cpp.

QString Syndication::RSS2::Cloud::protocol ( ) const

protocol used for publish-subscribe, e.g.

"xml-rpc"

Definition at line 66 of file cloud.cpp.

QString Syndication::RSS2::Cloud::registerProcedure ( ) const

register procedure, e.g.

"myCloud.rssPleaseNotify"

Definition at line 61 of file cloud.cpp.


The documentation for this class was generated from the following files:
  • cloud.h
  • cloud.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 01:34:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal