Bitcoin Forum

Other => Meta => Topic started by: poemslab on January 11, 2021, 05:03:25 PM



Title: RSS link
Post by: poemslab on January 11, 2021, 05:03:25 PM
Hi, i would like to create discord bot which will publish new topics to the channel. How can i get rss link?


Title: Re: RSS link
Post by: LoyceV on January 11, 2021, 05:08:34 PM
As far as I know, Bitcointalk doesn't have an RSS link. I think TryNinja's API (https://bitcointalk.org/index.php?topic=5273824.0) is what you're looking for. That's probably easier than scraping Recent posts (https://bitcointalk.org/index.php?action=recent) by yourself.

I can also get you a file "latesttopic.txt" (similar to latestpost.txt (https://loyce.club/archive/posts/latestpost.txt)) if it helps.


Title: Re: RSS link
Post by: LeGaulois on January 11, 2021, 05:44:15 PM
There is an RSS, like any SMF forum, years ago people used Bitcointalk to auto-post content in mass on Twitter with their bots.

You should go to the home page, click-right on it, and then "view the source code of the page".
Then use your browser to search for "RSS" or using CTRL et F.

You will more easily find the link

Edit:
https://bitcointalk.org/index.php?type=rss;action=.xml

Quote
action=.xml is disabled due to slowness. If you use this, write a post in Meta explaining your usage

:/


Title: Re: RSS link
Post by: poemslab on January 11, 2021, 07:10:57 PM
As far as I know, Bitcointalk doesn't have an RSS link. I think TryNinja's API (https://bitcointalk.org/index.php?topic=5273824.0) is what you're looking for. That's probably easier than scraping Recent posts (https://bitcointalk.org/index.php?action=recent) by yourself.

I can also get you a file "latesttopic.txt" (similar to latestpost.txt (https://loyce.club/archive/posts/latestpost.txt)) if it helps.

Thank you


Title: Re: RSS link
Post by: poemslab on January 11, 2021, 07:19:06 PM
There is an RSS, like any SMF forum, years ago people used Bitcointalk to auto-post content in mass on Twitter with their bots.

You should go to the home page, click-right on it, and then "view the source code of the page".
Then use your browser to search for "RSS" or using CTRL et F.

You will more easily find the link

Edit:
https://bitcointalk.org/index.php?type=rss;action=.xml

Quote
action=.xml is disabled due to slowness. If you use this, write a post in Meta explaining your usage

:/

That's the problem


Title: Re: RSS link
Post by: Vod on January 11, 2021, 09:07:50 PM
That's the problem

You know the problem.
You know the solution.
You should explain your usage better than "discord bot" though.   The drain on forum resources is the same regardless if you serve the data to one or one million surfers.


Title: Re: RSS link
Post by: TryNinja on January 11, 2021, 09:26:00 PM
That's the problem
I have no idea how a RSS feed works or how they are formatted, but I could potentially try to create one from my data if there is demand.