Posted on: 02/13/03 04:28pm
By: Anonymous (ryanschwartz)
This a very basic hack, but one that I find invaluable in my daily surfing of RSS/RDF feeds.
To make links from your feeds open in a new window, change the following line in /path/to/geeklog/public_html/lib-common.php (line 3131 in 1.3.7sr1) from
$RDFheadlines[] .= '<a href="' . addslashes( trim( $RDFlink )) . '">' . addslashes( trim( $RDFtitle )) . '</a>';
to
$RDFheadlines[] .= '<a href="' . addslashes( trim( $RDFlink )) . '" target = "_blank" >' . addslashes( trim( $RDFtitle )) . '</a>';
Then force a rebuild of the block by clearing the Last RDF Update field (or just wait) to make the parser re-render the html for your block(s).
Enjoy!
-Ryan