# Automatic link generator based on keyword

**URL:** <https://www.ruby-forum.com/t/automatic-link-generator-based-on-keyword/184270>\
**Category:** Rails\
**Created:** [February 27, 2010, 7:18pm UTC](https://www.ruby-forum.com/t/automatic-link-generator-based-on-keyword/184270 "2010-02-27T19:18:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![perezda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@perezda](https://www.ruby-forum.com/u/perezda)\
**Post date:** [February 27, 2010, 7:18pm UTC](https://www.ruby-forum.com/t/automatic-link-generator-based-on-keyword/184270/1 "2010-02-27T19:18:51Z")

</div>

Hello,

I have an site similar to a wiki, where there is a lot of content  
displayed per page. I was wondering if there was a plugin that would  
automatically add link\_to tags on keywords that I specified and link  
them to the pages that I specify. For example the plugin I would  
identify the keywords and links first;

keyword = “Printer zxy”  
link = /product/printer-zxy

and then it would automatically fill in all the proper links if that  
keyword is displayed in a specified area, like the product  
description. I have searched but have not found anything. If anyone  
has come across a rails plugin that automatically generates links  
based on keywords I would greatly appreciate if you shared it. If not  
I might just have to write something up. Thanks in advance.
