- 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
parent
2ca7eb7152
commit
857f1b1cce
|
@ -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["'"] = "'";
|
||||
|
||||
/*
|
||||
|
|
|
@ -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["'"] = "'";
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue