WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: Smart link (24 posts)

  1. Denis de Bernardy
    Member
    Posted 9 years ago #

    http://www.semiologic.com/projects/smart-link/

    The smart link plugin for WordPress lets you insert links in your posts using natural language rather than urls. The resulting increase in usability is positively spectacular. Such, in fact, that you might never want to insert an html anchor again.

    This plugin is likely to addict all but the most nerdy software grunt.

  2. vkaryl
    Member
    Posted 9 years ago #

    Looks pretty neat, Denis - I'll give it a shot.... though I'm pretty much that "nerdy software grunt"....

  3. Denis de Bernardy
    Member
    Posted 9 years ago #

    Héhé :)

    Would you by any chance be a genuine hacker in javascript? Because if you are, the plugin could definitly use the following javascript:

    http://wordpress.org/support/topic/33944

  4. vkaryl
    Member
    Posted 9 years ago #

    Nope. I actually am only a tweaker - if someone else has written code, I can occasionally make it do something I want it to do differently - and that does include tweaking js, but I certainly can't write it up from scratch! One of these days, I'm going to have to learn to program....

    Programming etc. is about the only stuff I don't do - hard programming that is, I write html, css, and MUSH softcode....

  5. billsaysthis
    Member
    Posted 9 years ago #

    Denis, tell me if I'm understanding your intentions for this plugin correctly please. The major use of Smart link is to simplify links to other URLs on one's own site and to search engines and not especially for normal external links; for example, if I were to write an entry about Smart Link on my blog, the plugin doesn't add much value.

    Second, besides rel=nofollow, does it handle anchor tag attributes such as title?

  6. Denis de Bernardy
    Member
    Posted 9 years ago #

    The link title issue is quite complex and requires to understand the purpose of the plugin, which is to allow you to insert mutating links to data in your posts.

    For instance, if you write a post about [C# programming->] today and have no data on it on your web site, then the link will fadder and be invisible. But as soon as you add a C# programming link to your bookmarks, all the references to C# programming will suddenly link to that. And when you eventually write posts on the topic, the links will all mutate and point to the latest relevant post.

    Moreover, a future version of the plugin will feature link autodiscovery: This means it will identify the post's key topics, and contextually insert links in the text based on feedback from user interactions.

    Thus, it is very much impossible to determine what the data will be pointing to. So letting users hard code a link title is nonsense. Remains automatically inserting a title, which I've in mind in a future version. Namely, this would be the resource's excerpt, link description, category description... at best with whatever is present.

    Regarding external links, the plugin doesn't add much value at the moment, but I've plans to enable distributed autolinking as soon as I find some time. Distributed smart linking could be achieved via XML-RPC, or via the API modules of search engines. In essence, the distributed link would let you write about a [book at amazon -> Gödel, Escher, Bach @ amazon], and get a link to precisely that.

  7. vkaryl
    Member
    Posted 9 years ago #

    Er. Gosh, Denis - do you by chance work for google? Sounds a tad bit like some of the Autolink stuff....

  8. Denis de Bernardy
    Member
    Posted 9 years ago #

    not really... the google autolink is meant to insert ads in a text. google maintains who buys the keywords and where they get inserted.

    the idea behind the smart link autodiscovery, which will work with my smart cluster and my smart track projects, is to create an AI module that maintains the blog in the background. more details shortly on the blog's post -- I'm starting a FAQ.

  9. vkaryl
    Member
    Posted 9 years ago #

    *laughing* S'okay, Denis - I was kidding.... there WAS a "smartlink" thing a few years back, from MS though I think - I don't remember what it did....

  10. Denis de Bernardy
    Member
    Posted 9 years ago #

    np -- I figure the question would have come up anyway, so I guess it's not irrelevant to post a more or less detailed answer in the smart link faq. what more, it lets me expose a couple more projects i've in mind. :)

  11. Denis de Bernardy
    Member
    Posted 9 years ago #

    I've uploaded a beta-2. I fixed a tiny bug, and added a couple more search engines. :)

  12. tdw
    Member
    Posted 9 years ago #

    Perhaps a the link title is metadata held by the target of the link... Should be easy enough to achieve with wp's postmeta table. You then get the best of both worlds: an auto link based on natural language and additional link scent in the title attribute provided by metadata from the target.

  13. Denis de Bernardy
    Member
    Posted 9 years ago #

    @tdw: Actually, I was thinking of retrieving the target page's html/head/title and html/head/meta[@rel=description]. This requires some kind of caching, in postmeta or -- more likely -- in a more centralized location (to avoid scanning the same page 10x if the same link is in different posts).

  14. Denis de Bernardy
    Member
    Posted 9 years ago #

    A bug fix is available for download.

  15. gpaulson
    Member
    Posted 9 years ago #

    Noticed that the links are 'invisible' in the admin section when previewing the post in the 'Write' section

  16. Denis de Bernardy
    Member
    Posted 9 years ago #

    Yup, I'm aware. It's on my todo list. :)

  17. mschorn
    Member
    Posted 9 years ago #

    @Denis-de-Bernardy:

    Great plug but I'm having trouble getting it to play nice with posts using structred blogging plugin. When I hit publish, it just hangs and if I view my site all that shows up is the permalink to my post (it happens to be most recent post on my site) and nothing below that. I did test it using posts without SB and it works fine.

  18. Denis de Bernardy
    Member
    Posted 9 years ago #

    @Michael:

    I'll take a look.

  19. Denis de Bernardy
    Member
    Posted 9 years ago #

    smart link is now v.1.2. It intereacts even better with sidebar tile

  20. cinemaminima
    Member
    Posted 9 years ago #

    THANKS for Smart link plugin -- it automates one of the more tedious, but necessary parts of writing online.

    Version 1.0b4 clobbered my categories in WordPress 1.5 -- wouldn't show up at all, or at random -- and category RSS feeds too.

    It is with a heavy heart that I must report that v1.02 also kills my categories, and category feeds too.

    Must I choose between categories or Smart links?

    :(

    A U S T I N ,

    http://www.cinemaminima.com/
    Cinema Minima: Personal Digital Cinema. News for movie makers

    ###

  21. Denis de Bernardy
    Member
    Posted 9 years ago #

    could you be more specific, so I can trace the origine of your bug?

  22. Denis de Bernardy
    Member
    Posted 9 years ago #

    1.4 is a security update

  23. cinemaminima
    Member
    Posted 9 years ago #

    Here are two pictures of a category page, one, with SmartLink plugin inactive:
    http://www.cinemaminima.com/images/illustration/category_pageOK.jpg

    With SmartLink plugin activated:
    http://www.cinemaminima.com/images/illustration/category_pageBAD.jpg

    Also the category RSS feed URI are rendered non-functional when SmartLink is activated. De-activated SmartLinks, category RSS feeds work fine.

    Strangely, the catgories may be said to "flicker" when SmartLinks is activated: sometimes a given category page may render, other times, it may not. I have tried various states, i. e., right after a category had been posted to, but that wasn't consistent either. In any event, de-activating SmartLink made the problem go away 100% of the time.

    Also, I have tested the plugin by disabling ALL plugins, and then adding them back one-by-one, to isolate the problem. The instant SmartLink was activated, categories became unstable and mostly disappeared.

    I hope this helps -- I would really like to use this plugin!

  24. Denis de Bernardy
    Member
    Posted 8 years ago #

    I've seen a similar problem on a German language web site. The problem, it appeared, came from a charset issue: [ä] was matched instead of [blah->blah], for a reason I've yet to determine. And the page broke as a consequence, for some reason I've yet to determine as well...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags