[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-19 Thread PMario
On Thursday, August 18, 2016 at 7:47:10 PM UTC+2, Danielo Rodríguez wrote: > > > El jueves, 18 de agosto de 2016, 11:07:40 (UTC+2), PMario escribió: >> >> >> So if you use ifttt you notify everyone, what you do. >> > > Exactly why? Can't you just do it in a private-way? > As soon, as you use a 3r

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Daniel Metcalfe
Thank you for pointing out the filesystem adaptor Danielo, I've had a look at it and can see that in the TiddlyWiki core code it checks for modules of type 'syncadaptor' and uses the exported methods there, so the JS in filesystem is executed server side from within the core. I can see also tha

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Danielo Rodríguez
El jueves, 18 de agosto de 2016, 19:40:54 (UTC+2), Daniel Metcalfe escribió: > > Thanks Danielo, > You're welcome > > My main concern is if there is a way to do it using TiddlyWiki plugin > mechanism though? From the examples I've seen things you can add via > plugins just run within the br

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Danielo Rodríguez
El jueves, 18 de agosto de 2016, 11:07:40 (UTC+2), PMario escribió: > > >> > So if you use ifttt you notify everyone, what you do. > Exactly why? Can't you just do it in a private-way? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubsc

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Daniel Metcalfe
Thanks Danielo, that's provided me some extra clarity on what I thought I might have to do. I could run TiddlyWiki as a node server and change some of the core code. My main concern is if there is a way to do it using TiddlyWiki plugin mechanism though? If I can then it is easily shareable, if

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread PMario
In its first sentence at pinnboard.in the site states: quote > Pinboard is a fast, no-nonsense bookmarking site for people who value > privacy and speed. > So if you use ifttt you notify everyone, what you do. So for me that's not really the preferred option, if I care about privacy. ... The

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Danielo Rodríguez
All you need is a backend that is not restricted to CORS (any server code should work) and an endpoint that allows your wikis to fetch data allowing CORS to your domains. So, in summary (and as example) you could need 1. Node.js app that gets the information you need and saves it into a

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-18 Thread Daniel Metcalfe
If I remember correctly I tried it using both a local file and the same wiki hosted on TiddlySpot. I believe the CORS restrictions apply equally to both local files and hosted files, because either way the domain is different to pinboard.in. I understand that what I've tried doesn't work for go

[tw] Re: [TW5] Is it possible to write a plugin that integrates with Pinboard's API?

2016-08-17 Thread PMario
Hi Daniel, If you try to write from a local file based Tiddlywiki to an online API you'll have no luck. Browser vendors consider this behaviour insecure and block it. JSONP .. search for "jsonp security