WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Web Scraper] Update broke javascript calculation

[Plugin: WP Web Scraper] Update broke javascript calculation

  • I used to pull in a stock quote from finance.yahoo.com and run a calculation against the pulled data. The shortcode doesn’t seem to run inside the javascript anymore, since I updated your plugin from a previous version. I don’t think it likes the “brackets” in the shortcode, not sure. Below is an example:

    <script type=”text/javascript”>// <![CDATA[
    a = [wpws url=”http://finance.yahoo.com/q?s=GORO.OB” selector=”table:eq(0) td:eq(0)”]
    b = 1.00
    c = Math.round(((a-b)/b)*100)
    document.write(c)
    // ]]></script>

    http://wordpress.org/extend/plugins/wp-web-scrapper/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Web Scraper] Update broke javascript calculation’ is closed to new replies.