I'd like to change the subroutine "sub site_html_link" in "site_html_templates" to produce
standard html links like this:
<ul><li><font face="arial size="2">
<a class="link" href="http://www.everythingroyal.com"> Everything Royal</a></font>
<font face="arial size="2">- Catalog of English and Russian Royal Family commemoratives and memorabilia. - </font><font face="arial size="2">(Added: 31-Jul-2004)</font></ul>
Rather than this:
<ul><li><font face="arial size="2">
<a class="link" href="http://www.booksmusicvideo.com/cgi-bin/links/jump.cgi?ID=10"> Everything Royal</a></font>
<font face="arial size="2">- Catalog of English and Russian Royal Family commemoratives and memorabilia. - </font><font face="arial size="2">(Added: 31-Jul-2004)</font></ul>
Can this be done fairly easily?
Thanks for any help you can provide..
Here is the subroutine:
sub site_html_link {
# --------------------------------------------------------
# This routine is used to display what a link should look
# like.
my %rec = @_;
# Set new and pop to either 1 or 0 for templates.
($rec{'isNew'} eq 'Yes') ? ($rec{'isNew'} = 1) : (delete $rec{'isNew'});
($rec{'isPopular'} eq 'Yes') ? ($rec{'isPopular'} = 1) : (delete $rec{'isPopular'});
return &load_template ('link.html', {
detailed_url => "$db_detailed_url/$rec{'ID'}$build_extension",
%rec,
%globals
});
}
-----------------------------------------------------------
Professional Search Engine Marketing by Position Concepts Professional Consulting in SEM, SEO and PPC.
standard html links like this:
<ul><li><font face="arial size="2">
<a class="link" href="http://www.everythingroyal.com"> Everything Royal</a></font>
<font face="arial size="2">- Catalog of English and Russian Royal Family commemoratives and memorabilia. - </font><font face="arial size="2">(Added: 31-Jul-2004)</font></ul>
Rather than this:
<ul><li><font face="arial size="2">
<a class="link" href="http://www.booksmusicvideo.com/cgi-bin/links/jump.cgi?ID=10"> Everything Royal</a></font>
<font face="arial size="2">- Catalog of English and Russian Royal Family commemoratives and memorabilia. - </font><font face="arial size="2">(Added: 31-Jul-2004)</font></ul>
Can this be done fairly easily?
Thanks for any help you can provide..
Here is the subroutine:
sub site_html_link {
# --------------------------------------------------------
# This routine is used to display what a link should look
# like.
my %rec = @_;
# Set new and pop to either 1 or 0 for templates.
($rec{'isNew'} eq 'Yes') ? ($rec{'isNew'} = 1) : (delete $rec{'isNew'});
($rec{'isPopular'} eq 'Yes') ? ($rec{'isPopular'} = 1) : (delete $rec{'isPopular'});
return &load_template ('link.html', {
detailed_url => "$db_detailed_url/$rec{'ID'}$build_extension",
%rec,
%globals
});
}
-----------------------------------------------------------
Professional Search Engine Marketing by Position Concepts Professional Consulting in SEM, SEO and PPC.