}
function testFilterDo() {
- require_once "include/rssfuncs.php";
-
$offset = (int) db_escape_string($_REQUEST["offset"]);
$limit = (int) db_escape_string($_REQUEST["limit"]);
while ($line = db_fetch_assoc($result)) {
- $rc = get_article_filters(array($filter), $line['title'], $line['content'], $line['link'],
+ $rc = RSSUtils::get_article_filters(array($filter), $line['title'], $line['content'], $line['link'],
$line['author'], explode(",", $line['tag_cache']));
if (count($rc) > 0) {
while ($line = $this->dbh->fetch_assoc($result)) {
$where = sql_bool_to_bool($line["cat_filter"]) ?
- getCategoryTitle($line["cat_id"]) :
+ Feeds::getCategoryTitle($line["cat_id"]) :
($line["feed_id"] ?
- getFeedTitle($line["feed_id"]) : __("All feeds"));
+ Feeds::getFeedTitle($line["feed_id"]) : __("All feeds"));
# $where = $line["cat_id"] . "/" . $line["feed_id"];
if (strpos($feed_id, "CAT:") === 0) {
$feed_id = (int) substr($feed_id, 4);
- $feed = getCategoryTitle($feed_id);
+ $feed = Feeds::getCategoryTitle($feed_id);
} else {
$feed_id = (int) $feed_id;
if ($rule["feed_id"])
- $feed = getFeedTitle((int)$rule["feed_id"]);
+ $feed = Feeds::getFeedTitle((int)$rule["feed_id"]);
else
$feed = __("All feeds");
}
$this->dbh->query("COMMIT");
}
-}
-?>
+}
\ No newline at end of file