Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
86f2764a
Commit
86f2764a
authored
Apr 21, 2006
by
Gerhard Killesreiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#59753
, Use <content:encoded> NOT <content> for RSS item description, patch by Budda
parent
8207690a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/aggregator.module
modules/aggregator.module
+2
-2
modules/aggregator/aggregator.module
modules/aggregator/aggregator.module
+2
-2
No files found.
modules/aggregator.module
View file @
86f2764a
...
...
@@ -861,8 +861,8 @@ function aggregator_parse_feed(&$data, $feed) {
/**
* Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag
*/
if
(
$item
[
'CONTENT'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'CONTENT'
];
if
(
$item
[
'CONTENT
:ENCODED
'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'CONTENT
:ENCODED
'
];
}
else
if
(
$item
[
'SUMMARY'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'SUMMARY'
];
...
...
modules/aggregator/aggregator.module
View file @
86f2764a
...
...
@@ -861,8 +861,8 @@ function aggregator_parse_feed(&$data, $feed) {
/**
* Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag
*/
if
(
$item
[
'CONTENT'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'CONTENT'
];
if
(
$item
[
'CONTENT
:ENCODED
'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'CONTENT
:ENCODED
'
];
}
else
if
(
$item
[
'SUMMARY'
])
{
$item
[
'DESCRIPTION'
]
=
$item
[
'SUMMARY'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment