joplin-plugin-url-meta
v1.0.9
Published
This plugin will grab and fetch meta tags (title, description and image) from URLs found in your notes. It also supports clicking on a URL in the markdown-it panel and popping up information in a dialog with options to open/copy. It also supports a panel
Downloads
198
Readme
Joplin Plugin - URL Meta
This plugin will grab and fetch meta tags (title, description and image) from URLs found in your notes. It also supports clicking on a URL in the markdown-it panel and popping up information in a dialog with options to open/copy. It also supports a panel that will show all found URLs in the note with buttons to open/copy. This plugin can only fetch these tags from the desktop client, but can display details in the mobile version.
Changelog
v1.0.1
- Added support for more image extensions via the canvas browser API.
- Now fetching meta tags for 1 URL at a time to prevent missing data for same domain. This also now includes a progress indicator in the panel.
- Refetch single URL now exists on desktop.
v1.0.2
- Added support for inline URL metadata cards in the markdown viewer.
- Added setting to disable/enable inline markdown cards.
- Added setting for maximum dimension for downloaded metadata image. E.g: if set to 500, a 1920x1080 image would turn into 500x281.
v1.0.3
- Fix bug where video resources no longer load within the markdown viewer when the plugin is loaded.
- When refetching metadata for a single URL in the panel on desktop, make the new metadata appear in the same place instead of at the bottom.
v1.0.4
- Fixed issue #2 by displaying URLs in reverse order and only skipping URLs if there is a container already containing that specific URL.
v1.0.5
- Added new setting "Metadata In Markdown Display Method" (special thanks to deepspaceaxolotl for the idea). This can be one of the following options.
- Default: Requires empty line between links.
- Compact: Requires line break (not an extra empty line) between links.
- Ultra Compact: Renders immediately after the link no matter what.
- Slight fix for the regex for matching URLs (a link with a hash containing a hyphen would break).
- E.g: https://example.com/abc#test-123 would not work.
- Links appearing multiple times within a note are now rendered every time, not just the bottommost.
- Missing resource will no longer cause the "URL Meta Tags" panel to indefinitely load.
v1.0.6
- Compact/Ultra Compact display methods now only apply margin between metadata containers.
- Resource image src URIs now use the
file://
prefix if before v3.1.1 and thejoplin-content://note-viewer/
prefix if v3.1.1 or newer.
v1.0.7
- Remove BR elements if using compact/ultraCompact display type when they exist right after the anchor tags. This should make the display closer to how it would render without the plugin (with just an injection for the meta information).
v1.0.8
- Added new setting "Metadata In Markdown Click Behaviour" (special thanks to deepspaceaxolotl for the idea). This can be one of the following options.
- Dialog (with option of copy/open)
- Copy
- Open
- Do Nothing
- Added fallback to the webpage title if no title meta tag found.
- This fixes this issue.
- Add new advanced setting for "Debug Copy HTML Content". If enabled, the entire webpage used to parse the meta tags will be copied to the clipboard. This is mainly for use in Github issues.
v1.0.9
- Added new setting "YouTube Data API v3 Key" to fetch YouTube video (including shorts) and playlist metadata via the API instead of a normal GET request.
- This fixes this issue
- Note, this will most-likely not work for private videos/playlists.
- To get an API Key, follow this getting started guide by Google.
- When creating credentials, it may ask you What data will you be accessing? For this, choose Public data.