You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some softwares seem to publish using onlycontentMap rather than contentandcontentMap. We should update the AP converter/extractor thingy to take account of this. Example:
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"as:Hashtag",
"https://w3id.org/security/v1"
],
"id": "https://feedsin.space/feed/kaniyam/items/759755",
"type": "Create",
"actor": "https://feedsin.space/feed/kaniyam",
"cc": [
"https://feedsin.space/feed/kaniyam/followers"
],
"published": "2023-12-11T09:00:18Z",
"to": "https://www.w3.org/ns/activitystreams#Public",
"object": {
"attributedTo": "https://feedsin.space/feed/kaniyam",
"cc": [
"https://feedsin.space/feed/kaniyam/followers"
],
"contentMap": {
"en-us": "<a href=\"https://kaniyam.com/%e0%ae%b5%e0%ae%be%e0%ae%b0%e0%ae%be%e0%ae%a8%e0%af%8d%e0%ae%a4%e0%ae%bf%e0%ae%b0-%e0%ae%9a%e0%af%86%e0%ae%af%e0%af%8d%e0%ae%a4%e0%ae%bf%e0%ae%95%e0%ae%b3%e0%af%8d-weekly-news-2023-05-01-2/\">வாராந்திர செய்திகள் (Weekly News) – 2023-05-01</a><br />\n\n<p>இந்த நிகழ்படத்தில் கடந்த இரண்டு வாரங்களாக கட்டற்ற மென்பொருள் உலகத்தில் நடந்த நிகழ்வுகளில் எங்களுக்கு தெரிந்த நிகழ்வுகளை பகிர்ந்துள்ளோம். பங்களித்தவர்கள்: மோகன் ராமன் ILUGC பரமேஷ்வர் அருணாச்சலம் KanchiLUG செய்தி இணைப்புகள்: www.phoronix.com/news/SVT-AV1-1.5 news.itsfoss.com/huggingchat-chatgpt/ www.phoronix.com/news/GCC-13.1-Released Use ‘Upscaler’ to Enhance Low-Res Images with AI on Linux thehackernews.com/2023/04/nk-hackers-employ-matryoshka-doll-style.html www.bleepingcomputer.com/news/security/google-patches-another-actively-exploited-chrome-zero-day/ Clonezilla Live...<br><a class=\"read-more-button\" href=\"https://kaniyam.com/%e0%ae%b5%e0%ae%be%e0%ae%b0%e0%ae%be%e0%ae%a8%e0%af%8d%e0%ae%a4%e0%ae%bf%e0%ae%b0-%e0%ae%9a%e0%af%86%e0%ae%af%e0%af%8d%e0%ae%a4%e0%ae%bf%e0%ae%95%e0%ae%b3%e0%af%8d-weekly-news-2023-05-01-2/\">Read more</a></p><p><a href=\"https://feedsin.space/tags/tamil\" class=\"mention hashtag\" rel=\"tag\">#tamil</a></p>"
},
"id": "https://feedsin.space/feed/kaniyam/items/759755",
"published": "2023-12-11T09:00:18Z",
"summary": "",
"tag": [
{
"href": "https://feedsin.space/tags/tamil",
"name": "#tamil",
"type": "Hashtag"
}
],
"to": "https://www.w3.org/ns/activitystreams#Public",
"type": "Note",
"url": "https://feedsin.space/feed/kaniyam"
}
}
The text was updated successfully, but these errors were encountered:
The content in their contentMap tagged en-us is mostly Tamil (in this example)
It's invalid to have as:Hashtag in the context like that, as that would be a remote context but obviously as:Hashtag can't be dereferenced
This message won't be federating successfully everywhere, because the context is broken. Anything that does JSON-LD processing (for example Iceshrimp) wouldn't be able to handle this in the first place.
Given that it's mixed language content, they should probably be using content and not contentMap. If they're using contentMap, it should probably be put in @none, not under en-us. They might be picking it up from the source feed though.
It might be better to get this fixed upstream in https://github.com/muffinista/rust-rss-to-fedi than us specially handling it. That would also fix issues other implementations might have.
Some softwares seem to publish using only
contentMap
rather thancontent
andcontentMap
. We should update the AP converter/extractor thingy to take account of this. Example:The text was updated successfully, but these errors were encountered: