1
Hi, just wanted to provide this input that theme makers or anyone concerned with the ugly default RSS look) can use later.
First, it's rather easy to style a XML file with CSS, and you can do that to your backend.php by adding a line to a template and creating the .css file.
You'll have to add
xml-stylesheet type="text/css" href="<{$xoops_url}>/backend.css"?>
as the second line of your
/modules/system/templates/system_rss.html template and update the
System module. Then create a
backend.css file in your XOOPS root and put the rules you need there.
Example here.
The CSS for the example is
rss {}
channel {display: block; font-family: Verdana, Arial, Helvetica, sans-serif; border-style: solid; border-width: thin; border-color:#0000ff}
channel title {display: block; text-align: center; color: #0000ff; font-size:30pt;font-weight: bold;}
channel link {display: block; font-size: 8pt; text-align: center;}
channel description {display: block;text-align: center;font-weight: bold;}
lastBuildDate {display:block; color: #0000ff;text-align: center;}
docs {display: none;}
generator {display: none;}
category {display: block; font-size: 16pt; font-weight: bold;text-align: center;}
managingEditor {display: none;}
webMaster {display: none;}
language {display: none;}
image {display: none;}
item {display: block; margin: 20px; padding: 4px;border-width: thin; border-style: dotted;}
item title {display: block; color: #ff0000; font-weight: bold; font-size: 16pt; text-decoration: underline; }
item link {font-size: 10pt;}
item description {display: block; margin: 10px; padding: 4px;font-size: 12pt; font-weight: normal; text-align: justify;}
pubDate {color: #0000ff; font-size: 10pt;}
guid {font-size: 10pt;color: #0000ff; margin: 20px; padding: 4px; text-align: center;}
I'm trying XSL now