1. Toni
    Posted 1 year ago #

    I want this feature! I am not experienced with the parameters - I understand what I see but I can't pull any of that out of my head, because it's not there. Is there a basic/generic shortcode that I can start off with?

    Thank you


  2. Eli
    Plugin Author

    Posted 1 year ago #

    The example in my FAQs is a good one to start with:

    [remote_get url="http://wordpress.org/extend/plugins/shortcurl/stats/" start='<div class="block-content"' stop='!-- block-content--' length="-1" replace="='/extend" with="='http://wordpress.org/extend" replace2="%2Fextend%2F" with2="http%3A%2F%2Fwordpress.org%2Fextend%2F"]

    This example fetches the content from the stats page for this plugin, from the div with a class of "block-content" to the HTML comment "block-content", and replaces relative links with absolute ones.

    Try substituting this URL for the one you want to get and look for HTML markers in you fetched content to use as start and stop points.

    If you are not sure exactly what you are getting because the HTML clashes with the page you are including it on then try wrapping the whole shortcode in a textarea so you can see what you are retrieving.

    Let me know how it goes.

    Aloha, Eli

  3. Toni
    Posted 1 year ago #

    Thank you very much!! I am going to try it now. I will update you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.