summaryrefslogtreecommitdiff
path: root/lib/Multi/Feed.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-12-31 10:16:49 +0100
committerYorhel <git@yorhel.nl>2011-12-31 10:16:49 +0100
commitfa496b11536a9ed7306078f6ff3aa021a91ddf80 (patch)
treeda4cccc8adeb2cdd6c797079916e8beff74dd716 /lib/Multi/Feed.pm
parentc673a8e06abae7e12724b2815c03431190ffe3f8 (diff)
parent71b90ee04391dddc83e0b81122abab6468777833 (diff)
Merge branch 'beta'2.22
Conflicts: data/lang.txt
Diffstat (limited to 'lib/Multi/Feed.pm')
-rw-r--r--lib/Multi/Feed.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Multi/Feed.pm b/lib/Multi/Feed.pm
index 1a955e05..ea9cbcac 100644
--- a/lib/Multi/Feed.pm
+++ b/lib/Multi/Feed.pm
@@ -112,7 +112,7 @@ sub write_atom { # num, res, feed, time
$x->tag(updated => datetime($updated));
$x->tag(id => $VNDB::S{url}.$VNDB::S{atom_feeds}{$feed}[2]);
$x->tag(link => rel => 'self', type => 'application/atom+xml', href => "$VNDB::S{url}/feeds/$feed.atom", undef);
- $x->tag(link => rel => 'alternate', type => 'text/html', href => $VNDB::S{atom_feeds}{$feed}[2], undef);
+ $x->tag(link => rel => 'alternate', type => 'text/html', href => $VNDB::S{url}.$VNDB::S{atom_feeds}{$feed}[2], undef);
for(@$r) {
$x->tag('entry');
@@ -123,10 +123,10 @@ sub write_atom { # num, res, feed, time
if($_->{username}) {
$x->tag('author');
$x->tag(name => $_->{username});
- $x->tag(uri => '/u'.$_->{uid}) if $_->{uid};
+ $x->tag(uri => $VNDB::S{url}.'/u'.$_->{uid}) if $_->{uid};
$x->end;
}
- $x->tag(link => rel => 'alternate', type => 'text/html', href => $_->{id}, undef);
+ $x->tag(link => rel => 'alternate', type => 'text/html', href => $VNDB::S{url}.$_->{id}, undef);
$x->tag('summary', type => 'html', bb2html $_->{summary}) if $_->{summary};
$x->end('entry');
}