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

[Feature Request] Tag feed #427

Closed
leonardt opened this issue Oct 9, 2020 · 1 comment · Fixed by #486
Closed

[Feature Request] Tag feed #427

leonardt opened this issue Oct 9, 2020 · 1 comment · Fixed by #486
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@leonardt
Copy link
Contributor

leonardt commented Oct 9, 2020

Not sure if this is already possible, but didn't see it mentioned in the documentation.

It would be cool if you could insert a feed of the latest notes for a specific tag (e.g. display the latest 5 notes with the tag #news).

This could provide a simple way to develop a useful home/index page that allows for visitor discovery (browse the latest notes on a certain topic of interest)

@srid srid added the enhancement New feature or request label Oct 9, 2020
@srid
Copy link
Owner

srid commented Oct 9, 2020

Something like this?

[[z:zettels?tag=news&timeline&limit=5]]

Should be fairly straightforward to implement, beginning with adding an extra parameter (Int) to ZettelQuery_ZettelsByTag here:

ZettelQuery_ZettelsByTag :: [TagPattern] -> Connection -> ZettelsView -> ZettelQuery [Zettel]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants