obsidian-kindle-plugin icon indicating copy to clipboard operation
obsidian-kindle-plugin copied to clipboard

Page and Location not syncing with correct information

Open TheHuntyBadger opened this issue 2 years ago • 4 comments

Describe the bug

Page number and location are not syncing properly from Kindle Highlights.

Here is the highlight in my clippings on Amazon:

Highlight (yellow) - 1 Everything You Need to Know > Page 14 · Location 133 If you make a plan , you impose a structure on yourself ; it makes you inflexible . Note - 1 Everything You Need to Know > Page 14 · Location 134 Making a plan forces you to it's structure. You can miss discovery and impromptu thoughts.

Here is what comes through the sync:

Making a plan forces you to it's structure. You can miss discovery and impromptu thoughts.

[[Sönke Ahrens, How to Take Smart Notes]] (133 133)

Planners don't explore a topic, they only complete what is needed to accomplish the plan. This limits learning.

Planners are also unlikely to continue with their studies after they finish their examinations. They are rather glad it is over. ^ref-3553

Here is the Highlight template code:

{{note | truncate(255, true,"")}}

{{ text }}


{% if note %}{{note}}{% endif %}

[[{{author}}, {{title}}]] ({{page}} {{location}})

Method of syncing

  • [X ] Amazon Kindle Reader
  • [ ] My Clippings file (please attach file that can be used to recreate issue)

To Reproduce

Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. Share error(s) from Developer Tools console

Expected behaviour

Page and Location should be different, distinct values as per the original Kindle highlight

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

  • OS: [e.g. Mac, Windows, Linux]
  • Plugin version [e.g. 1.5.2]
  • Obsidian version [e.g. 0.12.19]

TheHuntyBadger avatar Nov 03 '22 21:11 TheHuntyBadger

There is a lot of extra information in your example. I would like to confirm my understanding of the bug you are reporting.

Are you saying that location/page are incorrect, meaning that you were expecting:

[[Sönke Ahrens, How to Take Smart Notes]] (133 133)

to be

[[Sönke Ahrens, How to Take Smart Notes]] (14 134)?

hadynz avatar Nov 09 '22 12:11 hadynz

I have the same issue, instead of showing the page it shows the location.

j0l3g3 avatar Nov 09 '22 15:11 j0l3g3

There is a lot of extra information in your example. I would like to confirm my understanding of the bug you are reporting.

Are you saying that location/page are incorrect, meaning that you were expecting:

[[Sönke Ahrens, How to Take Smart Notes]] (133 133)

to be

[[Sönke Ahrens, How to Take Smart Notes]] (14 134)?

Yes, that is correct

TheHuntyBadger avatar Nov 13 '22 04:11 TheHuntyBadger

I have the same issue actually and so the note can't be loaded.

damani42 avatar Feb 09 '24 11:02 damani42