DrLightman
Forum Replies Created
-
Forum: Plugins
In reply to: [SEO Post Content Links] AMP issues with “alt” attributesMore generally, the
<a>HTML element never expects the “alt” attribute, so you can remove it plugin-wide.https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
I see it could be a problem since you hard-code the post’s contents with the additional links into a separate table, so I wouldn’t know how to fix the faulty links on posts that aren’t being manually updated via the editor.
Forum: Plugins
In reply to: [a3 Lazy Load] Disable in Facebook Instant articles!Ok I see you made available a filter, good. I’ve integrated this code in a plugin of mine, it seems to be working:
function mystuff_a3_lazy_load_run_filter($value) { if (function_exists('is_transforming_instant_article') && is_transforming_instant_article()) { return false; } return $value; } add_filter('a3_lazy_load_run_filter', 'mystuff_a3_lazy_load_run_filter');- This reply was modified 8 years, 4 months ago by DrLightman.
- This reply was modified 8 years, 4 months ago by DrLightman.
Yeah I’m using the pro version too.
Don’t you think that this kind of query don’t scale good on medium-large sites? Having to run at every request and doing some regexp check on a non-indexed query is dangerous.
Is this plugin dead?
Forum: Plugins
In reply to: [Instant Articles for WP] Publish flow on 4.x ?Ok so after debugging here and there, it seems a new meta tag is created in html page like so:
<meta property=”ia:markup_url” content=”http://www.example.org/test-article-hello-world/?ia_markup=1″ />
By visiting that url one gets the full IA version of the article:
http://www.example.org/test-article-hello-world/?ia_markup=1
That is simply the normal url with “?ia_markup=1” at the end.
So my question now remains, when and how facebook.com fetches this data to update the library in the relative page on fb.com? Does facebook.com gets notified during add/update of a post in the edit screen? Or is it “automatic”?
- This reply was modified 8 years, 9 months ago by DrLightman.
Forum: Plugins
In reply to: [Instant Articles for WP] Version 3.3.5 lifetimeNews?
Forum: Plugins
In reply to: [Instant Articles for WP] Problem with newest versionsIt’s not clear to me yet infact I didn’t even updated the plugin for that reason.
I guess you have to wait and hope for the Facebook IA scareper to pass by your site.
Forum: Plugins
In reply to: [Instant Articles for WP] Problem with newest versionsRead this, there is a new submission logic in 4.x
Forum: Plugins
In reply to: [Instant Articles for WP] Version 4.x causing script errors (HTTP 500)3.x used to give same error in wp-ajax while submitting when I had to reconnect with my credentials appid and appsecret because the token has expired (very annoying thing by the way)
It’s not enqueued, it’s printed directly indeed.
Maybe you want to to a remove_action( ‘wp_footer’, array( ‘Akismet’, ‘print_form_js’ ) ) so to avoid the print of the default Akismet form.js and do it your way?
Forum: Plugins
In reply to: [Instant Articles for WP] Changelog v.4.0.0What kind of transformation do you wish to make on your cron/cli?It’s a video conversion, from a local uploaded mp4 in [video ...] shortcode version toward an iframe embed, which requires to automatically upload the mp4 to an our video hosting website and then retriving the iframe embed of that video to replace the original [video ...] shortcode.
I guess I’ll have to test the v4 in a local installation then, maybe the way v4 works would avoid the manual IA submission as I planned (not implemented yet, fortunately, so no work will be lost, just the little time spent digging into the code of v3).
- This reply was modified 8 years, 10 months ago by DrLightman.
Forum: Plugins
In reply to: [Instant Articles for WP] Changelog v.4.0.0I was working on a cron/cli script to perform some tasks/transformations on post content on regular basis, at which point an update was required and also an IA automatic resubmission, for that I digged into the plugin code and found I could use:
Instant_Articles_Publisher::submit_article($post_id, $post);
So I’m wondering now if with this big changes in v4.0 I may still be able to use that call.
Forum: Plugins
In reply to: [Instant Articles for WP] Changelog v.4.0.0Thank you Diego for the update on the changelog.
The API-no-more thing is quite huge. I had my post changes reflected immediately in insta library after doing a post Update because of the API, but with v4 when I’m going to modify a post I must wait for the scraper to re-ingest/update the article in library? am I correct?
I think I’m not ready yet to the update, I was relying on the API for other things, also I can’t find information on this ia-markup meta tag, is not documented yet?
Forum: Plugins
In reply to: [Instant Articles for WP] Changelog v.4.0.0I quote this request.
Also, can we upgrade safely from 3.3.5 to 4.0.0? Or are there breaking changes? It would be very gentle to spare this kind of information when relasing big plugin updates.
Thank you
Forum: Developing with WordPress
In reply to: Excluding a set of words from editor word countOkay so after some test, the regexp needs some reworking done, because it works as character range replacement [x-ya-bc-d], not full string.