Pat Hawks
Forum Replies Created
-
Forum: Plugins
In reply to: [Embed PDF] Embed Dropbox LinkI always host the PDFs on the same server that is hosting WordPress.
Forum: Plugins
In reply to: [Embed PDF] Embed Dropbox LinkWhen I go to that link, it gives me not a PDF, but an HTML page where I can download the PDF.
You need to provide a direct link to the PDF or it will not embed. Perhaps this will not work with files hosted on Dropbox?
Forum: Plugins
In reply to: [Embed PDF] Resolve HTTPS mixed content problemThe plugin already serves the https link if WordPress is serving the page over a secure connection.
if (is_ssl()) {
$embed = '<iframe src="https://docs.google.com/viewer?url='.urlencode($url).'&embedded=true" class="'.$class.'"';
} else {
$embed = '<iframe src="https://docs.google.com/viewer?url='.urlencode($url).'&embedded=true" class="'.$class.'"';
}If you are having problems, it may be with your WordPress configuration.
Forum: Plugins
In reply to: [Export to InDesign] Issue when placing text documentI can’t see any reason this would be the case, but I do not have the latest version of InDesign, so I cannot test.
Can you give me an example of a Tagged Text file that does place correctly in CC2014? I’d love it if we could fix this together, but I cannot do it on my own.
Forum: Plugins
In reply to: [Embed PDF] error: Undefined variable: attrThis has been fixed in 1.0.6
Forum: Plugins
In reply to: [Embed PDF] error: Undefined variable: attrOH!
$atts
≠$attr
I’ll try to get a fix out as soon as possible.
Forum: Plugins
In reply to: [Embed PDF] error: Undefined variable: attrForum: Plugins
In reply to: [Embed PDF] Is this updated for WP4.0?I see. It seems not to be outputting *anything* at all.
I can confirm that the plugin works fine with WordPress 4, nothing much has changed that would affect this plugin. Could another plugin or theme be interfering?
Let me know if you figure out the problem.
Forum: Reviews
In reply to: [Embed PDF] Works, sort-ofI’ll take a look at things to see if I can figure out what is going on with the width. Sorry it gave you so much trouble.
As for the
[embed]
shortcode, this is part of the standard WordPress embed API. By hooking into this, the plugin automatically supports the standard method of setting height and width. That shortcode is not unique to this plugin.Forum: Reviews
In reply to: [Embed PDF] Works, sort-ofIt seems your theme does not correctly set the content width.
Did you try setting the width manually through the
[embed]
tag?Forum: Plugins
In reply to: [Embed PDF] sad to say – it no longer worksAre you still having trouble?
Forum: Plugins
In reply to: [Embed PDF] Image Quality in the PDFAs far as I am aware, the Google Docs Viewer does not support any settings like this, or any settings at all – for that matter – aside from the URL of the PDF.
Forum: Reviews
In reply to: [Embed PDF] Broken…. so sadWhat problems are you having in Firefox?
Forum: Plugins
In reply to: [Embed PDF] Extra markup insertedYou’re right.
For a long time, many users were reporting errors when trying to use the plugin with Internet Explorer that I could not reproduce myself. To get around these problems, I just defaulted to serving the PDF itself in an iFrame to Internet Explorer.
You can remove the conditional comments from the plugins source if you’d like to remove this behavior.
All the trouble with Internet Explorer happened a few years ago now. I’m not sure if Internet Explorer has fixed whatever was causing these issues but, as I said, I was never able to reproduce the problem myself, so I cannot say for sure if IE has changed at all.
Forum: Plugins
In reply to: [Export to InDesign] Custom formattingIt would not be difficult to modify the plugin to do what you ask.
The main purpose of this plugin is simply getting formatted text into InDesign; if you have specific needs for the default font, etc., that’s beyond the scope of the mainline plugin at this point.