Comments (2)
Thank you for filing, though I'm still not convinced it's possible -- I don't see any fields in the two parsed results that can be correlated to tell that they are duplicates
Here's the information I have from Brid.gy
{
"items": [
{
"properties": {
"author": [
{
"properties": {
"name": [
"Tantek \u00c7elik"
],
"photo": [
"https://twitter.com/t/profile_image?size=original"
],
"url": [
"https://twitter.com/t"
]
},
"type": [
"h-card"
],
"value": "Tantek \u00c7elik"
}
],
"like": [
"https://twitter.com/kylewmahan/status/610521450290675713",
"https://kylewm.com/2015/06/yes-https-is-more-work-to-support-than-http-so-let"
],
"like-of": [
"https://twitter.com/kylewmahan/status/610521450290675713",
"https://kylewm.com/2015/06/yes-https-is-more-work-to-support-than-http-so-let"
],
"name": [
"likes this."
],
"uid": [
"tag:twitter.com,2013:610521450290675713_favorited_by_11628"
],
"url": [
"https://twitter.com/kylewmahan/status/610521450290675713"
]
},
"type": [
"h-entry",
"h-as-like"
]
}
],
"rel-urls": {},
"rels": {}
}
and from the original
{
"items": [
{
"properties": {
"author": [
{
"properties": {
"name": [
"Tantek \u00c7elik"
],
"photo": [
"http://tantek.com/logo.jpg"
],
"url": [
"http://tantek.com/"
]
},
"type": [
"h-card"
],
"value": ""
}
],
"content": [
{
"html": "likes \n<a class=\"u-like-of\" href=\"https://kylewm.com/2015/06/yes-https-is-more-work-to-support-than-http-so-let\">Kyle Mahan\u2019s note</a>\n (<a class=\"u-like-of\" href=\"https://twitter.com/kylewmahan/status/610521450290675713\">@</a>)",
"value": "likes \nKyle Mahan\u2019s note\n (@)"
}
],
"like-of": [
"https://kylewm.com/2015/06/yes-https-is-more-work-to-support-than-http-so-let",
"https://twitter.com/kylewmahan/status/610521450290675713"
],
"name": [
"likes \nKyle Mahan\u2019s note\n (@)"
],
"published": [
"2015-06-18T11:22:00-0700"
],
"uid": [
"http://tantek.com/2015/169/f1"
],
"updated": [
"2015-06-18T11:22:00-0700"
],
"url": [
"http://tantek.com/2015/169/f1"
]
},
"type": [
"h-entry",
"h-as-like"
]
}
],
"rel-urls": {
"http://tantek.com/": {
"rels": [
"author",
"home",
"author"
],
"text": "",
"title": "Tantek \u00c7elik"
},
"http://tantek.com/2015/168/f1": {
"rels": [
"prev"
],
"text": "\u2190",
"title": "View the previous (older) item in the stream."
},
"http://tantek.com/logo.jpg": {
"rels": [
"icon"
],
"text": ""
},
"http://webmention.io/tantek.com/webmention": {
"rels": [
"webmention"
],
"text": ""
}
},
"rels": {
"author": [
"http://tantek.com/",
"http://tantek.com/"
],
"home": [
"http://tantek.com/"
],
"icon": [
"http://tantek.com/logo.jpg"
],
"prev": [
"http://tantek.com/2015/168/f1"
],
"webmention": [
"http://webmention.io/tantek.com/webmention"
]
}
}
from redwind.
Hmm - looks like we may have to add another step:
- check the Bridgy like-of author URL to see if it has a rel=me link, e.g. in the above JSON it's https://twitter.com/t which has rel=me link to tantek.com.
Then if you have already have a like-of from that author, with permalink on that domain, you should be able to de-dup the Bridgy one.
from redwind.
Related Issues (20)
- Stream pages overlap HOT 5
- Article titles with quotation marks are cut off when editing
- Images are not included in drafts properly HOT 6
- KeyError: oldskool
- reuse imageproxy to cache static-maps
- maps.py uses static-maps.kylewm.com
- Tweet text is not parsed correctly HOT 6
- URLs with domain names longer than 4 characters are not autolinked HOT 1
- Very little support for photosets
- Reposts without a Twitter syndication are POSSEd to Twitter as HTML HOT 2
- OpenGraph not parsed correctly from some sites HOT 2
- Send "Link" field when POSSEing to Facebook
- atom feed missing pictures HOT 7
- @ mention parser does not link usernames with punctuation at the end HOT 1
- Error when POSSEing Share to Twitter
- atom feed: render repost originals HOT 4
- Hashsigns (#) at the start of a note are parsed as a header HOT 2
- de-duping isn't working for rsvps? HOT 2
- are there any updates to redwind, or other engines that have been developed with similar POSSE/Indieweb support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redwind.