Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 02:41 am EST
Geeklog Forums
RSS/RDF targeting
ryanschwartz
Anonymous
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
15
13
Quote
All times are EST. The time is now 02:41 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content