Welcome to Geeklog, Anonymous Tuesday, October 15 2024 @ 09:11 pm EDT
Geeklog Forums
URL Length limit in Portal Block
Hey guys, I'm an iTunes affiliate (allupons.com) and would like to set up a portal block for top albums etc, but my links for this are extremely long (see example). Can I adjust the limitation on URL length somewhere?
example link:
example link:
Text Formatted Code
http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wpa/MRSS/featuredalbums/sf=143441/genre=55ffb7b/limit=10/rss.xml?partnerId=30&LS_PARAM=http%3A%2F%2Fclick.linksynergy.com%2Ffs-bin%2Fstat%3Fid%3DyYeM%2F1CrjMc%26offerid%3D78941%26type%3D3%26subid%3D0%26tmpid%3D1826%26RD_PARM1%3D
14
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yep, the max. URL length supported is 255 characters.
You could change that for the gl_blocks table in phpMyAdmin and update the following line in admin/block.php accordingly:
bye, Dirk
You could change that for the gl_blocks table in phpMyAdmin and update the following line in admin/block.php accordingly:
Text Formatted Code
$block_templates->set_var('max_url_length', 255);bye, Dirk
11
8
Quote
Status: offline
r_f_o_t
Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
I don't know if it would mess up your clicks, but there is also tinyurl.com
HTH,
Chuck
Too many hands on my time.
HTH,
Chuck
Too many hands on my time.
11
7
Quote
I tried, but it seems that there's a limit in SQL that won't allow more than 255. I tried BLOB, but it doesn't look like GL supports that as is.
Is there a limit other than these settings that we can't bypass?
ALTER TABLE `gl_blocks` CHANGE `rdfurl` `rdfurl` VARCHAR( 300 ) DEFAULT NULL
MySQL said: Documentation
#1074 - Too big column length for column 'rdfurl' (max = 255). Use BLOB instead
Is there a limit other than these settings that we can't bypass?
Text Formatted Code
SQL-query:ALTER TABLE `gl_blocks` CHANGE `rdfurl` `rdfurl` VARCHAR( 300 ) DEFAULT NULL
MySQL said: Documentation
#1074 - Too big column length for column 'rdfurl' (max = 255). Use BLOB instead
12
11
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
What do you mean that geeklog doesn't support BLOB?
12
15
Quote
Status: offline
vinny
Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
All times are EDT. The time is now 09:11 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content