phildenhoff / logseq-raindrop

A Raindrop plugin for Logseq
MIT License
62 stars 5 forks source link

Customise template for Multi Page Import #88

Open flegfleg opened 5 months ago

flegfleg commented 5 months ago

Hi, it seems that the template for the single page option is not applied.

In settings, under "Single Page Import Settings":

CleanShot 2024-04-01 at 15 12 30@2x

Output when importing:

CleanShot 2024-04-01 at 15 12 02@2x

Thanks!

phildenhoff commented 5 months ago

Did you enable Single Page imports? I didn't think that those properties would show up for single page imports. It's the 1st option in the Logseq-Raindrop settings page:

Screenshot 2024-04-03 at 17 13 53

edit: also, collectionName is not a supported variable. You could add it!

flegfleg commented 5 months ago

Oh, sorry i messed up the description. I am using a page per bookmark, not all on one single page.

Can i customize the template when using Multi Page Import? → is the properties template editable? image

phildenhoff commented 5 months ago

Oh gotcha — that template customization is only for when you import all bookmarks onto one page. "Single page imports" is not a clear name.

Unfortunately, you cannot edit the template for multi-page imports. I heard feedback that importing all bookmarks into one page was the preferred method, and so that's where new features (like template customization) have been built.

Multi-page imports could be changed to support that, and I always welcome PRs to improve the plugin!

flegfleg commented 5 months ago

I heard feedback that importing all bookmarks into one page was the preferred method

interesting… I do not want a super-long page with all the highlights (also performance-wise).

thanks for the quick answer