mvavassori / obsidian-web-clipper

Obsidian Web Clipper is a simple Browser extension for Obsidian, a popular note-taking application. With this extension, you can quickly capture notes directly from your web browser and save them to your Obsidian vaults.
MIT License
71 stars 7 forks source link

Feature Request: Add URL and timestamp as note properties for Dataview compatibility #15

Open saifsmailbox98 opened 2 weeks ago

saifsmailbox98 commented 2 weeks ago

It would be great if the Obsidian Web Clipper could automatically include the timestamp and URL as note properties when clipping content. This enhancement would allow users to easily query and organize their clipped content using Dataview.

Proposed changes

  1. Add two new properties to each clipped note:
    • url: The source URL of the clipped content
    • date: The local timestamp when the content was clipped

Use case

This feature would enable users to create powerful Dataview queries to organize and filter their clipped content. For example:

table date, url from "bookmarks" where url and date sort date asc

This query would display a table of all clipped content in the "bookmarks" folder, sorted by date.

Benefits

Implementation details

Additional notes

This feature would greatly enhance the utility of the Obsidian Web Clipper for users who rely on Dataview for content organization and retrieval.

For those unfamiliar with Obsidian properties, more information can be found in the official Obsidian documentation: https://help.obsidian.md/Editing+and+formatting/Properties

mvavassori commented 1 day ago

I'm considering adding more data points to notes.

At the moment it's just page title as note title and page link at the top of the note. I'm thinking about adding a new form to the extension options to let users who know what they're doing customize the data added to the note.

Thank you for your feedback.