Comments (8)
What I would really like to see is a generic link rel discovery method for JSON formats in general. This would be something JSONFeed could adopt, and also something that WebSub could recommend as the discovery format for JSON documents. At least this way other JSON formats would have a standard to point to as well.
The Microformats 2 JSON format has been around for quite a long time and fits this bill. Basically it defines a dictionary as a top-level property of the JSON document that looks like this:
{
...your other json here...
"rels": {
"stylesheet": [
"/styles.css"
],
"hub": [
"https://switchboard.p3k.io/"
]
}
Any HTML link rels in the document are added to that part of the JSON document during parsing. This would certainly work as a generic JSON link rel format and could be written up as its own spec that JSONFeed and WebSub could support.
from jsonfeed.
Considering that w3c/websub#107 is now closed with no changes made to that spec, should the conclusion be that JSON Feed won't be WebSub compatible but rather just WebSub inspired?
Because either JSON Feed or WebSub has to change for the two to be compliant as the current wording of the two are not.
Sorry for being pushy about this, it's just that it would be great if we could ensure that the standards that emerge on the independent web stay as compatible and as compliant as possible when it comes to shared mechanisms π
from jsonfeed.
Thanks @voxpelli. I've also filed an issue on WebSub to relax the wording of how hubs are discovered: w3c/websub#107. Importantly, that change is small and wouldn't rule out extending WebSub to know about JSON documents in the future, which is a larger discussion.
from jsonfeed.
There is no standardized way to include link relations within JSON as there is within XML and HTML.
I think this is the view issue here. As much as I wish we should just add a discovery mechanism surgically for jsonfeed, what happens when socialfeed is stated? Etc...
from jsonfeed.
from jsonfeed.
@scripting WebSub is what was formerly known as Pubsubhubbub β so it's the format independent mechanism for delivering content in realtime
from jsonfeed.
from jsonfeed.
I think we can close this. There was a good discussion in the WebSub repository: w3c/websub#107
from jsonfeed.
Related Issues (20)
- Another swift JSONFeed Parser
- Confusing URL of βAnnouncing JSON Feedβ HOT 2
- https://validator.jsonfeed.org/ does not support v1.1 specification HOT 5
- Podcasting Feeds HOT 7
- Adopt Location Properties for Items HOT 1
- Maintainer Help HOT 3
- How is the website built? HOT 1
- jsonfeed.org/graphics/icon.png not found HOT 2
- What about optional date_epoch on items ? HOT 2
- MIME type issue
- www.jsonfeed.org cert expired HOT 1
- List supporting sites on the website HOT 1
- Matching functionality of Apple News format? HOT 6
- Add optional content_license string field for item objects
- Add Nikola plugin to https://www.jsonfeed.org/code/
- Feed from search results HOT 1
- Register format with IANA and IETF HOT 8
- Add jpmonette/feed
- Newspaper Userscript to jsonfeed.org/code/
- Top-level (tags)
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 jsonfeed.