Jump to content

extending Safari / SIMBL


  • Please log in to reply
4 replies to this topic

#1
burgouyne

burgouyne

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 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

#2
asap18

asap18

    O RLY?

  • Donators
  • 1,423 posts
safari already can detect if a page has an rss feed. It comes up with an RSS icon in the address bar.

#3
arglaaa

arglaaa

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
what he is trying to do is make a safari extension which notifies his application when safari hits an rss-enabled page.

#4
burgouyne

burgouyne

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
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

#5
redbull2009

redbull2009

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Great work .. really informative .. and thanks a lot for sharing ..
demande credit immobilier simulation pret de france taux calcul courtierUne simulation credit immobiler de France
a faire un pret.
demande
credit immobilier simulation pret de france taux calcul courtier






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy