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

Title variable cannot be converted correctly if used in main content of the note #19

Closed
wenlzhang opened this issue Nov 5, 2021 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@wenlzhang
Copy link

If the variable {{title}} is put in the front matter, this variable can be replaced correctly by using the actual article title from the feed. However, if it is put in the main content part of the template, it cannot be recognized correctly.

Another related issue I noticed is that the {{title}} variable represent the title of the feed article. On the other hand, one can rename the note when creating new notes based on the article. Is it possible to have another variable that denotes the title of the file/note name?

@joethei joethei added bug Something isn't working enhancement New feature or request labels Nov 5, 2021
@joethei
Copy link
Owner

joethei commented Nov 11, 2021

Do you have an non working example for the first one as I cannot reproduce this?
@wenlzhang

@joethei joethei self-assigned this Nov 11, 2021
@wenlzhang
Copy link
Author

For instance, with the following RSS feed and template, it does not work for me.

https://forum.obsidian.md/t/dataview-plugin-snippet-showcase/13673.rss

---
title: {{title}}
source: {{link}}

tags: ['']

published at: {{published}}
created at: 

---

# {{title}}

{{content}}

@joethei
Copy link
Owner

joethei commented Nov 16, 2021

this will be available in the next release in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants