File indexing completed on 2024-04-21 04:01:04

0001 /*
0002     This file is part of the syndication library
0003     SPDX-FileCopyrightText: 2005 Frank Osterfeld <osterfeld@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef SYNDICATION_RSS2_TOOLS_P_H
0009 #define SYNDICATION_RSS2_TOOLS_P_H
0010 
0011 class QString;
0012 template<class T>
0013 class QList;
0014 
0015 namespace Syndication
0016 {
0017 class ElementWrapper;
0018 
0019 namespace RSS2
0020 {
0021 /**
0022  * @internal
0023  * extracts encoded content from XHTML, content:encoded and friends
0024  *
0025  * @param parent the parent node, e.g. a channel or item element
0026  * @return the content as HTML (see Item::content() for details)
0027  */
0028 QString extractContent(const ElementWrapper &parent);
0029 
0030 } // RSS2
0031 } // Syndication
0032 
0033 #endif // SYNDICATION_RSS2_TOOLS_P_H