Seem to be getting duplicates when I sync, I think I am still missing something in integrated Yarn/twtxt.net and my local text tools.
@rsdoiel@twtxt.net Hmmm you shouldn’t be getting duplicates. Can you share how you’re doing this? I use the tool myself to backup my feeds 👌
@rsdoiel@twtxt.net Hmmm I think you might have run into a bug 🤣 I might need your help figuring this out 👌
@rsdoiel@twtxt.net Where is your Github feed you’re mirroring? 🤔 The only reason for “dupes” is the way hashes are calculated. They are based on what’s called a “Hashing URI”, essentially the first # url =
field in your feed’s metadata. I think (but would have to confirm) that if you’re trying to sync your Github hosted twtxt.txt
feed to your twtxt.net feed (on my pod), if you have a # url =
field in your Github side that isn’t the same value as your feed on your twtxt.net feed, then you’ll end up with dupes. You can have multiple # url =
fields, but the first one is used as the “Hashing URI” and if you’re syncing, it must be the same on both sides.
Does this make sense? 🤔 In fact I probably wouldn’t have any Metadata on your Github feed side at all, just delete it and re-sync (after fixing the dupes), and then help me add some additional features to add additional KV pairs to your feed’s Metadata in yarnd
(the backend for Yarn.social) 🙏
@rsdoiel@twtxt.net @prologic@twtxt.net Maybe a bit offtopic, but:
If I pull twtxt.net’s feed, change its URL and sync the changed file back into twtxt.net, will the feed in the pod retain the new URL? Even if then I keep editing the feed by posting into it using the pod?