Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add source metadata as page properties #134

Open
2 tasks done
dekimsey opened this issue Dec 9, 2023 · 1 comment
Open
2 tasks done

Add source metadata as page properties #134

dekimsey opened this issue Dec 9, 2023 · 1 comment
Labels
type: enhancement New feature or request

Comments

@dekimsey
Copy link

dekimsey commented Dec 9, 2023

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

I'd like to be able to see information regarding the source content. The what, when, where and how.

✔️ Solution

I think it'd be cool if the template values (to give an example) were dumped out as a Properties header in the doc.

For instance, this would look like:

---
source: https://youtube.com/some/video
title: The original potentially unescaped title
method: youtube
date: 2023-03-01T13:01:22Z
---

Properties may have types. I'm not sure if that matters in the API. But it does render nicer if set.

Possibly worth considering namespacing the properties, e.g., readitlater:source or ril:source.

❓ Alternatives

A current work-around is to embed this information into the note templates. But there are many, and when the project adds a new one it won't be configured. As document metadata, this could be cool to auto-add.

Manually going in and editing the document after download to at minimum indicate the URL it came from and the approximate date of capture.

📝 Additional Context

My real intention is to be able to use ReaditLater as an archiver. Many of my notes include references to third party URLs where I learned how to do X or Y. However, a few of them have died or are no longer available at that URL. I think ReadItLater is potentially well suited to be a very cool way (short of Archive.org) to take snapshots of references I find on the Internet.

To accomplish this I think there are two features missing:

  • Long-term storage of docs all being in the same directory
  • Defining file properties to back-reference the source content (this issue)

Thank you!

@dekimsey dekimsey added the type: enhancement New feature or request label Dec 9, 2023
@dekimsey
Copy link
Author

dekimsey commented Dec 9, 2023

While adding all the overrides, I'm beginning to think this instead should be more of a doc or HOWTO for awareness purposes instead of requiring any actual code changes. Or perhaps the default templates could use this format instead of or in addition to the current [[ReadItLater]] [[Vimeo]].

Anyway, this can be done with the existing note templates and that's good enough!

That being said, I do think there's something about the idea of having a (date, source) key that could make it possible to 'refresh' the content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant