File indexing completed on 2024-04-14 03:58:29

0001 /*
0002     This file is part of the syndication library
0003     SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "constants.h"
0009 
0010 #include <QString>
0011 
0012 namespace Syndication
0013 {
0014 QString xmlNamespace()
0015 {
0016     return QStringLiteral("http://www.w3.org/XML/1998/namespace");
0017 }
0018 
0019 QString xhtmlNamespace()
0020 {
0021     return QStringLiteral("http://www.w3.org/1999/xhtml");
0022 }
0023 
0024 QString contentNameSpace()
0025 {
0026     return QStringLiteral("http://purl.org/rss/1.0/modules/content/");
0027 }
0028 
0029 QString dublinCoreNamespace()
0030 {
0031     return QStringLiteral("http://purl.org/dc/elements/1.1/");
0032 }
0033 
0034 QString itunesNamespace()
0035 {
0036     return QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtd");
0037 }
0038 
0039 QString commentApiNamespace()
0040 {
0041     return QStringLiteral("http://wellformedweb.org/CommentAPI/");
0042 }
0043 
0044 QString slashNamespace()
0045 {
0046     return QStringLiteral("http://purl.org/rss/1.0/modules/slash/");
0047 }
0048 
0049 } // namespace Syndication