How is the best method to match/compare 2 URL? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How is the best method to match/compare 2 URL?

I need capture URL data from input text across the form, and after, I need to compare this with the one in the database. Then I need to do an average/ratio from the different 'value/rank' of the same URL. Sorry for my bad english. Thank you and greetings.

20th Mar 2018, 9:57 PM
Andrés García Quina
Andrés García Quina - avatar
2 Answers
+ 1
The URL rank is only a value from 1 to 10 (in other ratio input in the form) for value the content from the site. I only compare 2 URL for validate that is the same URL in the database, and after could do the ranking.
21st Mar 2018, 7:54 AM
Andrés García Quina
Andrés García Quina - avatar
0
How are you ranking? by length of continuous match or by number of characters matched or something else?
20th Mar 2018, 11:04 PM
Mike Choy
Mike Choy - avatar