- Fixed bug #7094: Incorrect displayed umlauts in ISO-8859-1 RSS-feeds.

- Fixed feed status not being reset when items are removed.
4.5.x
Kjartan Mannes 2004-04-29 21:09:00 +00:00
parent 2ca7eb7152
commit 857f1b1cce
2 changed files with 4 additions and 4 deletions

View File

@ -178,7 +178,7 @@ function aggregator_remove($feed) {
db_query('DELETE FROM {aggregator_category_item} WHERE '. implode(' OR ', $items));
}
db_query('DELETE FROM {aggregator_item} WHERE fid = %d', $feed['fid']);
db_query('UPDATE {aggregator_feed} SET checked = 0 WHERE fid = %d', $feed['fid']);
db_query('UPDATE {aggregator_feed} SET checked = 0, etag = '', modified = 0 WHERE fid = %d', $feed['fid']);
drupal_set_message(t('removed news items from \'%site\'.', array('%site' => $feed['title'])));
}
@ -332,7 +332,7 @@ function aggregator_parse_feed(&$data, $feed) {
xml_parser_free($xml_parser);
// initialize the translation table:
$tt = array_flip(get_html_translation_table(HTML_ENTITIES));
$tt = array_flip(get_html_translation_table(HTML_SPECIALCHARS));
$tt["'"] = "'";
/*

View File

@ -178,7 +178,7 @@ function aggregator_remove($feed) {
db_query('DELETE FROM {aggregator_category_item} WHERE '. implode(' OR ', $items));
}
db_query('DELETE FROM {aggregator_item} WHERE fid = %d', $feed['fid']);
db_query('UPDATE {aggregator_feed} SET checked = 0 WHERE fid = %d', $feed['fid']);
db_query('UPDATE {aggregator_feed} SET checked = 0, etag = '', modified = 0 WHERE fid = %d', $feed['fid']);
drupal_set_message(t('removed news items from \'%site\'.', array('%site' => $feed['title'])));
}
@ -332,7 +332,7 @@ function aggregator_parse_feed(&$data, $feed) {
xml_parser_free($xml_parser);
// initialize the translation table:
$tt = array_flip(get_html_translation_table(HTML_ENTITIES));
$tt = array_flip(get_html_translation_table(HTML_SPECIALCHARS));
$tt["'"] = "'";
/*