Mastodon related RSS 2 Mastodon Post - duplicated posts and possibility to add tags #233

Closed
opened 2022-12-09 15:21:38 +01:00 by cenobitz · 2 comments

Hello.

Thanks for great tool for reposting RSS.

  1. DUPLICATED - I got duplicated posts. No matter what RSS I copy'n'paste it always post duplicated in the same time.. you can try 10 posts or event 1. I tried API (curl) call and it gives only 1 post

  2. TAGS - is there posibility to create tag from category and put description (intro text) from RSS into Mastodon Post?

For now I did 1:1 files exact as in tutorial. on Debian 10, python 2.7 + platypush, dedicated server, virtualized KVM + api calls incoming from another node / VM. 8 cores 32 GB RAM. Load avarage 0,2

Source RSS file was checked in validator. It comes from Joomla CMS - tip top.

Regards, Maciej

Hello. Thanks for great tool for reposting RSS. 1) DUPLICATED - I got duplicated posts. No matter what RSS I copy'n'paste it always post duplicated in the same time.. you can try 10 posts or event 1. I tried API (curl) call and it gives only 1 post 2) TAGS - is there posibility to create tag from category and put description (intro text) from RSS into Mastodon Post? For now I did 1:1 files exact as in tutorial. on Debian 10, python 2.7 + platypush, dedicated server, virtualized KVM + api calls incoming from another node / VM. 8 cores 32 GB RAM. Load avarage 0,2 Source RSS file was checked in validator. It comes from Joomla CMS - tip top. Regards, Maciej
Owner

DUPLICATED - I got duplicated posts. No matter what RSS I copy'n'paste it always post duplicated in the same time.. you can try 10 posts or event 1.

This shouldn't be the case. To investigate what's going on I'd need to know whether you get duplicate events on the logs (i.e. NewFeedEntryEvent lines with the same item reported twice) or duplicate notifications (i.e. one event per feed item but the hook posts it twice). It'd be nice if you could share the full logs. Also, does it happen only on the first sync of a feed or also after that?

TAGS - is there posibility to create tag from category and put description (intro text) from RSS into Mastodon Post?

If you mean parsing the <category> fields of the items and returning them in the event, yes it should be possible - and I can probably wrap up a PR for that quite quickly.

> DUPLICATED - I got duplicated posts. No matter what RSS I copy'n'paste it always post duplicated in the same time.. you can try 10 posts or event 1. This shouldn't be the case. To investigate what's going on I'd need to know whether you get duplicate _events_ on the logs (i.e. `NewFeedEntryEvent` lines with the same item reported twice) or duplicate _notifications_ (i.e. one event per feed item but the hook posts it twice). It'd be nice if you could share the full logs. Also, does it happen only on the first sync of a feed or also after that? > TAGS - is there posibility to create tag from category and put description (intro text) from RSS into Mastodon Post? If you mean parsing the `<category>` fields of the items and returning them in the event, yes it should be possible - and I can probably wrap up a PR for that quite quickly.
Owner

I have responded to the duplicate entry issue on Mastodon - it's quite likely due to the same script copied in two places under the configuration folder.

About tags - they have been added (together with the author attribute) in the most recent version.

I have responded to the duplicate entry issue on Mastodon - it's quite likely due to the same script copied in two places under the configuration folder. About tags - they have been added (together with the `author` attribute) in the most recent version.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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: platypush/platypush#233
No description provided.