aaronpk / IndieNews

📰 News aggregator for IndieWeb-related posts
https://news.indieweb.org/
Other
39 stars 9 forks source link

`u-category` seems no longer working #50

Closed pfefferle closed 2 years ago

pfefferle commented 4 years ago

The spec says, that it supports u-category:

<a href="https://news.indieweb.org/en" class="u-category">#indienews</a>

But when I try to publish https://notiz.blog/2020/09/10/wp-meetup-stuttgart-indieweb-und-wordpress/

I receive: no_link_found

pfefferle commented 4 years ago

See also: https://chat.indieweb.org/dev/2020-09-21/1600689077792800 /cc @frankmeeuwsen

frankmeeuwsen commented 4 years ago

I just tested the original URL from september, to submit it to Indienews. This time it worked (https://news.indieweb.org/nl/diggingthedigital.com/een-sociaal-netwerk-via-je-nieuwsbrief-en-eigen-site/). So I wrote a new blogpost to try it one more time. But this time I got a new error message, see below screenshot. I have no idea what to do now. /cc @pfefferle

Screenshot

aaronpk commented 4 years ago

Well I should probably turn off the detail debug messages but in this case it's very helpful. It looks like the date you have for the published property is spelled out in text rather than being an ISO date like 2020-10-14.

pfefferle commented 4 years ago

@aaronpk but my date should be fine!?!

frankmeeuwsen commented 4 years ago

@aaronpk OK, but then why would it accept another post from my blog? Compare the microformat from the accepted URL with the rejected one. I might need to figure out how to change this in WordPress though...

sebsel commented 4 years ago

I think I just fixed the date-issue in a PR.

pfefferle commented 3 years ago

It seems that XRay uses ActivityPub instead of MF2 (at least on my site), so it does not find all the categories and/or the syndication links.

Is there a way to force XRay to use MF2 or a way how to support the syndication or category links in ActivityPub?

aaronpk commented 2 years ago

It looks like either XRay or your site changed now and it's finding the mf2 markup now, so I'm going to close this issue since it ended up being a mix of like 3 different things anyway.

pfefferle commented 2 years ago

But XRay still seems to only find p-category and not u-category.

pfefferle commented 2 years ago

@aaronpk should I file an issue on the XRay repo instead?

aaronpk commented 2 years ago

Oh did I misunderstand the issue? In any case yes let's discuss over on XRay

aaronpk commented 2 years ago

@pfefferle I just realized what's happening with your post... XRay is asking for the mf2 json version and that version doesn't have the URL categories in it.

Try this:

curl -H "Accept: application/mf2+json" https://notiz.blog/2020/10/05/blocktober/
pfefferle commented 2 years ago

I will either remove the feed or add the categories. Thanks!