-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add OpenGraph metadata #258
Comments
What does this do? |
I suggest enabling more Opengraph metadata on Shaarlis instead. Opengraph is a well known and widely used standard, and as far as I can see, the opengraph metadata properties supersede the h-card properties. Or does h-card do something that opengraph does not? There is no commit messages on #259 which doesn't help knowing what your edits actually do. Explaining in french is also fine. |
Hello @qwertygc, Could you elaborate a bit what h-cards are, and in which way(s) they could benefit to Shaarli?
Could you squash the commits from #259 and provide a more explanatory commit message? Here's an example:
|
sorry, it's more easy for me to speak in french. En gros les h-card permettent de rajouter de la sémantique. Les h-card sont un truc standardisés. Il est utilisé par indewebcamp (http://indiewebify.me/) pour faire un réseau social décentralisé, dans le même objectif que shaarli. À terme, je compte rendre totalement compatible avec ce qui est décrit (avec POSS rt webmentions et autres, cf leur wiki). Opengraph est quand a lui spécifique à Facebook et ne sert que ce dernier. Au final, voulez-vous etre asservi à facebook en utilisant un protocole quasiment propriétaire ou être libre en faisant quelque chose de décentralisé ? |
Opengraph n'est pas reconnu par le w3c hcard si. |
If you don't mind, I'll translate questions / remarks and answer to them in English :)
hCard is a microformat, that allows using HTML classes to add personal information semantics (see Wikipedia links for examples)
As far as the W3C is concerned, hCard is currently an experimental profile specification, derived from the vCard RFC:
Though it encourages self-hosting, and keeping an eye on your personal data, Shaarli has no decentralized nor social role by itself. RSS/Atom agregators, as well as Shaarli River, on the other hand, bring a decentralized, social (yet limited) dimension to Shaarli.
For Shaarli to be IndieWeb-ready, you'll need at least to:
There are plenty of examples of cool OpenSource projects delivered by corporate entities, that can be used for self-hosting:
By the very moment a piece of software has been declared Open Source, it tends to be assimilated by its community, which will fork it in case of a disagreement. The best examples that come to mind are most projects that were developed by Sun, and that have been forked when the company was bought by Oracle:
From an ethical point of view, I agree that it seems uncomfortable to use libraries developed by companies turning your personal data into profit, to design self-hosting solutions. The thing is, they may be more robust, more actively developed, and better documented, than many community-driven projects... |
While Shaarli doesn't have any social role by itself, I don't see any problem complying with a decentralized standard. If Shaarli's content can be understand through these standards, why not. Especially if it's only a matter of CSS classes and/or meta tags. However, h-card standard doesn't seem to be much known and used. There is no point complying with a standard if we're the only one to do so. I'll review your PR later if we decide to go with hcards. |
Je comprends les arguments et je les entends. Néanmoins, shaarli est bien décentralisé. mise a part le my de shaarli.fr, on est obliger de l'installer sur son serveur. Si on met pas les hcards, puis-je au moins améliorer shaarli à coup de et de ? |
Rhaa. De balise time et article |
OpenGraph has the advantage of being widely used already - a lot of services and applications, bot Free and proprietary - do publish and/or parse og metadata (by the way, the generic thumbnailer patch uses You could also use Minor point, Shaarli is not decentralized/distributed (just self-hostable), but using metadata as provided by OpenGraph or hCard could allow federation of Shaarlis. |
Ok for the minor point, you have understand my thought. The implantation is easy, because just template change. |
@qwertygc what do you want to achieve with hCard? Machine readability comes already with the atom feed. |
Includes: - og:title - og:type -> article - og:image -> if there is a thumbnail - og:url -> permalink - og:description -> first 300 chars of raw description - article:published_time - article:modified_time - article:tag -> one OG meta tag for each shaare tag Fixes shaarli#258
Includes: - og:title - og:type -> article - og:image -> if there is a thumbnail - og:url -> permalink - og:description -> first 300 chars of raw description - article:published_time - article:modified_time - article:tag -> one OG meta tag for each shaare tag Fixes shaarli#258
I do not want to re-open a similar issue, but I would also be interested in adding microformats semantic attributes/metadata on Shaarli... I would also be interested in developping a plugin to send linbacks (Pingback, Webmention). I have just written one for Pelican :) As this been totally dismissed ? Should I open another issue ? |
it's possible to implante h-entry on shaarli ?
The text was updated successfully, but these errors were encountered: