Page 1 of 1

Pass url to Subscribe Dialog

Posted: 29 Mar 2013, 21:53
by idoxlr8
I'm trying to write my first plugin and can't seem to figure out how to pass a url to the Subscribe to feed Dialog.
I am using a button, here is the button code:

Code: Select all

   <button dojoType="dijit.form.Button" onclick="quickAddFeed()">
      <?php echo __('Subscribe to feed') ?></button>

I tried this, without success:

Code: Select all

      <button dojoType="dijit.form.Button" onclick="quickAddFeed()" feed_url="http://xkcd.com/rss.xml">
      <?php echo __('Subscribe to feed') ?></button>

Any help would be appreciated, Thanks