25 #ifndef LIBRSS_FEEDDETECTOR_H 26 #define LIBRSS_FEEDDETECTOR_H 29 #include <tqvaluelist.h> 37 class FeedDetectorEntry 40 FeedDetectorEntry() {} 41 FeedDetectorEntry( const TQString& url, const TQString& title) 42 : m_url(url), m_title(title) {} 44 const TQString& url() const { return m_url; } 45 const TQString& title() const { return m_title; } 49 const TQString m_title; 52 typedef TQValueList<FeedDetectorEntry> FeedDetectorEntryList; 64 static FeedDetectorEntryList extractFromLinkTags( const TQString& s); 71 static TQStringList extractBruteForce( const TQString& s); 73 static TQString fixRelativeURL( const TQString &s, const KURL &baseurl); 80 #endif //LIBRSS_FEEDDETECTOR_H
|