#ifndef OPDSPARSER_H #define OPDSPARSER_H #include #include #include // Parser minimalista dei feed Atom/OPDS. // Ogni diventa un QVariantMap con: // title, authors, summary, coverUrl, formats (lista di {format, mime, size, url}), // id, isNavigation, linkUrl class OpdsParser { public: static bool parse(const QByteArray &xml, QVariantList *entries, QString *nextUrl, QString *feedTitle, QString *errorMessage); }; #endif // OPDSPARSER_H