summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-30 09:19:58 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-30 09:19:58 +0000
commit647dcdb7fccb70035c6d7cb447b7820e674042b0 (patch)
tree52707fb8ec6e65801679742a6eb34bb9697cb904 /modules/aggregator.module
parent3ef5bad00af32ea860e24b284995073d5bb13311 (diff)
downloadbrdo-647dcdb7fccb70035c6d7cb447b7820e674042b0.tar.gz
brdo-647dcdb7fccb70035c6d7cb447b7820e674042b0.tar.bz2
cloud.module
- fixed the maxlengths as reported by Lars Gregori. import.module - modified the titles as suggsted by Julian Bond.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index b18b5f68b..e77a4aef9 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -202,7 +202,7 @@ function import_refresh($feed) {
** Strip invalid tags and provide default values (if required):
*/
- $title = strip_tags(strtr($title[1] ? $title[1] : $feed[title], $tt));
+ $title = strip_tags(strtr($title[1] ? $title[1] : $feed[title], $tt));$title = strip_tags(strtr($title[1] ? $title[1] : substr(strip_tags(strtr($description[1], $tt)), 0, 30), $tt));
$link = $link[1] ? $link[1] : $feed[link];
$description = strtr($description[1], $tt);