akregator/src
Akregator::Utils Class Reference
List of all members.Detailed Description
Definition at line 33 of file utils.h.
Static Public Member Functions | |
static QString | stripTags (const QString &str) |
static uint | calcHash (const QString &str) |
static QString | fileNameForUrl (const QString &url) |
Member Function Documentation
|
taken from some website. .. -fo djb2 This algorithm was first reported by Dan Bernstein many years ago in comp.lang.c |
|
returns a file name for a URL, with chars like "/" ":" replaced by "_". Too long URLs (>255 chars) are shortened and appended with a hash value. |
|
removes HTML/XML tags (everything between < and >, that is) from a string. "<p><strong>foo</strong> bar</p>" becomes "foo bar" |
The documentation for this class was generated from the following files: