-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render JSON Feed entries’ content with render_content #149
Conversation
@snarfed I fixed about half of the tests by just updating them with the app’s new behavior. There are some awkward cases left, though. Consider this error from the test_jsonfeed_to_activity_note test:
The Activity Streams object ends up with an In general, given that JSON Feed needs some information (like embedded image URLs) to be included inline in the HTML while other formats carry that information out-of-band, there is going to be awkwardness converting between different formats, and I think it would be get a lot of work to get a transformation like “convert from AS to JSON Feed and then back to AS” to be idempotent, even assuming that the input is in exactly the format that Granary would have emitted. How would you like me to handle this? |
hey ben, i'm glad you're getting back to this! thank you!
absolutely right, i agree. i don't actually expect all round trip conversions like that to be idempotent. most of the file sets in also, if the test data approach is just too awkward altogether for testing something specific, feel free to add code-based tests to thanks again! |
This means that Instagram username and hashtags, etc. will now be hyperlinked in JSON Feeds the same way they are in Atom feeds.
This is ready to be reviewed! I changed the tests in a way that made sense to me, but let me know what you think. |
looks great. thank you again for sticking with this! |
deployed! |
Awesome! Glad I could help 😃 |
See #148.
This isn’t ready yet; I’m only opening a PR so that I can see the CI output.