Title: EZ SHORTCURL Shortcodes to Fetch and Parse External Content
Author: Eli
Published: <strong>3 décembre 2012</strong>
Last modified: 16 décembre 2017

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/shortcurl/assets/icon-256x256.png?rev=1057953)

# EZ SHORTCURL Shortcodes to Fetch and Parse External Content

 Par [Eli](https://profiles.wordpress.org/scheeeli/)

[Télécharger](https://downloads.wordpress.org/plugin/shortcurl.zip)

 * [Détails](https://fr.wordpress.org/plugins/shortcurl/#description)
 * [Avis](https://fr.wordpress.org/plugins/shortcurl/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/shortcurl/#installation)
 * [Développement](https://fr.wordpress.org/plugins/shortcurl/#developers)

 [Support](https://wordpress.org/support/plugin/shortcurl/)

## Description

Use the shortcode « remote_get » with the parameter « url » to insert the content
from that url into your page or post. You can also use parameters like start and
stop (or end) to parse out a specific part of the content that you wish to display.

Now you can also wrap any content in the « preg_replace » shortcode to manipulate
it into the desired format. Tricky stuff, but very powerful, if you know what you’re
doing.

Updated December 16th

## Installation

 1. Download and unzip the plugin into your WordPress plugins directory (usually `/
    wp-content/plugins/`).
 2. Activate the plugin through the ‘Plugins’ menu in your WordPress Admin.

## FAQ

  Installation Instructions

 1. Download and unzip the plugin into your WordPress plugins directory (usually `/
    wp-content/plugins/`).
 2. Activate the plugin through the ‘Plugins’ menu in your WordPress Admin.

  What do I do after I activate the Plugin?

Use the shorcode remote_get with a url parameter on a page or post to bring in external
content.

  What does a example of the shortcode look like?

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

## Avis

![](https://secure.gravatar.com/avatar/ab871b0c1baea23deec4351743f12e0ca7262d67d57ce4e035d1f881d2551375?
s=60&d=retro&r=g)

### 󠀁[Super!!](https://wordpress.org/support/topic/super-2681/)󠁿

 [guibmx1](https://profiles.wordpress.org/guibmx1/) 29 octobre 2022

for higher than php7.2 you need to change le last line of /wp-content/plugins/shortcurl/
index.php old: add_action('widgets_init', create_function('', 'return register_widget("
SHORTCURL_Widget_Class");')); new: add_action('widgets_init', function(){return 
register_widget("SHORTCURL_Widget_Class");});

![](https://secure.gravatar.com/avatar/bf5ad2a5ade43c2cb954259914bbeb30c09b3ece1d7a5408af21ae756165b400?
s=60&d=retro&r=g)

### 󠀁[BRILLIANT Plugin!](https://wordpress.org/support/topic/brilliant-plugin-319/)󠁿

 [JohnStaples](https://profiles.wordpress.org/johnstaples/) 21 avril 2019

This is a BRILLIANT plugin! It does exactly what it promises with no muss no fuss!
THANK YOU for this gem!

![](https://secure.gravatar.com/avatar/56a53f69757d04e3403eaad58aed88ef58a99412371dc08f9a20d38cab37635e?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-743/)󠁿

 [truckracing](https://profiles.wordpress.org/truckracing/) 3 septembre 2016

Very good job , is very useful in my project !

 [ Lire les 5 avis ](https://wordpress.org/support/plugin/shortcurl/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« EZ SHORTCURL Shortcodes to Fetch and Parse External Content » est un logiciel 
libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

 *   [ Eli ](https://profiles.wordpress.org/scheeeli/)

[Traduisez « EZ SHORTCURL Shortcodes to Fetch and Parse External Content » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/shortcurl)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/shortcurl/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/shortcurl/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/shortcurl/)
par [RSS](https://plugins.trac.wordpress.org/log/shortcurl/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 3.17.49

 * Fixed more Undefined index Notices.

#### 3.17.29

 * Fixed multiple Undefined index Notices.

#### 3.16.29

 * Added a Shortcode Widget with pop-out position options.

#### 3.14.34

 * Replaced the SESSION code with the use of GLOBALS for broader compatibilty.

#### 3.14.53

 * Fixed the « with » parameter in to remote_get function to accempt empty string.
 * Decoded HTML Entities in the URL parameter to improve the handling of GET variables
   in the URL String.
 * Improved the error messages by adding what URL triggered the error.

#### 3.04.26

 * Added a shortcode for str_replace simple string manipulation.
 * Added support for arrays in preg_replace shortcode.
 * Added an alternate shortcode for running preg_replace on another shortcode vs.
   on the results of another shortcode.

#### 1.3.03.25

 * Added a shortcode for preg_replace to further manipulate content.

#### 1.3.03.15

 * Fixed error handling on line 71 to report the whole curl error on the admin pages.

#### 1.2.12.06

 * Fixed call to plugin_row_meta.

#### 1.2.12.05

 * Added 24 hour caching to speed up page loads.
 * Added admin_notices if fatching or parsing produces any errors.

#### 1.2.12.01

 * First versions uploaded to WordPress.

## Méta

 *  Version **3.17.49**
 *  Dernière mise à jour **il y a 8 ans**
 *  Installations actives **90+**
 *  Version de WordPress ** 2.7 ou plus **
 *  Testé jusqu’à **4.9.29**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/shortcurl/)
 * Étiquettes
 * [curl](https://fr.wordpress.org/plugins/tags/curl/)[preg_replace](https://fr.wordpress.org/plugins/tags/preg_replace/)
   [shortcode](https://fr.wordpress.org/plugins/tags/shortcode/)[wp_remote_get](https://fr.wordpress.org/plugins/tags/wp_remote_get/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/shortcurl/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  5 avis à 5 étoiles     ](https://wordpress.org/support/plugin/shortcurl/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/shortcurl/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/shortcurl/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/shortcurl/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/shortcurl/reviews/?filter=1)

[Ajouter mon avis](https://wordpress.org/support/plugin/shortcurl/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/shortcurl/reviews/)

## Contributeurs

 *   [ Eli ](https://profiles.wordpress.org/scheeeli/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/shortcurl/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8VWNB5QEJ55TJ)