Skip to content
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
Closed
Labels
now

Comments

@tantek
Copy link
Contributor

@tantek tantek commented Sep 29, 2015

@snarfed
Copy link
Owner

@snarfed 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
Copy link
Collaborator

@kylewm 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
this is for snarfed/granary#41
among other potential uses
@snarfed snarfed added the now label Apr 7, 2016
@snarfed
Copy link
Owner

@snarfed 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.