in the file "browser_link_list.html" there is this line with the URL variable:
"<a href="<%URL%>" target="_blank"><%URL%></a>"
I want to strip the "http://www." or the first 11 characters from the "URL" variable and create a new variable called "domain" and show this as plain text like this:
<font size="3"><%domain%></font>
Is there a way to do this in that html template page? the only thing I found online is an example of a vbscript function something like this:
<%
domain = URL
domain = Replace(URL, "http://www.", "")
Response.Write domain
%>
or this:
<%
domain = URL
domain = Mid(domain,11)
Response.write domain
%>
What's the code that would work with Links 2.0 and where would I place it for it to work? Thanks.
"<a href="<%URL%>" target="_blank"><%URL%></a>"
I want to strip the "http://www." or the first 11 characters from the "URL" variable and create a new variable called "domain" and show this as plain text like this:
<font size="3"><%domain%></font>
Is there a way to do this in that html template page? the only thing I found online is an example of a vbscript function something like this:
<%
domain = URL
domain = Replace(URL, "http://www.", "")
Response.Write domain
%>
or this:
<%
domain = URL
domain = Mid(domain,11)
Response.write domain
%>
What's the code that would work with Links 2.0 and where would I place it for it to work? Thanks.