Plugin Directory

Changeset 1211141


Ignore:
Timestamp:
08/01/2015 10:50:56 PM (11 years ago)
Author:
prefrent
Message:

replaces language

Location:
aimojo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aimojo/trunk/affinitomics.php

    r1211126 r1211141  
    44Plugin URI: http://prefrent.com
    55Description: Apply Affinitomic Descriptors, Draws, and Distance to Posts and Pages.  Shortcode to display Affinitomic relationships. Google CSE with Affinitomics.
    6 Version: 1.0.2
     6Version: 1.1
    77Author: Prefrent
    88Author URI: http://prefrent.com
     
    5555 * Attached to activate_{ plugin_basename( __FILES__ ) } by register_activation_hook()
    5656 */
    57 function plugin_activation() 
     57function plugin_activation()
    5858{
    5959    $message = '';
    60     if ( version_compare( $GLOBALS['wp_version'], AI_MOJO__MINIMUM_WP_VERSION, '<' ) ) 
     60    if ( version_compare( $GLOBALS['wp_version'], AI_MOJO__MINIMUM_WP_VERSION, '<' ) )
    6161    {
    6262      load_plugin_textdomain( 'aimojo' );
    63      
     63
    6464      $message = sprintf(esc_html__( 'aimojo %s requires WordPress %s or higher.' , 'aimojo'), AI_MOJO__VERSION, AI_MOJO__MINIMUM_WP_VERSION ).sprintf(__('Please upgrade WordPress to a current version.', 'aimojo'), 'https://codex.wordpress.org/Upgrading_WordPress', 'http://wordpress.org/extend/plugins/aimojo/download/');
    6565
    6666   }
    67    else 
     67   else
    6868   {
    69       af_check_for_errors();       
     69      af_check_for_errors();
    7070
    7171      $af_errors = get_option('af_errors', '');
     
    8888}
    8989
    90 function plugin_deactivation( ) 
     90function plugin_deactivation( )
    9191{
    92   //TODO: 
     92  //TODO:
    9393}
    9494
     
    202202  if (!isset($af_cloud_url) || $af_cloud_url == "")
    203203  {
    204     $af_cloud_url = 'www.affinitomics.com'; 
     204    $af_cloud_url = 'www.affinitomics.com';
    205205    update_option( 'af_cloud_url' , $af_cloud_url );
    206206  }
  • aimojo/trunk/readme.txt

    r1211126 r1211141  
    33Donate link: http://prefrent.com/
    44Tags: match, sort, rank, related, related posts, relational, relate, tags, posts, post-types, types, ai, a.i., artificial intelligence, filter, filtering, micro format, context, contextual, contextually, search, data, freeform, construct, descriptors, draws, distance, support-vector, parse, discover, classifier, affinitomics, ai mojo, cognitive, decision support, big data, cookies
    5  
    65Requires at least: 3.6
    7 Tested up to: 4.1.1
    8 Stable tag: 1.0.0
     6Tested up to: 4.2.3
     7Stable tag: 1.1
    98License: GPLv2
    109License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1110
    12 Aimojo™ - Match, Rank, Relate anything! 
     11Aimojo™ - Match, Rank, Relate anything!
    1312**Replaces Affinitomics for Wordpress**
    1413
     
    39381. Install the plugin
    40391. In the admin panel, find the “Affinitomics” menu (usually below Posts) and select “settings”
    41 1. Make sure that there is an API key present in the field. If the field is empty, or no key is recognized, register the plugin and claim your key via http://affinitomics.com/register 
     401. Make sure that there is an API key present in the field. If the field is empty, or no key is recognized, register the plugin and claim your key via http://affinitomics.com/register
    42411. From the resulting page, copy the API key and paste it in the API field in your settings.
    43421. Next, under “To which Post-types would you like to apply your Affinitomics™?” check the boxes for the post-types you want to use with Affinitomics.
     
    54531. For your Google Custom Search Engine (CSE) ID follow the instructions here [https://developers.google.com/custom-search/](https://developers.google.com/custom-search/)
    5554
    56 = NOTE: Existing pages and posts (rather, the Affinitomics placed on them) must be exported to the Affinitomics cloud before any of them will work. = 
     55= NOTE: Existing pages and posts (rather, the Affinitomics placed on them) must be exported to the Affinitomics cloud before any of them will work. =
    57561. Under the Affinitomics menu choose “Cloud Export.”
    58572. Check “Make it so” and wait for a bit. It won’t take too long, but we haven’t bothered to give you a spinner yet, sorry. You’ll see an output list when it’s done.
     
    6160= Configure individual Posts, Pages, or Archetypes™ =
    6261
    63 1. For existing pages or posts, either copy or move tags to the “Descriptors” field in the page or post editor. 
     621. For existing pages or posts, either copy or move tags to the “Descriptors” field in the page or post editor.
    64631. If you want like objects to attract like objects in your system, copy the tags to both “Descriptors” and “Draw”.
    65641. It is a best practice (not a requirement) to include a Descriptor of Person, Place, Thing, Concept or Construct in the Descriptors, especially if the Affinitomics are to be exported later, and shared.
     
    68671. If none of the Affinitomic™ Element fields are filled in, the page, post, or Archetype will not be effected by Affinitomics™ - JumpSearch will have no effect, and only shortcodes with overriding Affinitomics™ will function.
    6968
     69= Connect your similar pages with Affinitomics™! =
     70
     711. On a page that you would like to add a list of similar posts or pages, simply add the shortcode [afview]
     721. an [afview] can be modified with the following options:
     73
     74limit:           how many results to return
     75
     76category_filter: only display results from one category (a post can be in multiple categories, this restricts similar results to a single category)
     77
     78display_title:   just like it sounds, you can hide the title by setting this to "false"
     79
     80Examples: [afview], [afview limit="4"], [afview category_filter="50"]
     81
     82To use more than one option at a time, just separate options with a space.
     83
     84[afview limit=1 display_title="false"]
    7085=Use the following class' to style [afview] display=
    7186* afview
     
    85100
    86101Users are granted space for 1000 Affinitomic™ constructs and 5,000 transactions per month.
    87 Larger accounts are available at [Prefrent.com](http://prefrent.com). 
     102Larger accounts are available at [Prefrent.com](http://prefrent.com).
    88103
    89104= How many “Archetypes” will I need? =
     
    134149It’s easy to derive Affinitomics from these tags. “dog, big, k9, furry” are all easily recognizable as Descriptors. The Draws are easy to recognize as well, and we can take a shortcut in writing them that will differentiate them from Descriptors. They become: +eating, +kids, +snow. We also take a shortcut on what are easy to spot as Distances, and they become: -cars, -cats. By separating the tags into three types of Affinitomics, not only have they become more useful for the computer system, they are actually easier to write and take up less space.
    135150
    136 Traditional Tags look like this: 
     151Traditional Tags look like this:
    137152= dog, big, k9, furry, eats a lot, good with kids, likes snow, chases cars, chases cats =
    138153
    139 Whereas the features in an Affinitomic Archetype look like this: 
     154Whereas the features in an Affinitomic Archetype look like this:
    140155= dog, big, k9, furry, +eating, +kids, +snow, -cars, -cats =
    141156
    142 So now you know how to write Affinitomics, you can see that it takes much less time than writing tags, and by categorizing tags into Descriptors, Draws and Distances, you’ve made the computer much happier. 
     157So now you know how to write Affinitomics, you can see that it takes much less time than writing tags, and by categorizing tags into Descriptors, Draws and Distances, you’ve made the computer much happier.
    143158
    144159= It’s like sorting laundry – it takes the same amount of time and results come out in the wash. With these Affinitomics instead of tags, algorithms can much more quickly determine matches, affinities, and sort values. =
     
    146161= Extra Credit =
    147162
    148 Affinitomics are even more valuable with attenuation – telling the system how much to value Draws and Distances. For example: How much does the dog like to eat?  Or which does it hate more; cars or cats? The attenuated Affinitomics for the St. Bernard answer those questions like this: 
     163Affinitomics are even more valuable with attenuation – telling the system how much to value Draws and Distances. For example: How much does the dog like to eat?  Or which does it hate more; cars or cats? The attenuated Affinitomics for the St. Bernard answer those questions like this:
    149164= dog, big, k9, furry, +eating2, +kids, +snow4, -cars2, -cats5 =
    150165
    151 You’ll notice that it’s still less data than the tags, even though the Affinitomics now represent a three dimensional feature space which is far more valuable for knowledge retrieval, discovery, and machine learning. Because of this, Affinitomics can be evaluated, sorted, and grouped much faster and more accurately than tags. In addition, since the Affinitomics essentially make the information self-ranking and self-sorting, systems that use Affinitomics don’t require categories. 
     166You’ll notice that it’s still less data than the tags, even though the Affinitomics now represent a three dimensional feature space which is far more valuable for knowledge retrieval, discovery, and machine learning. Because of this, Affinitomics can be evaluated, sorted, and grouped much faster and more accurately than tags. In addition, since the Affinitomics essentially make the information self-ranking and self-sorting, systems that use Affinitomics don’t require categories.
    152167
    153168There you have it. You now know how to create Affinitomic Archetypes – a fancy way of saying that you understand how and why you should sort your laundry, errr, tags.
Note: See TracChangeset for help on using the changeset viewer.