Changeset 1881352
- Timestamp:
- 05/25/2018 11:00:47 AM (8 years ago)
- Location:
- wordpress-23-related-posts-plugin/trunk
- Files:
-
- 8 edited
-
config.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
static/js/dashboard.js (modified) (6 diffs)
-
static/js/edit_related_posts.js (modified) (2 diffs)
-
zemanta/views/assets.php (modified) (1 diff)
-
zemanta/views/options.php (modified) (2 diffs)
-
zemanta/views/scripts.php (modified) (1 diff)
-
zemanta/zemanta.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-23-related-posts-plugin/trunk/config.php
r1664968 r1881352 1 1 <?php 2 define('WP_RP_STATIC_BASE_URL', 'https://wprp. zemanta.com/static/');3 define("WP_RP_ZEMANTA_API_URL", "http://api .zemanta.com/services/rest/0.0/");4 define("WP_RP_ZEMANTA_SUBSCRIPTION_URL", "http://prefs .zemanta.com/api/");2 define('WP_RP_STATIC_BASE_URL', 'https://wprp.sovrn.com/static/'); 3 define("WP_RP_ZEMANTA_API_URL", "http://api-ea.sovrn.com/services/rest/0.0/"); 4 define("WP_RP_ZEMANTA_SUBSCRIPTION_URL", "http://prefs-ea.sovrn.com/api/"); 5 5 define('WP_RP_STATIC_THEMES_PATH', 'static/themes/'); 6 6 define('WP_RP_STATIC_JSON_PATH', 'json/'); 7 define('WP_RP_CONTENT_BASE_URL', 'https://wprp. zemanta.com/static/');8 define("WP_RP_ZEMANTA_UPLOAD_URL", "http://prefs .zemanta.com/api/upload-articles/");9 define("WP_RP_ZEMANTA_ARTICLE_COUNT_URL", "http://prefs .zemanta.com/api/article-count/");7 define('WP_RP_CONTENT_BASE_URL', 'https://wprp.sovrn.com/static/'); 8 define("WP_RP_ZEMANTA_UPLOAD_URL", "http://prefs-ea.sovrn.com/api/upload-articles/"); 9 define("WP_RP_ZEMANTA_ARTICLE_COUNT_URL", "http://prefs-ea.sovrn.com/api/article-count/"); 10 10 11 11 … … 32 32 define("WP_RP_MAX_LABEL_LENGTH", 32); 33 33 34 define("WP_RP_CTR_DASHBOARD_URL", "https://d .zemanta.com/");34 define("WP_RP_CTR_DASHBOARD_URL", "https://d-ea.sovrn.com/"); 35 35 define("WP_RP_STATIC_LOADER_FILE", "js/loader.js"); 36 36 -
wordpress-23-related-posts-plugin/trunk/readme.txt
r1664962 r1881352 1 === WordPress Related Posts ===1 === WordPress Related Posts === 2 2 Contributors: sovrn, zemanta 3 3 Tags: related,posts,post,related posts,plugin,seo,sovrn … … 5 5 Requires at least: 3.6 6 6 Tested up to: 4.7 7 Stable tag: 3.6. 47 Stable tag: 3.6.5 8 8 9 9 WordPress Related Posts - the plugin for related posts with thumbnails. Caching included. … … 94 94 == Changelog == 95 95 96 = 3.6.5 = 97 * Migrated API URL to sovrn.com domain. 98 96 99 = 3.6.4 = 97 100 * Added error and app performance monitoring to help us fix bugs and improve performance. -
wordpress-23-related-posts-plugin/trunk/static/js/dashboard.js
r1663482 r1881352 19 19 extras = extras || {}; 20 20 payload = $.extend(extras, payload); 21 img.src = protocol + "eyepatch .zemanta.com/log/?" + object_to_query(payload);21 img.src = protocol + "eyepatch-ea.sovrn.com/log/?" + object_to_query(payload); 22 22 }, 23 23 ajaxCallSubscribe = function (email, subscriptions, successCallback) { … … 50 50 disableCustomCSS(); 51 51 $('#wp_rp_desktop_custom_theme_enabled').click(disableCustomCSS); 52 52 53 53 if ($('#wp_rp_subscribe_email').length) { 54 54 if (! $('#wp_rp_subscribe_email').val().length) { … … 59 59 } 60 60 } 61 61 62 62 $('#wp_rp_subscribe_button').on('click', function (evt) { 63 63 var email = $('#wp_rp_subscribe_email').val(); … … 75 75 }); 76 76 }); 77 77 78 78 $('#wp_rp_unsubscribe_button').on('click', function (evt) { 79 79 evt.preventDefault(); … … 88 88 }); 89 89 }); 90 90 91 91 // collapsible blocks implementation 92 92 $('#wp_rp_wrap .collapsible .collapse-handle').on('click', function (event) { … … 115 115 } 116 116 117 117 118 118 event.preventDefault(); 119 119 }); -
wordpress-23-related-posts-plugin/trunk/static/js/edit_related_posts.js
r1663482 r1881352 14 14 15 15 plugin_static_url: window._wp_rp_plugin_static_base_url, 16 zemanta_thumbnail_url: 'http://i .zemanta.com/{aid}_150_150.jpg',16 zemanta_thumbnail_url: 'http://i-ea.sovrn.com/{aid}_150_150.jpg', 17 17 num_default_thumbnails: 30, 18 18 … … 94 94 '<ul></ul>' + 95 95 '</div>' + 96 '<div class="footer"><a href="http://www. zemanta.com/?ref=edit-rp" target="_blank">zemanta.com</a></div>' +96 '<div class="footer"><a href="http://www.sovrn.com/?ref=edit-rp" target="_blank">sovrn.com</a></div>' + 97 97 '</div>'); 98 98 elms.wrapper.append(elms.replace_articles_wrap); -
wordpress-23-related-posts-plugin/trunk/zemanta/views/assets.php
r925585 r1881352 28 28 </script> 29 29 30 <script type="text/javascript" id="zemanta-loader" src="https://static .zemanta.com/plugins/wordpress-wprp/loader.js"></script>30 <script type="text/javascript" id="zemanta-loader" src="https://static-ea.sovrn.com/plugins/wordpress-wprp/loader.js"></script> -
wordpress-23-related-posts-plugin/trunk/zemanta/views/options.php
r865434 r1881352 12 12 </div> 13 13 <p> 14 <a href="http://prefs .zemanta.com/" target="_blank" class="signin-button prefs-signin">Sign In</a>14 <a href="http://prefs-ea.sovrn.com/" target="_blank" class="signin-button prefs-signin">Sign In</a> 15 15 </p> 16 <p class="below-signin-button"><a href="http://prefs .zemanta.com/" target="_blank" class="prefs-signin">to check stats, change settings and more</a></p>16 <p class="below-signin-button"><a href="http://prefs-ea.sovrn.com/" target="_blank" class="prefs-signin">to check stats, change settings and more</a></p> 17 17 </div> 18 18 <div class="col-right"> … … 31 31 </p> 32 32 <?php endif; ?> 33 33 34 34 </form> 35 35 36 36 </div> -
wordpress-23-related-posts-plugin/trunk/zemanta/views/scripts.php
r865434 r1881352 13 13 format: 'json' 14 14 }; 15 $.post('http://api .zemanta.com/services/rest/0.0/', params, function (data) {15 $.post('http://api-ea.sovrn.com/services/rest/0.0/', params, function (data) { 16 16 if (data && data.config_url) { 17 17 $('a.prefs-signin').attr('href', data.config_url); -
wordpress-23-related-posts-plugin/trunk/zemanta/zemanta.php
r1663482 r1881352 13 13 14 14 var $version = '1.2.3'; 15 var $api_url = 'http://api .zemanta.com/services/rest/0.0/';15 var $api_url = 'http://api-ea.sovrn.com/services/rest/0.0/'; 16 16 var $api_key = ''; 17 17 var $options = array(); … … 381 381 $desc = $descs[$i]; 382 382 383 // skip images from img .zemanta.com and FMP384 if(strpos($url, 'http://img .zemanta.com/') !== false || preg_match('#https?://.+\.fmpub\.net/#i', $url))383 // skip images from img-ea.sovrn.com and FMP 384 if(strpos($url, 'http://img-ea.sovrn.com/') !== false || preg_match('#https?://.+\.fmpub\.net/#i', $url)) 385 385 continue; 386 386
Note: See TracChangeset
for help on using the changeset viewer.