dzemens
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hacker registered user@probablepossible my domain has been clean for 2+ weeks now, it is a nasty one to work through but once you get rid of that user account, provided you’ve also removed all of the hacked/injected files and content, you should be in the clear. Good luck!
Forum: Fixing WordPress
In reply to: Hacker registered userSo this is fairly nasty to work through, GotMLS.net’s AntiMalware plugin will initially identify a number of potential threat files, but removing these is not sufficient. NB, these files will contain php include statements calling other files or executing other scripts that this hack has injected somewhere(s) deep within your public_html.
Once you do this, Sucuri will also mark the site as clean, and Google’s Webmaster Tools won’t identify any problems, either, but you’re still not fixed.
You’ll need to review your Database. In mine, there were several malicious entries in the “Posts” table, which contained presumably a base64 encoded string that fed something else.
There’s also a rogue sitemap that’s been created, and presumably submitted to google (I think there was a secondary verification .html file in my root, I deleted it before I could really be sure), which causing Google to repetitively crawl *thousands* of URL’s on my domain which have never existed, leading to a CPU spike (this was how my hosting company, SiteGround, initially found the problem).
Finally I noticed the malicious user with no permission/role assigned, when reviewing the DB for further changes.
I’m not out of the woods yet, but finding this malicious user account, removing the malicious DB entries, changing my DB user AND password, changing my WP password, my cpanel password, etc., and cleaning/fixing/deleting all of the files identified by AntiMalware is where I’m at now.
Running additional tests & keeping a very close eye on visits, CPU usage, etc., fingers crossed…
(NB: my account hosted via Siteground)
Happens all the time to Instagram embeds. This really should be fixed…
This isn’t the Official plugin, though. That one’s from Automattic; it has some features that are better than PageFrog, but I don’t think it works with AMP and it also has been more complicated to use.
Forum: Plugins
In reply to: [Facebook Instant Articles & Google AMP Pages by PageFrog] Custom FooterI’d also like this.
In case additional information is helpful, I have the following configurations:
Track outbound links & Downloads == True
Ignore users == [Administrator, Editor]The only way I have ever tracked bounce rate, or anything for that matter, is through the native Google Analytics dashboard: analytics.google.com
Forum: Plugins
In reply to: [Instant Articles for WP] Correct Transformer rule for [caption] shortcodeYeah I think there was a missing curly brace in that Json. Also, it didn’t seem to work when I did try it, so your mileage may vary. You need to add one after the
caption
property block, like:"image.caption" : { "type" : "element", "selector" : "//div/[class=wp-caption text]" } <<### Add this
I’m reasonably certain that’s the correct structure but I don’t know enough about how any of this works to be sure of what selectors to use, and between that and/or cache issues, I gave up trying to debug it and just switched to PF.
PageFrog seems OK, at the very least it is working for me, and has solved two issues that the “official” page wasn’t handling correctly: captioned images, and Vimeo embeds (the latter use “op-interactive” class instead of “op-social”).
I do notice that the project seems to be lacking now in terms of support. I may keep an eye on this one as well, and switch back to it, if it ever will work as advertised.
I think, unfortunately, that this “Instant Articles” thing is really an enterprise level thing which FB kinda expected that publishers would be professional (i.e., with a team of interns and devs who build a custom script to handle the markup conversion). It doesn’t seem suited for the random person with a website or blog.
Plugin issues aside, the entire process of review/approval is about the most painful thing I’ve done in 10+ years of blogging/writing on the internet. I think this is probably complicated by the fact that they just opened up the IA to everyone this month, and so both plugin Devs (if active) are being overwhelmed with totally n00b questions, as well as actual bugs/defects. Hopefully it clears up in a few weeks/months…
You can try configuring the feed like:
https://mywebsite.com/subpage/?feed=pagefrog_instant_articles
Check your IA markup, I noticed that an inserted gallery had an extra
figure
tag, within the parentfigure
tag, it was like:<figure class="op-slideshow"> <figure class="op-slideshow"></figure> <!-- THIS WAS THE ERROR --> <figure> <img src="1.jpg"> </figure> <figure> <img src="2.jpg"> </figure> </figure>
Forum: Plugins
In reply to: [Instant Articles for WP] Correct Transformer rule for [caption] shortcodeFWIW the PageFrog plugin solves the problem with captioned images. I had to delete all of my existing IA’s and refresh the feed, but they’ve all pulled in and are not displaying any errors now for the captioned images.
There may be an issue with the slideshow/gallery (basically when I see it it’s duplicating the parent
figure
tag, which I just removed manually from the article’s HTML.Forum: Plugins
In reply to: [Instant Articles for WP] Some of content images not included in feedIn this thread (https://www.ads-software.com/support/topic/content-inside-shortcode-is-omitted?replies=9) indicates that there is no support for SHORTCODES, and the captioning in WP is typically handled via shortcode function.
I’m working on a transformer rule for this use-case, since it’s a problem I’m experiencing, too.
https://www.ads-software.com/support/topic/correct-transformer-rule-for-caption-shortcode?replies=3
However, I also just installed PageFrog plugin and that seems like it is already prepared to handle this use-case. I’ll play with this transformer rule for a little bit, but if PageFrog is easier to use (and it seems it is — even allows you to do a mobile preview from within your WP Dashboard) then I’ll probably end up going that route instead.
Forum: Plugins
In reply to: [Instant Articles for WP] Correct Transformer rule for [caption] shortcodeI found this thread which has example transformer rule for a different class, but I think it can be modified (haven’t tested yet)
https://www.ads-software.com/support/topic/content-inside-shortcode-is-omitted?replies=9
From some examples here: https://github.com/facebook/facebook-instant-articles-sdk-php/blob/master/docs/QuickStart.md#matching-selector
Given an example captioned image from my domain:
<div id="attachment_9339" style="width: 660px" class="wp-caption aligncenter"> <a href="https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932.jpg" rel="attachment wp-att-9339"> <img class="size-large wp-image-9339" src="https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-650x406.jpg" alt="Anti Autti snowboarding in powder in Kirro, Japan" width="650" height="406" srcset="https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-650x406.jpg 650w, https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-400x250.jpg 400w, https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-768x480.jpg 768w, https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-300x187.jpg 300w, https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932-800x500.jpg 800w, https://agnarchy.com/wp-content/uploads/2016/04/AA-Kiroro-Pow-9932.jpg 1500w" sizes="(max-width: 650px) 100vw, 650px"> </a> <p class="wp-caption-text">Anti Autti in Kirro, Japan</p> </div>
Here’s my attempt to modify, using XPath:
{ "rules": [ { "class": "ImageRule", "selector" : "div.wp-caption aligncenter", "properties" : { "image.url" : { "type" : "string", "selector" : "//div/a/img", "attribute": "src" } "image.caption" : { "type" : "element", "selector" : "//div/[class=wp-caption text]" } } ] }
Forum: Plugins
In reply to: [Instant Articles for WP] Correct Transformer rule for [caption] shortcodeThere’s at least a dozen people with the same (very common) problem from WordPress in the first 3 pages of this forum.
The easy solution seems to be “remove the captions”, but that also is kind of silly, since maybe we want the captions (and FB kind of expects, though does not require captions).
Forum: Plugins
In reply to: [Instant Articles for WP] like buttonMake sure you are assigning the correct style to your articles from WordPress. If you haven’t set the default, it will default to the style named “Default”. Ensure you’ve added your logo to that style if you’re using that, or that you’ve selected another, valid style instead.