Hi Ron,
I have got a problem about the keywords length in my website. The keywords of my publications are longer than 1000 characters.
How can i slove it?
Thanks,
Lan
Hi Ron,
I have got a problem about the keywords length in my website. The keywords of my publications are longer than 1000 characters.
How can i slove it?
Thanks,
Lan
Comments
Comment #1
lan commentedTo clarify what i am meaning...when you try and input more than 1000 characters into the keywords field on the biblio content type, you get a error message telling you " keywords are longer than 1000 characters ". How can i adjust the length of the keyword input field as my libaray staff require more than 1000 characters to enter their keywords. here is the link to how we use a biblio module on our site www.irl.cri.nz/publications .
Thanks for your help in advance.
Lan
Comment #2
rjerome commentedDo you have single keywords longer than 1000 characters, or are you referring to a string of delimited (, ; ) keywords?
Currently a single keyword cannot exceed 255 characters, but you could have as many 255 character keywords as you like.
Perhaps the correct keyword separator was not used in a long string?
Ron.
Comment #3
lan commentedThanks for your reply. I am using comma for the keyword separater.
There is one of the example of the keywords as below but it appears "Keywords cannot be longer than 1000 characters but is currently 1535 characters long." How can i fix it? Thanks :
1, 1 o (2, 2 (o benzoyl 3 o (2, 2 di o methoxyacetyl beta dextro mannopyranoside, 2 di o stearoyl sn glycero 3 phosphoryl) 1, 2 o (1, 2 o (4 methoxybenzyl)glycerol 14, 2 o benzoyl 1, 2 o distearoyl sn glycero 3 phoshoryl) 1, 3, 3 bis (2, 3 bis (2 o methoxycetyl alpha dextro mannopyranosyl)glycerol 26, 3 bis (3, 3 bis o (2, 3 bis o (alpha dextro mannopyranosyl)glycerol 4, 4, 5 tetra o benzyl alpha dextro mannopyranosyl) 2 o (4 methoxybenzyl)glycerol 20, 5 tetra o benzyl alpha dextro mannopyranosyl)glycerol 10, 5 tri o benzyl 1, 5 tri o benzyl a dextro mannopyranosyl) 2 o (4 methoxybenzyl)glycerol 19, 6 tetra o benzyl a dextro mannopyranosyl) glycerol 6, 6 tetra O benzyl a dextro mannopyranosyl)glycerol 10, 6 tetra o benzyl alpha dextro mannopyranosyl)glycerol 13, 6 tetra o benzyl alpha dextro mannopyranosyl)glycerol 7, 6 tetra o benzyl dextro mannopyranosyl)glycerol 9, Administration, allergic asthma, animal, animal cell, animal experiment, animal model, Animals, Anti-Allergic Agents, antiallergic agent, article, Asthma, carbohydrate derivative, cell activity, chemistry, controlled study, drug structure, drug synthesis, glycerol, Immunology, immunosuppressive treatment, inflammatory cell, inositol, Intranasal, intranasal drug administration, Loeffler pneumonia, male, mannoside, Mice, mouse, nonhuman, Ovalbumin, phosphatidylinositol, phosphatidylinositol dimannoside, phosphatidylinositol dimannoside 2 derivative, Phosphatidylinositols, Pulmonary Eosinophilia, synthesis, triethylammonium 2 o (1, unclassified drug
Comment #4
rjerome commentedYikes, given that I'm not a chemist, I'm not sure if this...
would be considered a single key word? If so, you have a problem, because that is 879 characters.
It would appear that these...
are a bunch of single keywords.
If this whole string is being interpreted as single keyword, it may be because it was wrapped in quotation marks.
If you want to preserve the commas in chemical formulas, you would have to wrap them in quotation marks individually, or change your keyword separator to something else like a semicolon.
Comment #5
Tricia commentedHi Ron,
the coma is getting recognised as a separator between the keywords, the problem Lan and I are having is that we can not enter keywords once we have reached 1000 characters in total. If we import the data via a tagged file then the keywords get populated however if you go the the actual individual node to add another key word we get the error message saying that we can only enter up to 1000 characters and any changes to the page can not be saved until we have cleared out the keywords until 1000 or below characters are used. So is there a way to increase the input field for keywords on the content type to allow more than 1000 characters? This problem only occurs on nodes that have a lot of keywords that all add up to being over 1000 characters, most of our publication nodes are fine as they have not gone over the character limit set.
Kind Regards
Tricia and Lan
Comment #6
rjerome commentedHmm, I'm not sure where that 1000 character message is coming from. I suspect that 1000 characters may be some HTML or browser based limit on a text input field. The only way around that may be to use a text area as opposed to a text field.
Comment #7
sdrycroft commentedMax length of 1000 for the keywords field appears to be defined in the biblio/misc/biblio.field.link.data.csv file.