Fixing steemRSS and deploying it

in #utopian-io7 years ago (edited)

Bug Fixes

  • What was the issue(s)?
    Streemian RSS services went down recently and @techslut asked me to help her find an alternative. We found out this repo which was last commited to half a year ago and the RSS service wasn't functional at all, it returned an internal server error at all times.

  • Describe briefly how you fixed the issue(s).
    I fixed async related bugs and some typos in variable names which made those errors. For example see tag.js changes in which I changed typos like menu or hashasProperty.

Most of the asynchronous code in tag.js wasn't working at all, logically. So I used promisifyin order to modernize some of the steem api methods to promises.

I also updated the steem api package and used the new steem api node instead of steemd node. Since it became unavailable on January 6th. So no "connection closed" errors come up from a websocket steem node.

I also deployed it to heroku in: https://techslut-rss.herokuapp.com
So its functional and usable for everyone.

Screenshots:
Screenshot_2018-01-20-08-11-05-362_com.android.chrome.png
The new landing page - dedicated to @techslut

Rss feed:
Screenshot_2018-01-20-08-12-49-325_com.android.chrome.png
All Rss feeds are now operational and not returning server error.

In order to see the URLs for the feeds you should look in the README file here and use the techslut-rss.herokuapp.com URL instead of the steemrss one.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @doriitamar I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you for the contribution. It has been approved.

Good work on including more information. I really like how you explained your choice for promisify.

The images are a nice touch.

Please keep you future posts very well documented, so everyone in the community wins.

You can contact us on Discord.
[utopian-moderator]

Thank you for this!!! <3 <3 <3

Your contribution cannot be approved because it is not as informative as other contributions. See the Utopian Rules. Contributions need to be informative and descriptive in order to help readers and developers understand them.

Please do go in details about the modifications you made, you need to take the time to write about it and explain your contribution.

Some visual material always help visualise the work and the results.

You can contact us on Discord.
[utopian-moderator]

I edited and elaborated. Hope it's sufficient now :)

@resteemator is a new bot casting votes for its followers. Follow @resteemator and vote this comment to increase your chance to be voted in the future!

didn't understand how can i create rss feeds from what you wrote her.
can you explain some more?

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 67779.88
ETH 2396.01
USDT 1.00
SBD 2.32