257.41. syndication-6.31.0
KDE Frameworks: RSS and Atom feed parser
6.31.0-1 · LGPL-2.0-or-later AND BSD-2-Clause AND CC0-1.0 · 5.8 SBU · 1.2 MiB, 80 files · 43_toolkits, 108 of 344 · ports/core/kf6/syndication
Homepage: https://invent.kde.org/frameworks/syndication
Syndication is the KDE Frameworks feed parser. It reads RSS 0.9 to 2.0, RDF (RSS 1.0) and Atom documents into one abstract model of a feed and its items, enclosures, people and categories. Syndication::Loader takes a feed’s bytes from a Syndication::DataRetriever that the program supplies, and parses them as whichever format they turn out to be. akregator, alligator, kasts and the RSS plugin of ktorrent build on it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcodecs.
Required by (5): akregator, alligator, kasts, knewstuff, ktorrent.
Sources: syndication-6.31.0.tar.xz (556.1 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install syndication'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— The tarball carries nopo/directory and its CMake files do not read the switch, so the configure reports it as unused and it changes nothing in this build. Every KDE recipe in the tree passes it, so a later release that ships translations builds none of them without a recipe change; the image is English only (see Size and language policy).
Libraries: libKF6Syndication.so.
Directories: /usr/include/KF6/Syndication, /usr/lib/cmake/KF6Syndication, /usr/share/licenses/syndication.
The parser is built on Qt’s XML module from qt6-qtbase, and kcodecs resolves the HTML character entities feeds put in their text. The library carries no network code: every fetch is the program’s own retriever, so nothing here reaches the network or polls a feed by itself.