1 | /* |
2 | This file is part of the syndication library |
3 | SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org> |
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 | |
39 | QString () |
40 | { |
41 | return QStringLiteral("http://wellformedweb.org/CommentAPI/" ); |
42 | } |
43 | |
44 | QString slashNamespace() |
45 | { |
46 | return QStringLiteral("http://purl.org/rss/1.0/modules/slash/" ); |
47 | } |
48 | |
49 | } // namespace Syndication |
50 | |