Dynamic URL and on_error handling

Fetch stock quotes chart image from reuters.com and make sure links and image sources are not broken. Display a nice error message. (View this same page with a symbol argumentĀ for Google, Microsoft and Apple)

[wpws url='http://www.reuters.com/finance/stocks/overview?symbol=___symbol___' query='#overviewChart' a_target='_blank' on_error='Stock symbol argument not passed or specified symbol not found']
<?php echo wpws_get_content(‘http://www.reuters.com/finance/markets’, ‘#overviewChart’, array(‘a_target’ => ‘_blank’, ‘on_error’ => ‘Stock symbol argument not passed or specified symbol not found’)); ?>
Chart for

4 thoughts on “Dynamic URL and on_error handling

  1. eneakdar says:

    Thank you for this excellent plugin.I trying to get to open links comes with the content inside the parent window of my site, could you make a suggestion for me how to do iti please?

Leave a Reply