Syndication

constants.cpp
1 /*
2  * This file is part of the syndication library
3  *
4  * Copyright (C) 2006 Frank Osterfeld <[email protected]>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public License
17  * along with this library; see the file COPYING.LIB. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 #include "constants.h"
24 
25 #include <QString>
26 
27 namespace Syndication
28 {
29 
30 QString xmlNamespace()
31 {
32  return QStringLiteral("http://www.w3.org/XML/1998/namespace");
33 }
34 
35 QString xhtmlNamespace()
36 {
37  return QStringLiteral("http://www.w3.org/1999/xhtml");
38 }
39 
40 QString contentNameSpace()
41 {
42  return QStringLiteral("http://purl.org/rss/1.0/modules/content/");
43 }
44 
45 QString dublinCoreNamespace()
46 {
47  return QStringLiteral("http://purl.org/dc/elements/1.1/");
48 }
49 
50 QString itunesNamespace()
51 {
52  return QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtd");
53 }
54 
56 {
57  return QStringLiteral("http://wellformedweb.org/CommentAPI/");
58 }
59 
61 {
62  return QStringLiteral("http://purl.org/rss/1.0/modules/slash/");
63 }
64 
65 } // namespace Syndication
QString slashNamespace()
"slash" namespace http://purl.org/rss/1.0/modules/slash/
Definition: constants.cpp:60
QString commentApiNamespace()
wellformedweb.org&#39;s RSS namespace for comment functionality "http://wellformedweb.org/CommentAPI/"
Definition: constants.cpp:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed May 27 2020 23:06:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.