Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Length of URL/ Title

Quote Reply
Length of URL/ Title
I've come across a couple of URL which are more than 75 characters (yeah, I know it's unlikely but nevertheless true).

Where can I change this? The same goes with the titles.

Cheers,

------------------
C.
Quote Reply
Re: Length of URL/ Title In reply to
I believe that you have to make the change in links.def.

In the line
Code:
URL => [2, 'alpha', 40, 75, 0, 'http://', '^http|news|mailto|ftp'],
change the 75 to whatever you need it to.

Georg
Quote Reply
Re: Length of URL/ Title In reply to
OK, I've had time to look into this. But if I change a field length in a fixed length database - wont there be problems with existing entries?

C.
Quote Reply
Re: Length of URL/ Title In reply to
You are under a misconception. Links does not use a fixed length database. It uses a flat-file database and the fields and records are of variable lengths.