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

expose mf2 <=> atom conversions as service and UI #31

Closed
snarfed opened this Issue Aug 24, 2015 · 11 comments

Comments

Projects
None yet
3 participants
@snarfed
Owner

snarfed commented Aug 24, 2015

...specifically https://granary-demo.appspot.com/ . code will be easy; UI will probably be the tricky part (if any).

thanks to @voxpelli and @kartikprabhu for the inspiration!

@snarfed snarfed self-assigned this Sep 4, 2015

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 5, 2015

Owner

so this is pretty much all UI, and it's not at all clear to me how to integrate it with the existing UI. i tried a couple things and neither was very good. I'm open to ideas!

Owner

snarfed commented Sep 5, 2015

so this is pretty much all UI, and it's not at all clear to me how to integrate it with the existing UI. i tried a couple things and neither was very good. I'm open to ideas!

@kartikprabhu

This comment has been minimized.

Show comment
Hide comment
@kartikprabhu

kartikprabhu Sep 5, 2015

Contributor

@snarfed UI as in exposing it through a form? How about having a hfeed->atom link on the main page; then expose a form that takes a URL, looks for h-feed and spits out an atom+xml document?

Contributor

kartikprabhu commented Sep 5, 2015

@snarfed UI as in exposing it through a form? How about having a hfeed->atom link on the main page; then expose a form that takes a URL, looks for h-feed and spits out an atom+xml document?

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 5, 2015

Owner

@kartikprabhu sure, a separate page would work, but it'd be a bit clunky. my current attempt integrates it with the existing form that's shown when you auth with one of the silos, which is better, but also a bit clunky.

...or maybe I'm overthinking it and shouldn't worry so much about the UI. :P

Owner

snarfed commented Sep 5, 2015

@kartikprabhu sure, a separate page would work, but it'd be a bit clunky. my current attempt integrates it with the existing form that's shown when you auth with one of the silos, which is better, but also a bit clunky.

...or maybe I'm overthinking it and shouldn't worry so much about the UI. :P

@kylewm

This comment has been minimized.

Show comment
Hide comment
@kylewm

kylewm Sep 5, 2015

Collaborator

Clearly you need a microformats nascar button!
microformats-button

Collaborator

kylewm commented Sep 5, 2015

Clearly you need a microformats nascar button!
microformats-button

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 5, 2015

Owner

omg i know you're joking but i am totally using that

Owner

snarfed commented Sep 5, 2015

omg i know you're joking but i am totally using that

@kylewm

This comment has been minimized.

Show comment
Hide comment
@kylewm

kylewm Sep 5, 2015

Collaborator

Was totally not joking!

Collaborator

kylewm commented Sep 5, 2015

Was totally not joking!

@kylewm

This comment has been minimized.

Show comment
Hide comment
@kylewm

kylewm Sep 5, 2015

Collaborator

So yeah I was just thinking, microformats button would open up a form like you have for the other endpoints, but it would just have one query parameter for URL, and then would show output in the iframe like you have now.

Collaborator

kylewm commented Sep 5, 2015

So yeah I was just thinking, microformats button would open up a form like you have for the other endpoints, but it would just have one query parameter for URL, and then would show output in the iframe like you have now.

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 16, 2015

Owner

this is currently soft launched on https://granary-demo.appspot.com/ . it's not good enough - specifically, it only looks for mf2 (json/html) items at the top level, which doesn't really work - but it's a start.

Owner

snarfed commented Sep 16, 2015

this is currently soft launched on https://granary-demo.appspot.com/ . it's not good enough - specifically, it only looks for mf2 (json/html) items at the top level, which doesn't really work - but it's a start.

@kylewm

This comment has been minimized.

Show comment
Hide comment
@kylewm

kylewm Sep 16, 2015

Collaborator

It works well for individual permalink pages, seems like it will be quite nice with h-feed support.

In case it's useful, in Woodwind I look for an h-feed anywhere on the page and parse that, or fall back to the top level items https://github.com/kylewm/mf2util/blob/master/mf2util/interpret.py#L198

Collaborator

kylewm commented Sep 16, 2015

It works well for individual permalink pages, seems like it will be quite nice with h-feed support.

In case it's useful, in Woodwind I look for an h-feed anywhere on the page and parse that, or fall back to the top level items https://github.com/kylewm/mf2util/blob/master/mf2util/interpret.py#L198

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 16, 2015

Owner

ah, good call, thanks. (and yet another reminder i should really be using mf2util already. :P)

Owner

snarfed commented Sep 16, 2015

ah, good call, thanks. (and yet another reminder i should really be using mf2util already. :P)

snarfed added a commit that referenced this issue Sep 17, 2015

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Sep 17, 2015

Owner

deployed!

Owner

snarfed commented Sep 17, 2015

deployed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment