Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Only short part of Blog gets posted #26

Closed
ghost opened this issue Feb 24, 2023 · 3 comments
Closed

Only short part of Blog gets posted #26

ghost opened this issue Feb 24, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@ghost
Copy link

ghost commented Feb 24, 2023

This is a lovely software, thanks!

When reposting a blog article, it only shows the first couple lines, not the entire post.

Example: note154gjecmpaqgffxg2ukdkf5qu94lpgfc9363e2q8slwpc5azh9a4sdv0x3p

Is it possible to also post the entire blog in the note?

@piraces piraces self-assigned this Feb 28, 2023
@piraces piraces added enhancement New feature or request question Further information is requested labels Feb 28, 2023
@piraces piraces moved this to Todo in rsslay project Feb 28, 2023
@piraces piraces added this to the 0.4.x milestone Feb 28, 2023
@piraces
Copy link
Owner

piraces commented Feb 28, 2023

Thanks @MaxHillebrand for reaching out!
Currently rsslay is trimming the description text to a max of 250 characters (+ title, comments link and official link).
I think we can adjust this limitation to provide either the full text or increase the limit... something configurable.

I'm currently checking some default restrictions of common relays:

  • nostream: 1MB
  • nostr-rs-relay: 128KB
  • me.untethr.nostr-relay: 1048576 characters
  • strfry: 65536 bytes

So I think you are right and we can increase and attempt to publish the whole post if it's not enourmous... Will implement and monitor it for issues!

@piraces
Copy link
Owner

piraces commented Feb 28, 2023

Hi @MaxHillebrand , I have implemented a new configuration setting via environment variable MAX_CONTENT_LENGTH which allows you to set the maximum length in characters to limit the content of the rss feeds. For the main instance I have set this option to 5000 chars, which I will be monitoring and I think it's a good average... If the content exceeds the 5000 chars you may go to the original blog post to finish read it.

Let me know what you think!

P.S. To be released in version v0.4.4

@ghost
Copy link
Author

ghost commented Mar 1, 2023

Thanks, this seems to be exactly what I was looking for.

Well done on the swift implementation!

@ghost ghost closed this as completed Mar 1, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in rsslay project Mar 1, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
Status: Done
Development

No branches or pull requests

1 participant