Hi Jeff,

We're using htdig 3.1.6 here at Children's Hospital in Minneapolis, MN. I think our 
pages do what you are looking for. You can check them out at this link:

http://www.childrenshc.org/search/?words=children

As you can see, the second link down is wrapping. Just view-source in your browser to 
see the code. There is a <script> tag responsible for formatting the URL. That 
<script> would probably go in your wrapper.html. Then, use something like this in the 
long/short templates:

<a href="$&(URL)"><script language="JavaScript">spaceURL("$&(URL)");</script></a>

I'm sure there are lots of solutions to this, but it's been working great for us. Hope 
that helps!!

Thanx
bugslayer


>>> Jeff Fulmer <[EMAIL PROTECTED]> 03/03/04 08:35AM >>>
Hello,

Is there an easy way for me to shorten the length of the text inside the
<A></A> tags in the output from htsearch.

For example, this query:
http://www.joedog.org/gizmo/results.php?words=Send+mail+to+&restrict=http%3A%2F%2Fwww.joedog.org%2Fgizmo%2F&x=9&y=4
 

Pushes the right nav off the page because one of the resulting links is
so long. 

TIA,
Jeff

-- 
#include <stdio.h>
int main(){int a[]={74,117,115,116,32,97,110,111,116,104,101,114,32, \
67,32,104,97,99,107,101,114,10,0}; int *b=a;while(*b>0)putchar(*b++);}


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click 
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html 
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
__________________________________

Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or proprietary 
information and may be used only by the person or entity to which it is addressed. If 
the reader of this email/fax is not the intended recipient or his or her agent, the 
reader is hereby notified that any dissemination, distribution or copying of this 
email/fax is prohibited. If you have received this email/fax in error, please notify 
the sender by replying to this message and deleting this email or destroying this 
facsimile immediately.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to