Add support for item author #77

Closed
opened 2022-10-09 19:36:11 +00:00 by jtojnar · 3 comments

I have moved the tweet authorship out of title into the author field but it looks like the model does not support that.

Turns out it was previously undocumented so I added it to schema and made it null instead of empty string for unknown authors, targetting selfoss 2.19/API 6.0.0:

4f49455870

I have [moved the tweet authorship out of title into the `author` field](https://github.com/fossar/selfoss/commit/4f4945587049a146a13cd0bc136adb0f69c77d39) but it looks like the [model does not support that](https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/src/commit/023a30c00816f380fde4b9d836bf8e19282b0153/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/model/SelfossModel.kt#L68-L83). Turns out it was previously undocumented so I added it to schema and made it `null` instead of empty string for unknown authors, targetting selfoss 2.19/API 6.0.0: https://github.com/fossar/selfoss/commit/4f4945587049a146a13cd0bc136adb0f69c77d39
Contributor

Would it be ok to add it below the source title in the article reader?

Would it be ok to add it below the source title in the article reader? ![](https://gitea.amine-louveau.fr/attachments/Screenshot_20221010_124221.png)
AmineL added the
Type = Enhancement
Type = UX/Design
labels 2022-10-10 18:32:17 +00:00
AmineL added this to the Version 2 milestone 2022-10-10 18:32:22 +00:00
Owner

@davidoskky Twitter items do not open inside the article viewer.

This is displayed in the card view.
image

This is displayed in the list view
image

Not sure how/what would the author field would change.

@davidoskky Twitter items do not open inside the article viewer. This is displayed in the card view. ![image](/attachments/c9a66b5f-40e8-44fa-95b3-c8014c3edddb) This is displayed in the list view ![image](/attachments/a3b528e0-3c57-4fc0-9a21-d12b1e35134b) Not sure how/what would the author field would change.
Contributor

Also other spouts have an author field.
I'm unsure how useful that is however, often in blogs the author is always the same...

Also other spouts have an author field. I'm unsure how useful that is however, often in blogs the author is always the same...
AmineL added this to the Dev project 2022-12-26 20:50:27 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Louvorg/ReaderForSelfoss-multiplatform#77
No description provided.