Gossamer Forum
Home : Products : Links 2.0 : Customization :

lwp url checker + 3 Shestopalov

Quote Reply
lwp url checker + 3 Shestopalov
okay, lwp url checker adds meta keywords automatically and 3 shestopalov does something with Key not keywords

I did add input forms into the necessary places but names are only key ....

can I just change the 3 shestopalov Key to keywords and live happily after this or / and what else am I missing.

did check the archieves but there wasn't really a question like this answered, did read several posts related to the topic though.

gracias amigos

Quote Reply
Re: lwp url checker + 3 Shestopalov In reply to
i think you should maybe try it out as you've said, and change the field to keywords. seems logical right?

Quote Reply
Re: lwp url checker + 3 Shestopalov In reply to
Hello Bmxer this is what I finally ended up doing:
in add.cgi


NOTE: change in the word Keywords to Key

# $in{'Keywords'} = $res->header('X-Meta-Keywords');
# $in{'Keywords'} = substr($in{'Keywords'},0,145);
# if (length($in{'Keywords'}) > 144) {
# $in{'Keywords'} =~ s/\s+\S*$/.../;
# }
# if (!$in{'Keywords'}) {
# $in{'Keywords'} = $in{'Ceywords'};

$in{'Key'} = $res->header('X-Meta-Keywords');
$in{'Key'} = substr($in{'Key'},0,145);
if (length($in{'Key'}) > 144) {
$in{'Key'} =~ s/\s+\S*$/.../;
}
if (!$in{'Key'}) {
$in{'Key'} = $in{'Ceywords'};
}

then in add_error.html

<input name="Ceywords" value="<%Key%>" size=50>
<input type="Hidden" name="Key" value="<%Key%>">

I'm sure this isn't perfect but so far I'm happy, I can change the error without any unknown tag in the input field in the error page. Still need to work out some kinks, before/or in the confirm page I'd like to have input fields instead of:

<%Key%>
<input type="Hidden" name="Key" value="<%Key%>">

but that's gonna have to do with the confirm mod. OH well, I hope this'll help some other folk.

thanks for your help