Gossamer Forum
Home : Products : Links 2.0 : Customization :

How About This One!

Quote Reply
How About This One!
Could anyone tell me how to do this:
In my links output I have all the
normal stuff ie)title, description, etc.
What I need is to add a link that views the source of the title link. I am trying to use the tag "a href="view-source:http:..." I have already tried <a class="link" view-source: href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a> But it did not work. Can anyone help me out?
Quote Reply
Re: How About This One! In reply to
Bobsie can you tackle this one?
Quote Reply
Re: How About This One! In reply to
I used:

Quote:
<a href="view-source:<%db_cgi_url%>/jump.cgi?ID=<%ID%>">View Resource Source Code</a>

with no problem.

Quote:
I have already tried <a class="link" view-source:
href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a> But it did not work.

You have your href= in the wrong place. It belongs just in front of the "view-source:".

I hope this helps.


[This message has been edited by Bobsie (edited March 11, 1999).]
Quote Reply
Re: How About This One! In reply to
Bobsie and Timmyt,

I do not get it. Why is the purpose of viewing the source code of the whole html page. If someone wanted to view the destination link of where the title is going to take you to wouldn't you:

1. Insert "url => $url" in %globals in site_html_templates.pl

2. Add <%url%> in link.html

To get the result of say example link:
www.webmerch.com/dir/Internet_and_Technology/Internet/

Am I totally missing the point of this post?

Confused,
elms

PS. By the way Bobsie, I want to thank you for all your help in the past. If it were not for your quick replies I would not have gotten my Links up and running yet.

[This message has been edited by elms (edited March 12, 1999).]
Quote Reply
Re: How About This One! In reply to
Elms,

Quote:
I do not get it. Why is the purpose of viewing the source code of the whole html page. If someone wanted to view the destination link of where the title is going to take you to wouldn't you:

I don't know why he wants to do it. I just answered his question. When I said I used ... etc., I didn't mean I do it on my site. I just ran a test on it.

Quote:
PS. By the way Bobsie, I want to thank you for all your help in the past. If it were not for your quick replies I would not have gotten my Links up and running yet.

I am glad I was of some help to you. But don't underestimate yourself. If you didn't have the ability to get it running, nothing I would have said would have helped.