WordPress.org

Ready to get started?Download WordPress

Forums

Live Blogging
[resolved] Encoding issues (10 posts)

  1. Xalio
    Member
    Posted 2 years ago #

    Hi,

    I just want to report that there are some encoding issues when LiveBlogging plugin is linked to twitter on these type of characters: " '

    Could you fix it please?

    Thanks.

    http://wordpress.org/extend/plugins/live-blogging/

  2. mattregister
    Member
    Posted 2 years ago #

    I am having the same problem. I am getting the html character codes in twitter. It happens if I use the visual or html editor in wordpress. The live blog entries look great on the post, but break in twitter.

    thanks in advance for any help in this. I need this badly for an event on friday...

    Is there a way to change what is sent to twitter to plain text or something?

  3. mattregister
    Member
    Posted 2 years ago #

    Here are the examples.

    Here is the blog post that looks great...
    http://rrea.com/blog/nar-tech-edge-houston/

    Here is one of the entries as a tweet.
    https://twitter.com/rreadotcom/status/215546466834452480

    Any thoughts?

  4. Stanley_Krute
    Member
    Posted 2 years ago #

    I am seeing the same issues, by the way.

  5. Xalio
    Member
    Posted 2 years ago #

    Is there an update for this issue?

  6. mattregister
    Member
    Posted 2 years ago #

    No update that I have found. Here is an example I made where I was just careful not to use contractions...
    http://rrea.com/blog/nar-tech-edge-vegas/

  7. vanamar
    Member
    Posted 1 year ago #

    On line 1354 of live-blogging.php

    $content = filter_var($post->post_content, FILTER_SANITIZE_STRING);

    Change to
    $content = filter_var($post->post_content, FILTER_SANITIZE_URL);

    That will make quotes and other special characters appear correctly in tweets.

  8. mattregister
    Member
    Posted 1 year ago #

    @vanamar Brilliant! thank you. Works perfectly!

  9. Xalio
    Member
    Posted 1 year ago #

    Thanks! Works fin too!

  10. rfran1984
    Member
    Posted 1 year ago #

    I've made that change, and it works, however when the tweets are produced, there are no spaces between words.

    Example - https://twitter.com/tvlive_extra/statuses/240465072932139009

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.