daniels:

Hello All,

I would like to copy all the posts from a given topic on LEDStrain, for example the topic "Laptop suggestions." This topic has 167 posts and when I scroll down, the URL continually changes. When I enter the "select all" command, I am only able to copy the text from the one of these many URLs that I happen to be on at the moment, that is, just a snippet of the whole discussion.

I need to do this because I cannot read through all the posts on my screen without getting symptoms. What I normally do is to copy the text I want to read onto my Kindle, which does not give me symptoms.

Does anyone know if there is a way I can get all of the posts onto my Kindle in one go (without having to select, copy, and paste 170 individual webpages (as that is the number of different URLs for this topic)?

Thank you in advance for your help!

Slacor:

https://flarum-discussion-export.val.run/
(Click and put in thread id. For this thread, you can try using 3365).


Unfortunately, there's no export of data to other formats beyond an API that can be used.
For this thread, you can go to https://ledstrain.org/api/discussions/3365 to see the JSON output about it.

The following script will output a discussions full post output.
You may also replace 341-laptop-suggestions with another discussion id, such as this one, 3365.

https://flarum-discussion-export.val.run/?discussion=341-laptop-suggestions

You may also change the output format.
The following formats are supported:

  • html (default)
  • plain
  • json

For example:

https://flarum-discussion-export.val.run/?discussion=341-laptop-suggestions&format=plain

More info

Good luck!

Slacor:

system action

daniels:

Thank you, much appreciated! I just opened this link:

https://tyler71--ae377ee0283c11f0bd5b569c3dd06744.web.val.run/?discussion=341-laptop-suggestions&format=plain

And I'm pretty sure that it is not the entire discussion thread (I'm almost certain it does not begin with the first post).

Is there a way to view the entire discussion in a format that is copyable-at-once?

Thanks very much again!

randomboolean:

daniels You can use Chatgpt, Gemini or Perplexity with DeepResearch mode. Just need a good prompt to go through each "page" of the post and copy step by step.

Or you can scroll the whole page, copy-paste to AI and ask to format in a better way. If the text is too long (which is probably the case) use Chatgpt prompt splitter (e.g. https://chatgpt-prompt-splitter.jjdiaz.dev/ ), or copy paste to doc and upload it.