Hi,
I am basically building a travel guide and many of the places we want to list in it do not have web sites. This means that I have to be able to add to the links directory without having a URL.
To do this, I have edited links.def and changed the following
to
I now need to change the code in site_html.pl to make sure it does not call jump.cgi with an invalid id it reports
Error: Can't find link id: 4
Here I changed the message to show
Error: This site does not have a website on the Internet. The information provided in the description is all we have configured for them.
I am basically building a travel guide and many of the places we want to list in it do not have web sites. This means that I have to be able to add to the links directory without having a URL.
To do this, I have edited links.def and changed the following
Code:
URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],to
Code:
URL => [2, 'alpha', 40, 75, 0, 'http://', '^http|news|mailto|ftp'],I now need to change the code in site_html.pl to make sure it does not call jump.cgi with an invalid id it reports
Error: Can't find link id: 4
Here I changed the message to show
Error: This site does not have a website on the Internet. The information provided in the description is all we have configured for them.