Welcome to Geeklog, Anonymous Sunday, May 26 2024 @ 03:05 pm EDT

Geeklog Forums

RSS/RDF targeting


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

All times are EDT. The time is now 03:05 pm.

  • 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