right_click_add_feed.opml

How to Edit your right-click menu to add an 'Add feed URL' option in the OPML Editor.
  Kosso : 16/01/06
  1. Go to Tools > Edit Right-click Menu
    - A window will appear which looks like an outline
  2. Create a new node and type the words 'Add feed URL'
  3. Now select the whole node (make it black) by selecting the Arrow next to the text
  4. Doubleclick the selected node
    - A new window will appear which again, looks like an outline
  5. Copy and paste the code below into the new script window:
    The script starts within this node: (to select the whole script, select the node which says START SELECT.. (clicking the left chevron icon will turn the line black) and while holding your shift key down, select the END SELECT.. line), then Copy...
      The left chevron icon means the line is a 'comment' and will not be processed as part of the script - this is how we can leave notes and document the script
      START SELECT AND COPY HERE
      A script to add a right-click menu option in the OPML Editor to set an RSS feed url and set the correct type attribute
        Kosso 16/01/06
      local (myFeedUrl)
      op.attributes.getOne ("xmlUrl", @myFeedUrl)
        if this item already has an xmlUrl attribute it will populate the dialog field
      if dialog.ask ("Please enter the url to the RSS feed:", @myFeedUrl)
        op.attributes.setOne ("xmlUrl", myFeedUrl)
          set the xmlUrl attribute
        op.attributes.setOne ("type", "rss")
          set the type attribute as '"rss"
      END SELECT AND COPY HERE
  6: Hit run and you should see a dialog window appear asking you for an RSS feed url
  7. Simply close this window and the script window and the first edit tools window.
  8. Open up a new OPML file or start a new outline
  9. Enter the title of the RSS feed
  10. Right-Click this line and go to the 'Add feed url' option
  11. Enter the rss feed url in the dialog which should appear
  12. Hit OK
  13. You should now see the icon of this line has changed to a newspaper, meaning it is an RSS feed
  This is a feed to my OPML Blog (note the icon appears, as we also set the type=rss)
  Here is a link to the right-click script in a seperate OPML file (double click the up arrow icon to load it here)
  You can find it here:
  http://hosting.opml.org/kosso/scripts/right_click_add_feed_script.opml
  Cheers!
  Kosso 16/01/06