tararebeka
Forum Replies Created
-
Forum: Plugins
In reply to: [Docs to WordPress] installation helpHi,
In order for the plugin to work, you need to have a Google account (as this is designed to pull articles from Google Drive). Log into that Google account in another tab before you set it up – it’ll be easier. And it’s a Google API, not app – sorry if there’s a typo there. If you install the plugin and follow along it should direct you to where to setup the API.
When you install the plugin, you’ll see that in your Plugins page there are actually 4 plugins that it installs (Docs to WP, Docs to WP extender/Cron, Docs to WP extender/Headline, and Docs to WP/CleanContent) just make sure to click all four them.
Hope that helps.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisOh good! So glad to hear that!
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisWalkthru for installation if it’s of any help:
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisOkay – when I input that line into Dreamweaver, it shows me the syntax error. The quote marks at the beginning of your email address and at the end of the subject line (fyi – your subject line can say anything) are curly quotes, and not the straight up-and-down quotes. Paste this into your line five:
wp_mail("[email protected]", "Docs To WordPress", print_r( $result, true ) );
And try again.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisAlso – this whole portion is optional. You only need to do this (create this PHP CRON file and manually run it) if, for some reason, your CRON plugin isn’t working. (My plugin wouldn’t work because I’m running 8 sites, and my host flags it as a malicious attack to have that many CRON inquiries at once).
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisOkay – show me your line 5. It makes no sense that it’s ‘reading’ that @ symbol as a syntax error. It shouldn’t see it.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisStupid question, but did you leave your email contained in quotes?
For example, my line 5 is:
wp_mail( “[email protected]”, “Docs To WordPress PC”, print_r( $result, true ) );
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisOk, to be clear:
You created a PHP file named “docs_to_wordpress.php” and the content of that file is:
<?php include('./wp-load.php'); $docs_to_wp = new Docs_To_WP(); $result = $docs_to_wp->startTransfer(); wp_mail( "YOUR_EMAIL_ADDRESS", "Docs to WordPress”, print_r( $result, true ) );
You’ve filled in the ‘YOUR_EMAIL_ADDRESS” field with your email. And you placed that file in your root directory (pretty sure it has to be in your root). Then you use your browser to access that file at:
https://yourdomain.com/docs_to_wordpress.php
You get a blank HTML page, correct? That’s what should happen. You should then receive an email with the subject line “Docs to WordPress” and the body of the email should list an array of files that were scooped from your GDrive into WordPress (or, a blank array).
Let me know what that email says.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisMy PHP-fu is highly limited, so I suggest you start a new thread with the subject of “Help with Parse error/Syntax error,”(or something along those lines) just so you can get the right set of eyes on the problem.
I will mention that one of the big issues I was having, that I didn’t even realize was causing a problem, was that I was using two different browsers each logged into a different Google account. When the script would try to run/authenticate, it threw up all sorts of errors because it would be trying to access Google credentials from the wrong account. Slim to none that that’s your problem, but I thought I’d mention just in case.
I’ll have the video up sometime today. Don’t know how much it’ll help at this point, but it couldn’t hurt.
Good luck.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisWorking on a video that shows how to install this from scratch. Should hopefully have it posted Monday.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisOkay. If you haven’t already, take a look at this thread:
https://www.ads-software.com/support/topic/error-redirect_uri_mismatch-4?replies=12
About 4 comments up from the bottom, there’s a recap to all the steps we had to do from scratch to install this and get it to run.
Once you’ve confirmed you’ve enabled all the steps, authorizations, and still nothing is happening, try manually running your CRON job*. (Or, this may sound strange, but when the CRON plugin isn’t working, I’ve found if you go to Settings->Docs to WordPress and click on the ‘Save’ button a couple of times it’ll work.)
I’ll usually just create a new doc in the ‘source’ Google Drive folder to test this out. If it works it should disappear out of that folder and be moved to your ‘processed/finished’ Google Drive folder. It’ll also appear as a ‘draft’ post in your WordPress.
You can also modify your CRON script to include a command to email you when it’s run – that way you’ll know it’s working and it’ll tell you what it’s moved over.
$result = $docs_to_wp->startTransfer(); wp_mail( "YOUR_EMAIL_ADDRESS", "Docs To WordPress", print_r( $result, true ) );
See the thread at https://www.ads-software.com/support/topic/10-beta-questionsissues?replies=26 for more information. This thread also includes code I had to remove from my plugin to get it to work with my server, but you may not have to go that far.
*To manually run your CRON job open a new window or tab in your browser and go to https://YOURDOMAIN.com/docs_to_wordpress.php I honestly can’t remember if that PHP file gets installed into your root directory when you install the plugin, or if I had to create it (it’s been too long). If you need to create that file, here’s the code:
<?php include('./wp-load.php'); $docs_to_wp = new Docs_To_WP(); $result = $docs_to_wp->startTransfer(); wp_mail( "YOUR EMAIL", "YOUR SUBJECT LINE”, print_r( $result, true ) );
Hope this is enough to put you on the right path. Let me know of any error messages you get along the way. It’ll help pinpoint where the problem is.
Good luck.
Forum: Plugins
In reply to: [Docs to WordPress] Help activiating thisHi Robert!
Just to be clear, this plugin allows you to take docs into WordPress, not extract from WordPress to InDesign.
I don’t have an InDesign script for this process. Which script are you referring to?
Forum: Plugins
In reply to: [Docs to WordPress] Fix for missing Bold and Italic styling!IT WORKS!!
Yay!!!!
Thanks so much for this! Modifying all my sites now.
ETA: Catches bold. Catches italic. Does not catch bold italic. Still fabulous!
Forum: Plugins
In reply to: [Docs to WordPress] Not transferring files consistentlyI experience the same thing. It feels like a crap shoot each month, but since I started doing the ‘Save’ click, it’s been working.
The most irritating thing is when you run the manual cron and nothing seems to happen. I have a line added to my cron that will email me when it runs, so I know it actually connected.
<?php include('./wp-load.php'); $docs_to_wp = new Docs_To_WP(); $result = $docs_to_wp->startTransfer(); wp_mail( "[email protected]", "Subject line”, print_r( $result, true ) );
Forum: Plugins
In reply to: [Docs to WordPress] Not transferring files consistentlyI have eight monthly papers that I use this for, and each month I didn’t know if it would work smoothly or not. (I’ve spent many an hour just pulling my hair, trying all sorts of things just to get it working like it did before.)
I’ve found, as weird as it may sound, that if I go to the Settings->Docs to WP page in my Dashboard and simply click on the ‘Save’ button a few times before I try to transfer stuff, it’ll go smoothly. Strange, but true.
It reminds me of being a kid and banging on the TV to get certain stations to come in.
:^)