treat posts with "name" as prefix of "content" as "notes" rather than articles #41

Closed
tantek opened this Issue Sep 29, 2015 · 3 comments

Projects

None yet

3 participants

@snarfed
Owner
snarfed commented Sep 29, 2015

agreed! i'm hoping @kylewm's https://github.com/kylewm/mf2util does this so i can ride on its coattails. :P

@kylewm
Collaborator
kylewm commented Sep 29, 2015

Yay! I would absolutely endorse using or copying mf2util.util.is_name_a_title https://github.com/kylewm/mf2util/blob/master/mf2util/util.py#L205

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

@kylewm kylewm referenced this issue in kylewm/mf2util Sep 29, 2015
Closed

consider flattening mf2util.util #7

@kylewm kylewm added a commit to kylewm/mf2util that referenced this issue Oct 28, 2015
@kylewm kylewm Add post-type-discovery algorithm
this is for snarfed/granary#41
among other potential uses
a8022f0
@snarfed snarfed added the now label Apr 7, 2016
@snarfed
Owner
snarfed commented Apr 7, 2016

we started using mf2util.post_type_discovery as part of #81, so looks like this is already done! closing.

@snarfed snarfed closed this Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment