Comments (11)
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!
from granary.
@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?
from granary.
@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
from granary.
Clearly you need a microformats nascar button!
from granary.
omg i know you're joking but i am totally using that
from granary.
Was totally not joking!
from granary.
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.
from granary.
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.
from granary.
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
from granary.
ah, good call, thanks. (and yet another reminder i should really be using mf2util already. :P)
from granary.
deployed!
from granary.
Related Issues (20)
- Unescaped character in summary HOT 3
- h-entry not being found on homepage HOT 6
- Add the tags to the message/tweet HOT 7
- API: Mastodon support for public (unauthenticated) timelines
- add snippet generation HOT 1
- “white-space: pre” prevents words from wrapping in tweet bodies HOT 7
- Issue with text-first render of some post types HOT 3
- published/updated not always populating (HTML to Atom) HOT 5
- standardize on `to/from_as1` function names
- Add Blog Archive Format support HOT 1
- Bluesky data conversion: rich text facet support HOT 1
- Bluesky data conversion: quote support HOT 1
- Mastodon per-user feed support HOT 9
- Nostr: Bad Request response for datetime HOT 1
- Migrate microformats2 to use proper HTML templating
- Support for moderation activities HOT 8
- Can't pip install due to Google dependency conflict HOT 7
- Bluesky photo-only replies are interpreted as photo objects HOT 3
- HTML to Atom: title element has encoded HTML HOT 4
- Exclude boosts and replies from @friends feed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from granary.