qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
554 stars 105 forks source link

Buffer extension bring metadata #623

Open alexisju opened 5 years ago

alexisju commented 5 years ago

I use WP To Buffer extension to share posts to social networks. When my post is published, the extension "send" the post to buffer.com to share it to my accounts.

What is wrong is that Buffer send titles and/or excerpts with the qtranslate-xt language selector (like this: [:en]My post's title[:]).

Did-you have an idea how to avoid this?

PS: same issue using qtranslate-x or qtranslate-xt

herrvigg commented 5 years ago

This reminds me of an issue with Publicize in Jetpack and i think it was never fixed, neither in Jetpack neither in qTranslate-X. Now that i see this i also suspect something with the API REST that could potentially be solved with the last PR i sent, though that's only hypothetical.

But it's also possible the bug is entirely specific to the excerpt... so i can't tell well yet, we need to investigate better.

gserafini commented 5 years ago

Here is a thread tracking this in the Jetpack github (same issue happens there still): https://github.com/Automattic/jetpack/issues/2195

I'm going to investigate seeing if I can get a work-around going for this (in Jetpack at lease) by updating the _wpas_mess meta field. https://gist.github.com/jeherve/7990726

Not sure if that will help the Buffer issue at all or not.

alexisju commented 5 years ago

Note that this issue seems not affect the title field anymore but only the content (and/or the excerpt).

jurgen-74 commented 5 years ago

I have posted at Jetpack as well. I'm not very knowledgeable concerning this kind of programming. So I was wondering whether Qtranslate-xt will have to come with a solution or is it a Jetpack problem. Also Gserafini, are you going to post your findings here?

jurgen-74 commented 4 years ago

It seems that Jetpack (Jeherve) doesn't directly knows how to solve this: https://github.com/Automattic/jetpack/issues/2195#issuecomment-522621016 Would it not be a good idea to contact them and see whether you can solve this issue together. I love this plugin but this supscription thingy is bothering me :(

jurgen-74 commented 4 years ago

We are living in May 2020 now.... Any progress? The integration with Jetpack publicize is still very ugly. I wish Icould help but am not smart enough with this kind of stuff :(