HelloZeroNet / HelloZeroNet/ZeroNet

Media objects in newsfeed

Abierto
#1,174 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
18.8k
Forks
2.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
api
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.