sawhney17 / logseq-citation-manager

73 stars 12 forks source link

[Feature Request] Create Journal Link From Date(s) #15

Open rsomani95 opened 1 year ago

rsomani95 commented 1 year ago

It would be really cool to create a link to a LogSeq journal page from the .bib entry.

In LogSeq, the pages show up in the Jul 10th, 2022 format. Perhaps there could be some special syntax to convert a date from a .bib entry to a journal link?

AFAIK, there's two formats of dates in BetterBibLaTeX files. Taking this entry as a referece:

@article{WorldShiftsWhen__Yong__2019,
  title = {The {{World Shifts When}} a {{Black Widow Squats}}},
  author = {Yong, Ed},
  date = {2019-01-09T14:42:45Z},
  journaltitle = {The Atlantic},
  url = {https://www.theatlantic.com/science/archive/2019/01/entire-black-widow-spider-sensor/579814/},
  urldate = {2019-06-03},
}

I can imagine putting something like !{date} or !{urldate} in the template file to link to a journal page (the ! being the special syntax)