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
07ca7899
Commit
07ca7899
authored
Jun 02, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed double slash in URL.
parent
5059b821
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
modules/aggregator.module
modules/aggregator.module
+1
-3
modules/aggregator/aggregator.module
modules/aggregator/aggregator.module
+1
-3
No files found.
modules/aggregator.module
View file @
07ca7899
...
...
@@ -1162,8 +1162,6 @@ function aggregator_page_sources() {
* Menu callback; generate an RSS 0.92 feed of aggregator items or categories.
*/
function
aggregator_page_rss
()
{
global
$base_url
;
// arg(2) is the passed cid, only select for that category
$result
=
NULL
;
if
(
arg
(
2
))
{
...
...
@@ -1197,7 +1195,7 @@ function aggregator_page_rss() {
$output
.
=
"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?>
\n
"
;
$output
.
=
"<rss version=
\"
2.0
\"
>
\n
"
;
$output
.
=
format_rss_channel
(
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' '
.
t
(
'aggregator'
),
$base_url
.
'/'
.
url
(
'aggregator'
.
$url
),
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' - '
.
t
(
'aggregated feeds'
)
.
$title
,
$items
,
'en'
);
$output
.
=
format_rss_channel
(
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' '
.
t
(
'aggregator'
),
url
(
'aggregator'
.
$url
,
NULL
,
NULL
,
TRUE
),
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' - '
.
t
(
'aggregated feeds'
)
.
$title
,
$items
,
'en'
);
$output
.
=
"</rss>
\n
"
;
drupal_set_header
(
'Content-Type: text/xml; charset=utf-8'
);
...
...
modules/aggregator/aggregator.module
View file @
07ca7899
...
...
@@ -1162,8 +1162,6 @@ function aggregator_page_sources() {
* Menu callback; generate an RSS 0.92 feed of aggregator items or categories.
*/
function
aggregator_page_rss
()
{
global
$base_url
;
// arg(2) is the passed cid, only select for that category
$result
=
NULL
;
if
(
arg
(
2
))
{
...
...
@@ -1197,7 +1195,7 @@ function aggregator_page_rss() {
$output
.
=
"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?>
\n
"
;
$output
.
=
"<rss version=
\"
2.0
\"
>
\n
"
;
$output
.
=
format_rss_channel
(
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' '
.
t
(
'aggregator'
),
$base_url
.
'/'
.
url
(
'aggregator'
.
$url
),
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' - '
.
t
(
'aggregated feeds'
)
.
$title
,
$items
,
'en'
);
$output
.
=
format_rss_channel
(
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' '
.
t
(
'aggregator'
),
url
(
'aggregator'
.
$url
,
NULL
,
NULL
,
TRUE
),
variable_get
(
'site_name'
,
t
(
'Drupal'
))
.
' - '
.
t
(
'aggregated feeds'
)
.
$title
,
$items
,
'en'
);
$output
.
=
"</rss>
\n
"
;
drupal_set_header
(
'Content-Type: text/xml; charset=utf-8'
);
...
...
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