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

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

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

Comments

Projects
None yet
3 participants
@tantek

tantek commented Sep 29, 2015

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 29, 2015

Owner

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

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

This comment has been minimized.

Show comment
Hide comment
@kylewm

kylewm Sep 29, 2015

Collaborator

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

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 added a commit to kylewm/mf2util that referenced this issue Oct 28, 2015

Add post-type-discovery algorithm
this is for snarfed/granary#41
among other potential uses

@snarfed snarfed added the now label Apr 7, 2016

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Apr 7, 2016

Owner

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

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