Giter Site home page Giter Site logo

homostellaris / tw5-get-pinboard-bookmarks Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 2.0 77 KB

Enrich your tiddlers with bookmarks from your Pinboard account.

License: MIT License

JavaScript 100.00%
tiddlywiki5 wiki plugin pinboard-api pinboard pinboard-bookmarks tiddler pinboard-account bookmark-tiddlers macros

tw5-get-pinboard-bookmarks's Introduction

You can learn more about me here.

tw5-get-pinboard-bookmarks's People

Contributors

homostellaris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zhangaz1 lockcp

tw5-get-pinboard-bookmarks's Issues

Bookmark tiddlers that are images cannot be viewed within the Wiki

People may use Pinboard for saving images hosted at a certain URL. It would be nice if the plugin could detect these URLs and create a tiddler of image type instead of Markdown type so that the images can be viewed directly in the Wiki when the tiddler is opened.

This could be done by simply checking the end of the URL for an image file extension such as .jpg or .png and changing the type and canonical_uri field of the tiddler to make it an image tiddler.

Currently open bookmark tiddler is same for all tiddlers

When using the <<get-pinboard-bookmarks>> macro in a tiddler, the content area of the generated table always contains the last selected bookmark tiddler from any tiddler.

The screenshot below shows a situations after selecting a bookmark tiddler embedded in the git tiddler which caused the same to be shown in the cron tiddler below.

image

I suspect that there is only one variable tiddler (can't remember the correct name for this) for the entire wiki as opposed to one for each tiddler.

The URL of bookmark tiddlers is not easily accessible.

The URL of the Pinboard bookmark is set as a url field on bookmark tiddlers but that is not very helpful as it cannot be seen until the tiddler is edited.

I suggest that the URL is created as a clickable link in the text field of the bookmark tiddler. This could be done using transclusion but that would require the tiddlers to have a WikiText type, they currently have a Markdown type and I'd like to keep it that way. It is probably easiest therefore to just add the link in Markdown to the text field as well as leaving the raw URL in the URL field for future flexibility.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.