Steemit Condenser Contributions: native RSS feeds

in development •  3 months ago  (edited)

View this post on Hive: Steemit Condenser Contributions: native RSS feeds


I recently realised that the Steemit Condenser app doesn't support RSS feeds. I mean, you cannot access any of our content feeds in RSS format for integration with other news aggregators such as Flipboard or Paper.li or the popular Zapier and IFTTT. RSS is an old technology but still in use today by many services so I thought it would be worth spending some time implementing one for Steemit.

My first thought was to use the existing code and just override the output to RSS instead of HTML but it was a bigger challenge than I thought. But thanks to @netuoso for pointing me to the right direction by mentioning the existence of a JSON API: by adding .json to the end of a Steemit URL, you can access the JSON format of the page you are on, for example my profile URL is https://steemit.com/@quochuy so simply add .json to access the JSON object, like this https://steemit.com/@quochuy.json

Using the same principal, I implemented a set of scripts that allows you to access RSS feed of various URLs by just adding .rss to them.

Here is an example of my blog posts as an RSS feed:
User blog posts as RSS Feed

Current support

I've currently added support for RSS feeds to the following pages:

  • user blog posts: https://steemit.com/@<username>.rss
  • user's comments: https://steemit.com/@<username>/comments.rss
  • user's replies: https://steemit.com/@<username>/replies.rss
  • new blog posts created on the platform: https://steemit.com/created.rss
  • trending blog posts created on the platform: https://steemit.com/trending.rss
  • hot blog posts created on the platform: https://steemit.com/hot.rss
  • blog posts in the specified category: https://steemit.com/<category>.rss

Example of potential use

Flipboard magazine

I use Flipboard to read news articles about various topics when commuting. It allows you to create your own magazine by selecting topics or adding RSS feed as content source. I've done a test with Steemit RSS feed and it works like a charm.

Here I'm adding the RSS feed as source content in Flipboard iOS.

Flipboard iOS

Adding RSS feed to Flipboard iOs

After the RSS added and loaded, a new magazine appears and I can start browsing it.

Natural Medicine magazine in Flipboard

Natural Medicine magazine content

Tapping on one of the content will open the article on Steemit inside an internal browser.

Natural Medicine article

Natural Medicine full bleed image in Flipboard

On iPad it looks even better with nice easy-to-read fonts. Opening an article also renders the article without Steemit interface in a PDF like article and you still have the ability to open the original URL.

IMG_0342.PNG

IMG_0343.PNG

Paper.li newspaper

Paper.li is similar to Flipboard that can be viewed in a browser. The same RSS feed works in Paper.li just as easily as it worked in Flipboard

FireShot Capture 048 - Thursday, Dec. 26, 2019 - The Na_ - https___paper.li_qhphotography_1577354954.jpg

Other ideas of usage

  • connect to Zapier or IFTTT to send an email when your favourite author posts a new content
  • add the feed to a RSS feed reader browser extension so you always get a feed of latest content in your favourite category
  • connect the RSS feed to your personal website to automatically integrate your Steem blog.
  • many more...

Plan for the future

I'm planning to implement an RSS feed for user's transfers. Imagine you could connect your transfers feed to Zapier which then can pass the data to a webhook on your online store that then can verify the MEMO and validate an order. That could be an easy way to use STEEM as payment method.

Steemit Condenser Pull Request

This feature is not out yet, a pull request has been created for inclusion in the new Communities beta: https://github.com/steemit/condenser/pull/3659. Once approved and merged, it will be available when Communities will be released to the public


Vote for my witness
Support @quochuy Witness.jpg
On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the communities.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

RSS feed very nice this sounds interesting for this place.. :)

Any chance you can change the urls to something like https://condenser.host/~rss/@username and https://condenser.host/~json/@username?
The reason asking is that there are accounts with .rss or .json in their username and the current implementation makes it impossible to view these accounts on a condenser page.

I’ll raise it as a separate issue as this change will affect anything apps that uses the old url format.

Posted using Partiko iOS

This seems like a great addition to the platform.

  • user blog posts: https://steemit.com/@username.rss
  • blog posts in the specified category: https://steemit.com/<category>.rss

Would it be possible to get a user's blog posts within a particular category, for example so I could have an RSS feed of just my "gaming" content without also including my "actifit" posts?

Thanks for the suggestion.
I’ll see what the APIs offers in terms of filtering options.

Posted using Partiko iOS

Great stuff, @quichuy! Wishing you all the best for 2020!

Thanks.
Best wish for the new year!

Posted using Partiko iOS

The RSS feeds are an incredibly handy feature @quochuy! I ran into needing them a while back and discovered that eSteem provides them but this change would make things much simpler.

A feature that I keep day dreaming about is being able to push RSS content to Twitter automatically from Steemit. Being able to set custom hashtags for the tweet each time I post would be handy also. Basically something like what sites like https://dlvrit.com/ do but baked into the web frontend or in your case the Condenser app.

I think that this kind of social integration and automated cross-posting would help with Steem #onboarding and encourage more current users to share their Steem content to other social platforms.

Thanks for the feedback.

I don’t think the Condenser can automate posting of tweets as there is no backend process that would run on a regular basis to post them. You can probably use Zapier or IFTTT to read the RSS and send tweets.

Posted using Partiko iOS

Thanks for the clarification.

If you just want to auto tweet all of your steem posts that's already possible. I was writing about it lately in this article,

https://steemit.com/posh/@niallon11/auto-tweet-your-steem-posts

and there is a step by step here to set it up.

https://steemit.com/steem/@horpey/share-steem-post-to-twitter-with-hashtags-automatically-for-good-steem-impression-on-twitter

I've alo set it up to share my tweets to a Facebook group and it's great to automate all of it while getting extra views.

I made a similar article recently but my point is that it would be nice to not have to use external sites/services (especially centralized ones) to accomplish auto posting to Twitter or other platforms.

Very cool! I know that esteem recently added RSS, and I've been using steemrss.com. It'll be nice to have it available from all condenser sites, though. I didn't know about the .json trick, either, so thanks for the tip!

I guess when it’s approved and merged, the other condenser sites can pull it into their codebase too.

Posted using Partiko iOS

That's awesome. Like really really awesome. I didn't know about the .json at the end of a url.

Nice work on the rss. It would be awesome to pull a community feed to my website. I need to look at this post again, resteemed to remind me

That .json makes it even easier than querying the blockchain with steemjs 😂

Posted using Partiko iOS

Congratulations @quochuy! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Your post got the highest payout on one day

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hi, @quochuy!

You just got a 1.31% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Congratulations @quochuy!
Your post was mentioned in the Steem Hit Parade in the following category:

  • Pending payout - Ranked 1 with $ 76,9

Congratulations @quochuy, you have received a 80% upvote. I'm the Vietnamese Community bot developed by witness @quochuy and powered by community SP delegations

end of the year and we have this good news with this steem group

awesome wow

Excellent work @quochuy .

Thanks for the post.

@quochuy please be aware that for no reason you autofollow ocd flags on me, i thought you will notice withotu me writing but seems not. please remove me from the list of whitelist.

thank you.

I’m not following OCD, however I do follow Trafalgar who seemed to have downvoted some of your posts, probably due for some vote buying from some bots. I’ll review my config

Posted using Partiko iOS

i did NOT buy single bot vote... seems traf is misconfigured. please fix.

thanks!

  ·  3 months ago Reveal Comment

Downvoted for vote farming @steemflagrewards
Self vote all-star ⭐️⭐️ Keep waiting until day 6 to try and sneak them in. Great job!!! Gotta keep those self vote stats up.

Screen Shot 20200103 at 10.49.43 PM.png

I asked my self, how the hell is @bigdaddy so lucky, turns out:

Screen Shot 20200103 at 10.51.13 PM.png

Haha, you can't make this shit up. ~68%? That's got to be some sort of record for self voting?!

Nope not even close.

Back in the days of @sadkitten, there were several 100% self-voters.

Also, this old meme.

https://steempeak.com/dmania/@enforcer48/when-you-are-so-close-to-self-vote-nirvana-but-you-still-have-a-shread-of-humanity-left-zg1hbmlh-z3uny

He threatened @Azircon that his plan was to just make more self voting accounts if he didn't get his way.. LMAO

you misread, i said i wont do what he likes and makes 100s of accounts to fake stats like those guys do. of course u are in voting-circle so u dont care.

  ·  3 months ago (edited)

LMAO, I don't trade votes with anyone.
Get out of here with that shit. Nice try though.

ME:

Screen Shot 20200104 at 11.38.53 PM.png

My Alt

Screen Shot 20200104 at 11.41.00 PM.png

You

Screen Shot 20200104 at 11.39.37 PM.png

More than half your graph is you voting yourself. That doesn't even account for the 13k steem power I have delegated to curation and other initiatives. Almost as much steem power as you own. But I'll fix that. I'll buy 3k more steem so that I can be sure I've got more delegated off my alt than the Crypto OG has actual SP.

Ouch.... someone just needs to act right and quit trying to work the system for his own personal gain. Being that he is the crypto OG an all. DHAHAHAHA That is just dumb right there. Great info once again @joshman.

LOL allright. im not type of a guy who have revenge, so just enjoy you are off my radar ;) and no i dont think those stats show real things as u can make (just using after others) - kingd king-witness (top witness making loads a day!) kingfund teamking acidking kingkp ingkkp etc. you can this way spread the stats in crazy ways.but its your stake, i just dont like when one uses stake he got for free for upvotes and uses it different.

cheers. not gonna flag you anymore just wanted to do a reply.