My current thought for this is to add a new property to the entry with the source's h-card
info:
{
"type": "entry",
"url": "https://example.com/1000",
...
...
"_source": {
"url": https://example.com/",
"name": "Example Feed",
"photo": "https://example.com/photo.jpg"
}
}
My main question is whether the url
should be the home page URL of the feed or the actual feed URL. I'm almost thinking we need to be able to include both.
If you're following an Atom/RSS/JSONfeed, then the feed URL is not something you'd want to send a user to, so you'd want the "home page" URL instead. For HTML feeds, it would be fine to use the feed URL directly.
However from a security perspective, if the entry's URL is on a different domain than the URL the entry was found on, the UI may want to indicate this in some way, similar to how my webmentions display the source URL as "via ____" if the source URL domain is different from the entry's reported URL. The main case this might happen is an aggregator where the every item in the feed is from a different domain than the aggregator's feed. Also micro.blog feeds where the post's original URL is reported instead of the micro.blog URL.
So I'm thinking we might need two properties, feed URL and home page URL. Unfortunately this no longer maps well to h-card
. Any ideas?
@apulianas if you like using spreadsheets for monthly finances, you might benefit from my Mac app, Cashculator. Itโs a smart spreadsheet for finances. Maybe itโll fit your financial workflow. If you do, let me know what you think of its approach.
The majority of the use of this gem is for sending webmentions from sites that use h-entry
, since it's expected that the receiver will go parse the page and find the h-entry
on the sending site. Without the filter of only finding links inside the h-entry
, this gem would end up sending a bunch of webmentions to pages such as links in navigation or the site footer, which is usually not the desired result.
@jsonbecker Enjoy! If there was an official food of Micro.blog, it would probably be tacos. ๐ฎ
Posting GitHub issues from my site makes my day permalinks look much less sad on days I spend a lot of time on the computer. #indieweb