Hopefully fixing some <link rel=""> issues with the Atom feed.
I chose to use the URI for oa:hasTarget as the rel value for the annotated resource. It's the most accurate link relation I could find. 😸
If someone could give this a quick test run too, I'd appreciate it...my h dev environs are still a tangle...
Ping this back after you change the rel.
@tilgovi did you want me to switch to outputting all the values from target.*.source? or just stick with annotation.uri for now?
@BigBlueHat that'd be ideal!
Thanks for this @BigBlueHat.
It'd be nice to also address #2329 so I can test both of these things together. The combo will unblock a blog post I've been meaning to write.
As a reminder, the user story here is RSS widgets (e.g. on WordPress) that want to link to annotation.uri instead of (or in addition to) the bare annotation. So from that perspective. annotation.uri alone should be fine for now.
Your wish is my command @judell: 653f19e
Excellent, thanks gents.
K. That should be ready also. Switched from the hasTarget URL to related as the rel.
Reference annotated resource using rel=related
Also made type attribute conditional on link
in the atom.xml file--as it is technically optional
Used target.*.source, so multiple targets will
be output in the future multi-target awesomeness.
Atom feed should not choke on lack of targets
Add tests for targets in atom feed
@BigBlueHat I covered for you this time, but next time tests please :).
Thanks! Sorry I forgot those. Next time! 😃