HelloZeroNet / HelloZeroNet/ZeroNet

Media objects in newsfeed

Open
#1,174 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.