Forum Replies Created

Viewing 15 replies - 31 through 45 (of 93 total)
  • Forum: Plugins
    In reply to: [Z-URL Preview] Not Working
    Plugin Author StuartMillington

    (@stuartmillington)

    Hi,

    If there’s a hard error, CURL should be reporting it – in recent versions anyway.

    For it to be silent something else must be going on. Do you have a URL you can share that does this?

    Forum: Plugins
    In reply to: [Z-URL Preview] Not Working
    Plugin Author StuartMillington

    (@stuartmillington)

    That would suggest that the editor is in text, rather than visual, mode. However, other reports say visual mode with these symptoms but I’ve never been able to replicate that.

    Plugin Author StuartMillington

    (@stuartmillington)

    What’s the actual difference in the FQDN’s?

    Is is, for example:

    http://test.example.com/ and https://www.example.com/ ?

    Can you try on http://www.example.com/ (force https off for testing) to see if it’s working for your http site and not your https site on the same FQDN?

    Alternatively, can you try on https://test.example.com/ to see if it works on the “test” subdomain with SSL on?

    Plugin Author StuartMillington

    (@stuartmillington)

    This is one thing I’ve never been able to reproduce. (Aside from the time I had the editor in text mode rather than visual mode for a day. DOH!) It does only work in visual mode though.

    There should be nothing you need to add. I use child themes too and it works for me. Both “old” themes and the new 2017 one. Moving the button shouldn’t change the insert behaviour.

    Two Q’s I can think of:

    1)What happens if (in visual mode) you type rubbish into the url box, like “asddag”? It should give you the CURL error details.

    2) Do you get anything in the console log?

    …and one random thought – which may not make sense – but, is there anyway that the non-working themes could be “forcing” the editor into text mode?

    Plugin Author StuartMillington

    (@stuartmillington)

    v1.5.7 has been pushed which includes an option to suppress the header tag above the image.

    Plugin Author StuartMillington

    (@stuartmillington)

    Hi,

    Sorry there’s no API option, it’s just interactive.

    If you enter the title you want first, before adding the preview, and it will not overwrite it.

    If you mean you want the title, but not the h2 in the post content, that would need a mod.

    Plugin Author StuartMillington

    (@stuartmillington)

    To be honest, that’s bugged me since day one. I just never got around to finding out what caused it.

    I’ve changed some of the original markup and pushed it as v1.5.5

    It’s fixed it for me. Thanks for reminding me.

    Hope it fixes it for you too.

    Plugin Author StuartMillington

    (@stuartmillington)

    Sorry, and I know this is not what you want to hear… but, this is meant to be a “link preview”, like FB links. It is meant for users to read a little, as part of the site’s own content, and then read the remote site’s content if they wish. It is not meant to replicate all/most of the source page to prevent people going off to read the source page.

    Changing it to do this would go far beyond it’s purpose. It may even exceed “fair use” / “fair dealing”. As I’m in the EU, for the next 2 years anyway, our rules are a lot stricter than there.

    You can, obviously, manually paste in additional content when creating your posts. With the plug-in doing the basic intro, link and image.

    If you have a local coder, it should be easy enough for them to fork the source and change it to what you want. But, it just doesn’t fit with the designed purpose of the plugin. Sorry.

    Plugin Author StuartMillington

    (@stuartmillington)

    If you are pulling your own content, then you would need to ensure that a longer meta/og description is provided, as that will be used.

    If it’s someone else’s content, it will pull the description that the author chose to provide.

    It should (from memory as it’s late) only fail back to pulling the 1st p tag if there is no og or meta description.

    Plugin Author StuartMillington

    (@stuartmillington)

    Just tried on, as example: http://www.aliexpress.com/item/Original-Facotry-Unlocked-Apple-iPhone-5S-8MP-Camera-4-0-inches-Screen-16GB-32GB-64GB-Cellphones/32504565090.html?spm=2114.01010208.3.19.UL08iP&ws_ab_test=searchweb201556_0,searchweb201602_1_10017_10040,searchweb201603_2&btsid=a5195309-cb31-4b09-b903-02eae64725ab and the title, image and description were picked up fine.

    (This is in HTML DOM mode.)

    Plugin Author StuartMillington

    (@stuartmillington)

    Looking at that page, all I can see is “wp-embedded-content” and iframes. Whatever that part of the system does, it’s not something I use, it’s not what this plugin was designed for.

    Those are not posts, with “in-line” content, they are iframes and not normal page content. Sorry.

    Plugin Author StuartMillington

    (@stuartmillington)

    Sorry, but I don’t know what else I can say. The code you’re looking at is not generated by the plugin.

    I have not idea what on your system is generating the iframes, embed and secret key, but it’s not this plugin.

    Do you have a post on your site that you have linked/previewed from another site? As all the posts appear to be your own content, some with links.

    Plugin Author StuartMillington

    (@stuartmillington)

    Hi,

    The code I showed was from the TinyMCE, tools – source code view. To see what is being inserted before that rest of the system processes it.

    The plugin does not generate iframes.

    Plugin Author StuartMillington

    (@stuartmillington)

    Hi,

    The settings do have to be in place when you add the link as the HTML is written into the post body.

    Changes you make to the settings will not affect posts that have already been added.

    I looked at the code you posted, but it bears no similarity to the code that the plugin adds to the post. Where is it from?

    The plugin, for that URL, generates the following source:
    <p></p><div id="at_zurlpreview"><h2>What Sensory Overload Feels Like - Transforming Autism</h2><p class="imgp"><img src="http://i0.wp.com/transformingautism.co.uk/wp-content/uploads/2016/04/sensory-overload.png?fit=261%2C188" data-src="http://i0.wp.com/transformingautism.co.uk/wp-content/uploads/2016/04/sensory-overload.png?fit=261%2C188" /></p><p class="imgd">What must it be like to be constantly assailed by unrelenting stimuli? This article & film give an insight into what autistic people go through every day..</p><p class="imgs">Source: <a href="http://transformingautism.co.uk/sensory-overload/" rel="external">transformingautism.co.uk/sensory-overload/</a></p></div><p> </p>

    Plugin Author StuartMillington

    (@stuartmillington)

    If the system is picking up the link mode from settings, then the front-end html should generate the option in the settings, what does view source show on the a tag?

Viewing 15 replies - 31 through 45 (of 93 total)