MobileOrg / mobileorg

MobileOrg iPhone App
http://mobileorg.github.io
GNU General Public License v2.0
557 stars 70 forks source link

Create a URL scheme #280

Open gitonthescene opened 3 years ago

gitonthescene commented 3 years ago

I only just learned about bookmarklets. The example in that link made me think that if MobileOrg had a URL scheme, you could make a bookmarklet to automatically capture notes from websites. One simple idea is to save the page you’re browsing as a note with a single click. A more sophisticated bookmarklet could extract say a synopsis out of a page and save it in a note.

In any event, having a URL scheme seems like an excellent tool to have to expand the capabilities of MobileOrg.

gitonthescene commented 3 years ago

For clarity, the bookmarklet would run some js on the page and then create a redirect to the URL scheme to pass that information on. I just made one that does something similar with Pythonista.

webframp commented 3 years ago

That's a great idea @gitonthescene

I hadn't thought of that before but definitely would be open to adding that feature if other users are interested in the idea

gitonthescene commented 3 years ago

On that account is this better to raise on Gitter to gather opinions?

webframp commented 3 years ago

Definitely worth trying, but it has been kind of quiet over there lately