black
white
1
black
white
black
white
Helvetica, Arial, sansserif
12
bold
black
white
black
white
Times, serif
10
italic
yes
.box { color: ${rss2html.box.foreground};
background-color: ${rss2html.box.background};
}
A.rsstitle:link { color: ${rss2html.title.foreground};
background-color: ${rss2html.title.background};
font-family: ${rss2html.title.font.family};
font-size: ${rss2html.title.font.size};
font-weight: ${rss2html.title.font.style};
}
A.rssitem:link { color: ${rss2html.item.foreground};
background-color: ${rss2html.item.background};
font-family: ${rss2html.item.font.family};
font-size: ${rss2html.item.font.size};
font-weight: ${rss2html.item.font.style};
}
A.rsstitle:hover { color: ${rss2html.title.foreground.mouseover}; }
A.rssitem:hover { color: ${rss2html.item.foreground.mouseover}; }
${rss2html.box.foreground}
${rss2html.box.background}
${rss2html.box.border}
${rss2html.title.foreground}
${rss2html.title.background}
${rss2html.title.foreground.mouseover}
${rss2html.title.background.mouseover}
${rss2html.title.font.family}
${rss2html.title.font.size}
${rss2html.title.font.style}
${rss2html.item.foreground}
${rss2html.item.background}
${rss2html.item.foreground.mouseover}
${rss2html.item.background.mouseover}
${rss2html.item.font.family}
${rss2html.item.font.size}
${rss2html.item.font.style}
|
|
Translated from RSS 0.9 by the RSS stylesheets release 0.01
-
Translated from RSS 0.91 by the RSS stylesheets release 0.01
-
<{perl
$self->define_empty_preformat_tag ("rssbox", \&handle_rssbox_tag, qw(rss));
sub handle_rssbox_tag {
my ($tagname, $attrs, $text, $self) = @_;
my $rssname = $attrs->{rss};
my $rdf = $self->get_content ($rssname);
# Convert older RSS to RSS 1.0. A total kludge. I'd appreciate if someone
# who knows how to do this in XSL, instead, could provide tips!! (TODO)
#
if ($rdf =~ m,http://my.netscape.com/publish/formats/rss-0.91.dtd,)
{
$rdf = $self->expand (qq{ });
$rssname .= "_converted";
$self->set_content ($rssname, $rdf);
}
elsif ($rdf =~ m,http://my.netscape.com/rdf/simple/0.9/,)
{
$rdf = $self->expand (qq{ });
$rssname .= "_converted";
$self->set_content ($rssname, $rdf);
}
return qq{ };
}
'';
}>