Forum Replies Created

Viewing 15 posts - 886 through 900 (of 1,956 total)
  • Author
    Posts
  • in reply to: Apostrophe content shows as ’ when sharing on whatsapp.

    Hi Anson,

    Thanks for using WP Socializer. That character is not an apostrophe. It is a special UTF-8 character. Please see screenshot below.

    Looks like the title was copied from some other web page which had this special character.

    https://i.snipboard.io/MPpmAn.jpg

    Can you please use the typical ` or ‘ ?

    Thanks,
    Aakash

    Hi Ross,

    Can you please make this small code change ?

    Replace below line super-rss-reader/includes/feed.php at line 155

    $thumb_url = $this->get_thumbnail_url( $item );

    with this

    $thumb_url = $this->get_thumbnail_url( $item ); $thumb_url = preg_replace("/^http:/i", "https:", $thumb_url);

    Thanks,
    Aakash

    in reply to: ticker animation stops when video streams

    Hi,

    I can provide a code change. Please give me some time. May be by this weekend I can provide you on the same.

    Thanks,
    Aakash

    in reply to: ticker animation stops when video streams

    Hi,

    Thanks for using Super RSS Reader.

    I saw the page. The ticker stops because the main loses the focus.
    The video is an embeded page. So when you click on the video the main page loses the focus.

    The users have to just click the page again to get going.

    Thanks,
    Aakash

    in reply to: Change date language

    Thanks everyone !

    in reply to: Change date language

    Hi @graciaac,

    If translation is not needed but if you want to change the date format then it is pretty simple.

    Please edit the below line in super-rss-reader/includes/feed.php

    https://plugins.trac.wordpress.org/browser/super-rss-reader/trunk/includes/feed.php#L149

    You can change j F Y to the format as mentioned in the page below.
    https://www.php.net/manual/en/datetime.format.php

    An example would be d-m-Y to show date as 01-12-2020

    Thanks,
    Aakash

    in reply to: mail address is not shown

    Hi Marc,

    Thanks for using WP Socializer.
    Can you please share the webpage where the icon is black ?

    Thanks,
    Aakash

    in reply to: Change date language

    Hi All,

    I still have this item in my todo list.

    The plugin just displays whatever is available in the RSS feed. I think this feature is something which is beyond the scope of the plugin as the functionality of the reader is to display the RSS feed as is.

    This translation can apply to anything like, title, description. Just translating only date would be the odd one out.

    The ideal way would be the RSS feed has content in the required language.

    But anyways, this idea is still active. I’ll consider the possible ways of understanding date time and i’ll have an option to convert it to WP language

    Thanks,
    Aakash

    in reply to: […] dots are not added at the end.

    Please set read_more="..."

    in reply to: strip_desc for Chinese and Korean languages

    Ok thanks.

    in reply to: strip_desc for Chinese and Korean languages

    It will trim the desciption by characters and not by words.

    in reply to: strip_desc for Chinese and Korean languages

    Your posts are caught as spam. Thats the reason.

    Anyways, you can try the change below.

    In feed.php, find and replace

    $desc = wp_trim_words( $desc, $strip_desc );

    with this

    $desc = mb_substr( $desc, 0, $strip_desc, "utf-8" );

    Thanks,
    Aakash

    in reply to: strip_desc for Chinese and Korean languages

    Hi Ed,

    As you have mentioned in the comments below

    It’s not working with these languages. In these examples there is no spaces or a few of them. That’s why the plugin counts it as 1 word:
    你是否注意过每天在我们城市工作的环卫工人?他们几点钟起床,几点钟下班?一个环卫工人每天需要捡多少垃圾?这个视频带你体验环卫工人一天的日常

    Thai language: 2 spaces, and 3 words as your plugin counts it.
    บทสัมภาษณ์ระหว่างนักแสดงชายที่พึ่งสูญเสียเพื่อน กับหนึ่งในอาสมัครจากองค์กรสะมาริตันส์ที่ให้บริการทางด้านให้การปรึกษา และเชื่อว่าการฟังด้วยใจจะช่วยทั้งตนเองและผู้อื่น

    It’s better to trim by characters and add this ability in the shortcode.

    As I understand, in your case if strip desc is set to 50 then the content is more right ? You want it to be shorter as in some languages 1 word is longer.

    In that case, can you please set strip desc to 3 or 4 ? so that the description length is smaller.

    Please correct me if I misunderstood.

    Thanks,
    Aakash

    in reply to: strip_desc for Chinese and Korean languages

    Hi Ed,

    Super RSS Reader already uses wp_trim_words to trim text of any language. Please see link below.

    https://plugins.trac.wordpress.org/browser/super-rss-reader/trunk/includes/feed.php#L180

    wp_trim_words trims even if the language uses single character as a word. See description below.

    This function is localized. For languages that count ‘words’ by the individual character (such as East Asian languages), the $num_words argument will apply to the number of individual characters.

    I do not understand east asian languages. Please give an example on what your are expecting. That would be helpful.

    Thanks,
    Aakash

    in reply to: Change the thumbnail tag

    Cheers !

Viewing 15 posts - 886 through 900 (of 1,956 total)

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms