I know I have seen this before but can't seem to locate it. I have a text file that is returned from a database search. Before the file is displayed, go through the text and match against a link file, where if a word appears, it is automatically linked to another file, similar to the nodes on this site.
I've searched this site using "auto link" and "linking words auto" without luck.
By the way, the answers to a previous question about generating graphics with GD resulted in a successful project. Thanks for the hints. You can see the results at http://www.belizeexplorer.com. The maps are generated on the fly. I would link to the SOPW entry for this, but I haven't figured out how to do that yet on here.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.