Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
burgouyne

extending Safari / SIMBL

5 posts in this topic

Recommended Posts

Hi all -

 

I'm writing a simple RSS reading/browsing app. I would like to create some type of extension for Safari that will tell my app anytime a web page has been opened that has an RSS link, so the user can decide to add it to a list of bookmarks.

 

I have each piece of code working and a separate sample app that auto discovers the correct info from a loaded web page. Now the part I have yet to figure out is how to move this tech over into an extension for Safari so the RSS link can get discovered whenever a page is loaded in Safari.

 

Does anybody have a recommendation on how to implement this add on behavior for Safari? sample code or pointers to documentation would be great! I've been poking around a bit to find that SIMBL may be an option - if so - any samples/docs recommended?

 

Thanks!

 

Bruce

Share this post


Link to post
Share on other sites
Advertisement

Yeah - discovering RSS links is fairly straightforward.

 

Ideally (the part that I do not understand how to do and am hoping for any advice), I want to hook into Safari's discovery of RSS links so that I can then send an Apple Event over to my application indicating the RSS link and title. If this is not possible, then I want to hook into Safari (perhaps with a SIMBL plugin?) and watch all URL requests to use my own code to discover RSS links and then send an Apple Event to my application whenever one a link is discovered.

 

Any help would be greatly appreciated!

 

Bruce

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×