Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 04:36 am EST
Geeklog Forums
Feature request: related Links rewrite
sohmc
Anonymous
Sometimes I will enter my links <a href="http://www.google.com">like this</a>. When the script goes through and finds the related links, it shows up as "like this" instead of something more useful.
I'd like to be able to add a title attribute and have the script use that instead of what's contained inside the anchor brackets.
<a href="http://www.google.com" title="Go to the google home page">like this.</a>
I took a look at the function STORY_extract links. I think this could be added to the regular expression. I realize that this won't fix stories that have already been submitted. But I guess it's a good start.
~mike
I'd like to be able to add a title attribute and have the script use that instead of what's contained inside the anchor brackets.
<a href="http://www.google.com" title="Go to the google home page">like this.</a>
I took a look at the function STORY_extract links. I think this could be added to the regular expression. I realize that this won't fix stories that have already been submitted. But I guess it's a good start.
~mike
7
6
Quote
All times are EST. The time is now 04:36 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