I use both Pinboard & TiddlyWiki as places to store knowledge. Pinboard is
a bookmarking service that stores URLs with optional associated plain text
notes.
I've decided to write a plugin that will read the tags of my tiddlers and
call the Pinboard API to enrich my tiddlers with links and text from
bookmarks that have the same tags. My web development knowledge is not that
good and I've quickly run into problems. Here's what I've tried so far:
- *Using Single-file TiddlyWiki*
- Javascript Macro
- Call API using XMLHttpRequest().
- CORS error. Pinboard does not return
Access-Control-Allow-Origin headers.
- Retrieve Pinboard feed using JSONP.
- Script tag is disabled in TiddlyWiki so cannot use JSONP.
- *Using Node Server TiddlyWiki*
- Javascript Macro
- Call API using XMLHttpRequest().
- XMLHttpRequest() is not defined error. Provided by browser.
At this point I decided I did not know enough and should seek advice. I
could probably just modify some JS in the TiddlyWiki core to intervene as
the Tiddler is loaded but then the functionality will not be easily
reusable. I could perhaps write a Chrome plugin that can bypass CORs
restrictions but that limits reusability too.
I'd really appreciate any pointers or advice, is there a way to do it using
TiddlyWiki's plugin mechanism?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/69e761bf-4758-4b8b-ae20-0bb910beaf32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.