Paulo
Forum Replies Created
-
Forum: Plugins
In reply to: [Instant Articles for WP] Problems with Apostrophes / Inverted CommasHi everyone. Just wanted to confirm that indeed this encoding issue is a known problem and we’re working on a fix. Will update here once a patch is out.
Thanks again for flagging this!
Hi ofrias. Unfortunately, we do not support 5.3 yet because the main SDK for Facebook Graph API (which our plugin relies on) does not support it.
Is there any way that you would be able to upgrade to at least 5.4?
Forum: Plugins
In reply to: [Instant Articles for WP] Remove HTML from image captionsHi, maxxnz. Thanks for the screenshot of what you described.
Purposefully, tags in captions are escaped since links aren’t allowed on image captions.
As for stripping the tags altogether, I think this would be possible by customizing the Rules for the Transformer.
The plugin makes use of the Facebook Instant Articles SDK for PHP which contains a Transformer that does all the heavy lifting of converting general markup into valid Instant Articles markup — and it, of course, is fully customizable since it uses a set of rules for specifying how to parse the content of the post/page. In the plugin, you can define your own rule set in the Settings page of the plugin under: Plugin Configuration > Publishing Settings > Custom transformer rules.
I think you’d be interested in associating a selector for anchor tags within image captions to a PassThroughRule.
For more information please the Selector Rules section of our Quick Start guide.
I’ll leave this item open until I hear back from you with your thoughts or results.
Thanks again!
Forum: Plugins
In reply to: [Instant Articles for WP] Custom Fields (ACF) for AuthorWe’re glad you’re loving the plugin, maxxnz!
Ah, you make an interesting point. Indeed, the plugin currently doesn’t support this level of customization. At first read, I was hoping that we’d be able to resolve your scenario by specifying custom Rules for how to parse the body of the post/page. (If you’re interested in more information, our plugin makes use of the Facebook Instant Articles SDK for PHP which includes a Transformer that does all the heavy lifting — our Quick Start guide contains details about how it works.)
I’ll discuss with my team to see if it would be at possible/feasible to broaden the rules somehow in order to customize data (such as the Author) to be acquired from something other than the actual user account who created/modified the post.
I’m marking this as resolved for the time being, however, since the functionality requested currently isn’t supported.
Hi, HoussenMoshine. Thanks for the feedback.
No, you shouldn’t have to include the SDK code anywhere. Could you provide some more information about the issue you’re having? That will help us reproduce the issue.
– What version of the plugin are you using?
– What version of WordPress are you using?
– What version of PHP are you using (if known)?
– What’s the debug output shown in the post edit screen on the Facebook Instant Article box?– Where exactly is the error shown (within WordPress or Facebook)?
– If possible, can you change WP_DEBUG to true on your wp_config.php file and share any warning/error shown after this?Thanks again!
Forum: Networking WordPress
In reply to: Domain Subdirectory Mapping ProblemAfter SEVERAL HOURS of research online (over multiple days) I figured out what I was doing wrong. The best explanation I encountered was: https://www.tripwiremagazine.com/2010/07/how-to-set-up-multisite-domain-mapping-in-wordpress-3.0.html. Although it didn’t have the actual solution to my problem, it did lead me to the following…
Media Temple (Grid-Service) uses an interesting (and convenient) way to manage the content of multiple domains (and subdomains): they use folders (named with the domain name), and inside that folder, you put all your web’s content. You direct a domain to another one simply by “pointing” the folder to another one… you do this by creating a symbolic link using SSH (https://kb.mediatemple.net/questions/63/). I’m not sure if this is what’s known as “parking” a domain on top of another one. Andrea, perhaps you can still clarify that for me.
So turns out I didn’t need to mess with any of my DNS records for my domains. I just needed to point my domains at the file-system level (SSH required). So for all you (mt) (gs) users out there, this is my setup (using my example above):
FOLDER STRUCTURE
- wp.mysite.com/ (wordpress installed here)
- example.com -> wp.mysite.com/ (symbolic link to main install)
If I had just done that (without installing the Domain Mapping plugin), then visiting “example.com” actually changes the URL to read: “wp.mysite.com/example”. Functionally that works, but it’s not what we want, but adding the
example.com
domain in the Domain Mapping plugin takes care of it!Forum: Networking WordPress
In reply to: Domain Subdirectory Mapping ProblemHi Andrea… I’m one other baffled WordPress MU user trying to get Domain Mapping to work properly. Here’s my setup and questions…
– Using MediaTemple’s Grid-Service
– WordPress 3 (MU enabled with subdirectory structure)
– Main WP install is on: wp.mysite.com
– Example Site on: wp.mysite.com/exampleI’d like to have “example.com” mapped to “wp.mysite.com/example”
1. The domain mapping plugin supports the subdirectory structure, correct?
2. In Admin > Domain Mapping I have CNAME set to “wp.mysite.com” (that’s the correct domain that I need to point to, right?)
3. My “example.com” domain points to the same nameservers as “mysite.com” and I’ve tried A records to my server’s IP (which is shared by the cluster apparently) as well as CNAME records mapping to the domain (both detailed below). Do you have a clue as to what I’m missing?A: example.com > my.server’s.ip.address
A: https://www.example.com > my.server’s.ip.address
CNAME: blog.example.com > wp.mysite.com.Thanks for the help! I’ve looked at countless posts and articles and you seem to be the expert on the Internet at this stuff ??