Forums

{NEW PLUGIN} Auto_Link (11 posts)

  1. blackc2004
    Member
    Posted 6 years ago #

    This plugin takes a set of delimiters which are user specified and will do a google lookup and replace them with links.

    IE: whenever I talk about a movie I've been linking to the imdb.com site. Well up till now I've been doing a manual lookup on all those things.

    Well now.. All I have to do is [movie]She's The Man[/movie].. And it will replace it with: She's the man.

    And since these are user definable, you can add more then that to it if you want, IE. I've added "wiki" to mine, so I can do: [wiki]Newport Beach[/wiki] and it will do: Newport Beach

    Fun, no?

    You can download Auto_Link here.

    You'll have to go sign up for a google api key here: http://www.google.com/apis/
    Enter that into the Options page.

  2. petit
    Member
    Posted 6 years ago #

    Ahh, the web 2.0 guys ;)
    Nice idea!

  3. davidchait
    Member
    Posted 6 years ago #

    interesting. similar to what CG-Inline can do to make links to various content sites, except I just make direct links using standard URL formats. kinda cool to use the google api to do a search and redirect based on that, if you are doing content sites that aren't already able to be handed a search string and 'do the right thing'.

    -d

  4. kaonashi
    Member
    Posted 6 years ago #

    Can I customize this plugin so if I refer to an older post, it will provide the link to that post?

  5. blackc2004
    Member
    Posted 6 years ago #

    davidchait: I'm not sure about the CG-Inline thing. But myplugin actually takes your [movie], etc and converts them to "real" links before being inserted into the database. That way the page loads faster on delivery.

    kaonashi: You can customize this to add whatever you like. If you want to add something like [blog]Some Post Title[/blog]. You can add it so that it will do a google search of your site for "Some Post Title" and it will grab the link to that. Again, this is basically using an "I'm feeling Lucky" search to get the first link for the site. So if some post has a higher google rating that one will be returned.

    Another idea is to add somthing like. [lyrics]Bigmouth Strikes Again - The Smiths[/lyrics] and have it search a lyrics site. All these can be added by going to the Options Page > AutoLink.

    Thanks.

  6. kaonashi
    Member
    Posted 6 years ago #

    Cool! I have a movie review blog and occasionally refer to other movies that I've done a review for (ex:if you liked movie X, then you'll like movie Y) so this plugin is just what I need. Thanks for making it!

  7. buyshoes
    Member
    Posted 6 years ago #

    good idea!

    i am still waiting for an amazon api plugin. for example i would blog about "ipod nano" and the plugin would automatically search and insert the amazon link with my associate code into all "ipod nano" or any other products and link directly to amazon.

    can this plugin be modified to accomodate amazon api?

  8. blackc2004
    Member
    Posted 6 years ago #

    buyshoes: I'm sure it probably could, I've seen a few other plugins that use the AmazonAPI, though I haven't really looked into the API, so I'm not sure how difficult it would be.

  9. blackc2004
    Member
    Posted 6 years ago #

    buyshoes... I was just thinking for now, you could actually just use this plugin and create an [amazon] delimiter.

    Using the google API it would do a 'ipod nano site:amazon.com' search and would return the product you're looking for.

  10. wittmania
    Member
    Posted 5 years ago #

    Which kind of API do you need from Google? I followed your link and there were about 20 different APIs to choose from!

  11. blackc2004
    Member
    Posted 5 years ago #

    You need: Google Search Appliance APIs

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags