Syndication

constants.cpp
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #include "constants.h"
9 
10 #include <QString>
11 
12 namespace Syndication
13 {
14 QString xmlNamespace()
15 {
16  return QStringLiteral("http://www.w3.org/XML/1998/namespace");
17 }
18 
19 QString xhtmlNamespace()
20 {
21  return QStringLiteral("http://www.w3.org/1999/xhtml");
22 }
23 
24 QString contentNameSpace()
25 {
26  return QStringLiteral("http://purl.org/rss/1.0/modules/content/");
27 }
28 
29 QString dublinCoreNamespace()
30 {
31  return QStringLiteral("http://purl.org/dc/elements/1.1/");
32 }
33 
34 QString itunesNamespace()
35 {
36  return QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtd");
37 }
38 
40 {
41  return QStringLiteral("http://wellformedweb.org/CommentAPI/");
42 }
43 
45 {
46  return QStringLiteral("http://purl.org/rss/1.0/modules/slash/");
47 }
48 
49 } // namespace Syndication
QString slashNamespace()
"slash" namespace http://purl.org/rss/1.0/modules/slash/
Definition: constants.cpp:44
QString commentApiNamespace()
wellformedweb.org&#39;s RSS namespace for comment functionality "http://wellformedweb.org/CommentAPI/"
Definition: constants.cpp:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 19 2021 23:04:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.