Plugin Directory

Changeset 1165036


Ignore:
Timestamp:
05/21/2015 02:20:50 PM (11 years ago)
Author:
expresscurate
Message:

new version v2.0.15 with changes:

  • Compatibility with Fusion Core Plugin and Avada Theme.
  • Miscellaneous bug fixes and improvements.
Location:
expresscurate/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • expresscurate/trunk/ExpressCurate.php

    r1162493 r1165036  
    55  Plugin URI: http://www.expresscurate.com/products
    66  Description: ExpressCurate plugin is a content curation tool for WordPress. It enables you to create and publish high quality content within minutes.
    7   Version: 2.0.14
     7  Version: 2.0.15
    88  Author: ExpressCurate
    99  Author URI: http://www.expresscurate.com
  • expresscurate/trunk/ExpressCurate_Actions.php

    r1162493 r1165036  
    690690            //$the_post = get_post($post_id);
    691691            $post_content = $post->post_content;
    692             if (strpos($post_content, 'keywordsHighlight') !== false) {
    693                 $tags_obj = new Expresscurate_Tags();
    694                 $post_content = $tags_obj->removeHighlights($post_content);
    695             }
     692            $tags_obj = new Expresscurate_Tags();
     693            $post_content = $tags_obj->removeTagLinks($post_content);
    696694        }
    697695
     
    11071105        if (is_single() || is_page()) {
    11081106            $post_id = $post->ID;
    1109             $title = get_post_meta($post_id, '_expresscurate_advanced_seo_title', true);
    1110             $title = !empty($title) ? $title . ' | ' : '';
     1107            $seo_title = get_post_meta($post_id, '_expresscurate_advanced_seo_title', true);
     1108            $title = !empty($seo_title) ? $seo_title . ' | ' : $title;
    11111109        }
    11121110        return $title;
    11131111    }
    11141112
    1115     public function advanced_seo_update_canonical_url($default_title)
     1113    public function advanced_seo_update_canonical_url()
    11161114    {
    11171115        global $post;
  • expresscurate/trunk/ExpressCurate_AjaxExportAPI.php

    r1162493 r1165036  
    3333    {
    3434        $data = array();
     35        $data["title"] = get_bloginfo('name');
    3536        $data["categories"] = array();
    3637        $data["keywords"] = array();
  • expresscurate/trunk/ExpressCurate_FeedManager.php

    r1147120 r1165036  
    4848
    4949                $rssUrl = $this->getRssUrl($url);
    50 
    51                 if ($rssUrl === null) {
     50                $existed_rss="";
     51                $rssLinks = array_values($curated_links_rss);
     52                foreach($rssLinks as $link) {
     53                    if($link['feed_url']==$rssUrl)
     54                    {
     55                        $existed_rss = $link['feed_url'];
     56                        break;
     57                    }
     58                }
     59                if ($rssUrl === null || $rssUrl=="") {
    5260                    $result['status'] = 'No RSS feed found at this URL.';
    53                 } else if (isset($curated_links_rss[$rssUrl])) {
     61                } else if (!empty($existed_rss)) {
    5462                    $result['status'] = 'URL already exists.';
    5563                } else {
     
    406414                    // decode and collect
    407415                    $result = json_decode($res, true);
     416
    408417                    $this->collect_feed($result, $deleted_urls, $feed_array, 'feed', $date);
    409418                }
    410419            }
    411 
    412420            // check if the feed is empty and sort
    413421            if(!empty($feed_array)) {
     
    494502               
    495503                $story_array = array(
    496                     'title' => $story['title'],
    497                     'desc' => isset($story['contentSnippet']) ? $story['contentSnippet'] : '',
     504                    'title' => str_replace(""","'",$story['title']),
     505                    'desc' => isset($story['contentSnippet']) ? str_replace(""","'",$story['contentSnippet']) : '',
    498506                    'link' => $link,
    499507                    'date' => $publishDate,
  • expresscurate/trunk/ExpressCurate_HtmlParser.php

    r1162493 r1165036  
    211211
    212212    public function getRealURL(){
    213         foreach(get_headers($this->url) as $header) {
    214             if (strpos($header, "Location:") === 0) {
    215                 $this->url = trim(substr($header, 9));
     213        if(self::supportsAsynch()){
     214            $ch = curl_init();
     215            curl_setopt($ch, CURLOPT_URL, $this->url);
     216            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
     217            curl_setopt($ch, CURLOPT_HEADER, 1);
     218            curl_setopt($ch, CURLOPT_NOBODY, 1);
     219            curl_exec($ch);
     220            $this->url = curl_getinfo($ch,CURLINFO_EFFECTIVE_URL);
     221            curl_close($ch);
     222        }else{
     223            $headers = get_headers($this->url);
     224            foreach($headers as $header) {
     225                if (strpos($header, "Location:") === 0) {
     226                    $this->url = trim(substr($header, 9));
     227                }
    216228            }
    217229        }
  • expresscurate/trunk/css/dialog-style-3.9.css

    r1162493 r1165036  
    1111    background: #000 !important;
    1212    position: fixed;
    13     z-index: 100090;
     13    z-index: 100090 !important;
    1414}
    1515div[aria-describedby="expresscurate_clone_dialog"] .ui-dialog-titlebar,
    1616div[aria-describedby="expresscurate_dialog"] .ui-dialog-titlebar{
    1717    padding: 0;
    18     font-size: 13px;
     18    font-size: 13px !important;
    1919    line-height: 30px;
    2020    color: #fff;
     
    3636    text-overflow: ellipsis;
    3737    font-weight: normal;
     38    height: 20px;
    3839}
    3940
     
    7172}
    7273
     74#expresscurate_dialog {
     75    width: 829px !important;
     76}
    7377.expresscurate_dialog {
    7478    padding: 0 !important;
     
    8286    background-repeat: no-repeat;
    8387}
    84 #ui-datepicker-div{
    85     display: none;
    86 }
    8788#expresscurate_dialog_content_clone_editor{
    8889    height: 190px;
  • expresscurate/trunk/js/feed/contentFeed.js

    r1140784 r1165036  
    8080        }).done(function (res) {
    8181            var data = $.parseJSON(res);
    82             if (data) {
    83                 $.each(data.content, function (index, value) {
    84                     $("#expresscurate_feedBoxes").load("admin-ajax.php?action=expresscurate_show_content_feed_items #expresscurate_feedBoxes > li", function () {
    85                         $('.pullTime p').text('in ' + data.minutes_to_next_pull);
    86                         $masonryWrap.masonry('destroy').masonry({
    87                             itemSelector: '.expresscurate_masonryItem',
    88                             isResizable: true,
    89                             isAnimated: true,
    90                             columnWidth: '.expresscurate_masonryItem',
    91                             gutter: 10
    92                         });
    93                         ExpressCurateUtils.notDefinedMessage($notDefFeed, $feedBoxes.find(' > li'));
     82            if (data) {
     83                $("#expresscurate_feedBoxes").load("admin-ajax.php?action=expresscurate_show_content_feed_items #expresscurate_feedBoxes > li", function () {
     84                    $('.pullTime p').text('in ' + data.minutes_to_next_pull);
     85                    $masonryWrap.masonry('destroy').masonry({
     86                        itemSelector: '.expresscurate_masonryItem',
     87                        isResizable: true,
     88                        isAnimated: true,
     89                        columnWidth: '.expresscurate_masonryItem',
     90                        gutter: 10
    9491                    });
     92                    ExpressCurateUtils.notDefinedMessage($notDefFeed, $feedBoxes.find(' > li'));
    9593                });
    9694            }
  • expresscurate/trunk/js/feed/feedSettings.js

    r1129694 r1165036  
    44    function addFeed() {
    55        ExpressCurateUtils.track('/rss-feeds/add');
    6 
    76        var message = '',
    8             link = $input.val().replace(/\/\s*$/, ""),
     7            link = $input.val(),
    98            liHTML = '',
    109            $lastLi,
  • expresscurate/trunk/readme.txt

    r1162493 r1165036  
    55Requires at least: 3.9
    66Tested up to: 4.2.2
    7 Stable tag: 2.0.14
     7Stable tag: 2.0.15
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    8181
    8282= How To Get Started =
    83 [Download ExpressCurate plugin](http://downloads.wordpress.org/plugin/expresscurate.2.0.14.zip "Your favorite content marketing tools") for WordPress. 
     83[Download ExpressCurate plugin](http://downloads.wordpress.org/plugin/expresscurate.2.0.15.zip "Your favorite content marketing tools") for WordPress. 
    8484You can also [download](http://www.expresscurate.com/p/products/wordpress-theme "Your favorite WordPress Theme") a **free** [ExpressCurate WordPress theme](http://www.expresscurate.com/p/products/wordpress-theme "Your favorite WordPress Theme"). It will give your curated content a modern online news look.
    8585
     
    131131== Changelog ==
    132132
     133= 2.0.15 =
     134* Compatibility with Fusion Core Plugin and Avada Theme.
     135* Miscellaneous bug fixes and improvements.
     136
    133137= 2.0.14 =
    134138* Clone Post allows to copy the original post and re-post it in your blog. Minimal SEO for copy-blogging is done automatically.
  • expresscurate/trunk/templates/feed_list.php

    r1140784 r1165036  
    1818        foreach ($feed_content as $content) {
    1919            $content['domain'] = parse_url($content['link'], PHP_URL_SCHEME) . "://" . parse_url($content['link'], PHP_URL_HOST);
     20            $content['desc'] = str_replace(""","'",$content['desc']);
     21            $content['title'] = str_replace(""","'",$content['title']);
    2022            array_push($sorted_feeds, $content);
    2123        }
     
    7880    </div>
    7981    <div class="expresscurate_clear"></div>
    80 
     82    <ul id="expresscurate_feedBoxes" class="expresscurate_feedBoxes expresscurate_masonryWrap">
    8183    <?php
    8284    if (!empty($sorted_feeds)) {
    8385        $i = 0;
    8486        ?>
    85         <ul id="expresscurate_feedBoxes" class="expresscurate_feedBoxes expresscurate_masonryWrap"><?php
     87        <?php
    8688        foreach ($sorted_feeds as $key => $item) {
    8789            ?>
     
    145147            <?php $i++;
    146148        }
    147         ?></ul><?php
     149        ?><?php
    148150    } ?>
    149151    <label class="expresscurate_notDefined expresscurate_displayNone">Your content feed is
     
    151153            href="admin.php?page=expresscurate_feeds">RSS feeds</a> to
    152154        start.'; ?></label>
    153 
     155    </ul>
    154156    <form method="POST" action="<?php echo get_admin_url() ?>post-new.php#expresscurate_sources_collection"
    155157          id="expresscurate_bookmarks_curate">
Note: See TracChangeset for help on using the changeset viewer.