obsidian-pocket icon indicating copy to clipboard operation
obsidian-pocket copied to clipboard

BUG: Some items will not match "URL" parameter

Open laingc opened this issue 2 years ago • 2 comments

Hi there,

Some items will consistently not match based on the "URL" parameter. Here is an example of a pocket note frontmatter, which contains the relevant url and pocket url:

---
title: "The Trimodal Nature of Software Engineering Salaries in the Netherlands and Europe"
URL: https://blog.pragmaticengineer.com/software-engineering-salaries-in-the-netherlands-and-europe/
pocket-url: https://getpocket.com/read/3275416886
tags: [saved-link]
excerpt: Update: dozens of hiring managers confirmed this trimodal model applies to all global markets: from the US, through Asia to Latin America as well. Also see TechPays.com for data recorded for a growing number of countries in the three tiers.
---

As you can see from the screenshot below, the item is created multiple times, and refuses to match.

Screenshot 2022-07-25 at 9 01 50 AM

A couple of sites I've noticed this happens on are Hacker News (news.ycombinator.com) and ThreadReader (https://threadreaderapp.com/), though neither site fails consistently.

laingc avatar Jul 24 '22 21:07 laingc

Maybe there are some special characters on specific article URLs or titles that fail to sync.

Are specific articles persistently failing that you know off?

JamesR404v2 avatar Sep 21 '22 18:09 JamesR404v2

I don't know if this will apply to your situation, but I just was running into this same issue where syncing would create duplicates of the same note. I only started encountering this issue when I set the "Pocket item notes folder location" setting. I previously set it to "pocket" and was getting duplicate notes every time. However, when I changed it to "/pocket", I stopped getting all duplicates.

Hope this helps!

jakelucasnyc avatar Apr 18 '24 03:04 jakelucasnyc