Jump to content
ryan

ProcessWire ProFields: AutoLinks

Recommended Posts

Introducing the AutoLinks Text Formatter, part of the ProcessWire ProFields package of modules. 

What it Does

 
This Textformatter module automatically links your specified phrases/words to your specified URLs. This is an excellent SEO and accessibility tool for creating automatic contextual links with little effort. If there are pages that you commonly link to in your site from your textarea/rich text fields, then this Textformatter can save you a lot of effort, automatically linking to those URLs. Furthermore, contextual links of this sort are also considered especially valuable from an SEO context.
 
Because this module is a Textformatter module, the work it does happens at runtime. That means that this module can easily be applied to existing sites, no matter how large.
 
Usage Example
 
We'll use processwire.com as an example. Throughout processwire.com, we routinely use the terms "API", "selector", "template", "template file", "$page", "$pages" and more. In the past, I've spent a lot of time in TinyMCE manually linking these terms to the appropriate pages, as it is a helpful cross-reference for users. For example, when the term "API" appears, I want to automatically link to the API Cheatsheet page at http://cheatsheet.processwire.com.
 
With the AutoLinks Textformatter module, I can now automatically link to all my important terms from all existing and future body copy. If one of those links happens to change in the future, no problem, as I only have to update it in one place (if at all). The benefits here are a real win win for the users of processwire.com, myself (in time savings) and our performance with search engines that analyze these contextual links. We hope that you find AutoLinks to be a huge benefit to your site(s) and time saver for you and/or your site editors.
 
AutoLinks is available for purchase as part of the ProFields package in the ProcessWire Store
 
  • Like 8

Share this post


Link to post
Share on other sites

SEO-wow! :D

In a page of copy, will this cleverly link the first instance only or the first N instances or does it link, for example, every time API is in the copy (if I were manually HRO'ing (human reading optimization) and SEO'ing a page of copy I would not link every instance)?

Excited by these products Ryan, thanks so much!

Share this post


Link to post
Share on other sites

Good question Alan. Here's a screenshot of the module config screen that I think answers your question. See the two settings at the bottom where you can define the max times to link and the distance required between links. AutoLinks is of course also smart enough not to attempt linking things that have already been linked. 

post-2-0-36679000-1400508970_thumb.png

  • Like 4

Share this post


Link to post
Share on other sites

Thanks for clarifying Ryan (and for the clearly well thought out module, a definite purchase this set of modules ^_^).

  • Like 1

Share this post


Link to post
Share on other sites

Ryan,

that sounds great!

It would be even better, if you could limit the maximum links to one page and limit the maximum links created on a page.

Share this post


Link to post
Share on other sites
AutoLinks has been updated with the following additions: 

  • Multi-language support: You can now specify different sets of terms per language. 

  • Max linked terms option: You can now specify the maximum terms that will be linked in a block of copy.

  • Markup for links: It will now let you control the markup for auto-generated links and you can specify different markup for internal and external links. 

  • Allowed tags whitelist: You can now specify a whitelist of tags where auto-generated links are allowed. For example, if you didn't want it generating links in headlines, you might tell it to only generate links in paragraphs <p> and list items <li>.

  • Like 6

Share this post


Link to post
Share on other sites

Any way to enable the Auto Links Textformatter for a Textarea Rich Text (CKEditor) field on a ProFields Table? Works a charm everywhere else, but can't seem to crack the settings to get it to link content within a ProFields Table. Thanks!

  • Like 1

Share this post


Link to post
Share on other sites

@ryan I'm looking at using autolinks on a project for a book publisher. They will have hundreds of titles and wondered whether it's possible for the following:

  • Import lists of terms to be autolinked or use a textfile? Specifically on this site it would be book titles and it's not practically to manually add these to the module
  • Make the terms case senstive?

Thanks!

Share this post


Link to post
Share on other sites

Moving the question...

Edited by creativejay
Realized this was in the news & announcements, instead of support (think I got here from the modules page)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...