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
{{ message }}
Repository navigation
treat posts with "name" as prefix of "content" as "notes" rather than articles #41
I'm less sure that you'd want to use the higher-level mf2util.interpret_feed method. It transforms the standard mf2 data from a page into a simpler format that expects certain properties and value types. It's what I want for Woodwind and for doing stuff like fetching a reply context, but I'm not sure if it'll ever be general enough for converting to AS
Activity
snarfed commentedon Sep 29, 2015
agreed! i'm hoping @kylewm's https://github.com/kylewm/mf2util does this so i can ride on its coattails. :P
karadaisy commentedon Sep 29, 2015
Yay! I would absolutely endorse using or copying
mf2util.util.is_name_a_titlehttps://github.com/kylewm/mf2util/blob/master/mf2util/util.py#L205I'm less sure that you'd want to use the higher-level
mf2util.interpret_feedmethod. It transforms the standard mf2 data from a page into a simpler format that expects certain properties and value types. It's what I want for Woodwind and for doing stuff like fetching a reply context, but I'm not sure if it'll ever be general enough for converting to ASAdd post-type-discovery algorithm
snarfed commentedon Apr 7, 2016
we started using
mf2util.post_type_discoveryas part of #81, so looks like this is already done! closing.