HelloZeroNet / HelloZeroNet/ZeroNet
Media objects in newsfeed
- Langage dominant
- JavaScript
- Étoiles
- 18.8k
- Forks
- 2.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Some blogs are art-centric and have posts with no text at all, sometimes even without titles, so it's hard to get them into newsfeed. Also all popular sites such as facebook and twitter have media objects in newsfeed, and it's pretty.
I propose two new fields in the [`feedFollow`](https://zeronet.readthedocs.io/en/latest/site_development/zeroframe_api_reference/#plugin-newsfeed) command:
- `media_url`: url of the media object
- `media_type`: one of `{'image', 'video', 'audio'}`
I think one media object per record would be enough. If user is interested, he can follow the link to view all content.
Please, share your thoughts.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start with the feedFollow command in the linked ZeroFrame API reference and trace its implementation and existing tests. Determine where feed records are assembled and how media URLs and types would be represented; the work is done when the API behavior and coverage clearly support the proposed media fields.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- api
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100