微信群好友文章列表(网页,JSON API, RSS Feed 2.0)永久免费给大家使用 - Wechat Group Sortable Rss Feed (API, RSS Feed and Web UI)steemCreated with Sketch.

in cn •  7 years ago  (edited)

English Version

I have created the following :

昨天在开发 微信机器人的时候就 和 @jubi 的想到一块了,既然已经有了微信群好友名单(通过以下API),为什么不弄个文章RSS列表

https://uploadbeta.com/api/steemit/wechat/?cached

白天的时候想了一整天,构思框架(主要是性能和易用性),今晚弄了2小时(没时间陪媳妇孩子),总算弄出来了:

JSON API

这个API用于返回最近3天(之后如果不太够用,可以增加至7天)微信群的好友文章列表。返回的信息有: 文章,点赞数,收益,时间,内容,标签 等

https://uploadbeta.com/api/steemit/wechat/feed/?cached

这是一个数组,每个数组元素是一个字典,对应一篇文章,字段有:

  • author
  • title
  • url
  • created
  • comments
  • categories
  • tags
  • net_votes
  • body
  • reward

参数

API 支持以下三个参数: sort, allow 和 disallow.

sort 参数指定结果输出的排序方法默认是按时间排序(time) 还可以是按点赞数排序(votes) 或者是按 收益排序 (rewards)。

allow 是指定名单:默认为空则输出所有好友。可以按逗号隔开ID,比如 justyy,tumutanzi

disallow 是黑名单:比如不想看 justyy 就可以传入 disallow=justyy

举三个例子用于说明:

这个API用了Cloudflare CDN 加速,缓存每小时更新一次,源数据源每2小时生成一次数据。

RSS 2.0 Feed

可以通过:

https://uploadbeta.com/api/steemit/wechat/feed/rss/?cached

来在各大RSS阅读器里导入文章列表(同时也支持以上的三个参数

比如我用 feedly 只导入我的文章:

效果如下:

WEB 阅读器 UI

最后,你可以用 我开发的WEB图形界面来阅读文章列表,可以按收益或者点赞排序,当然同时也支持以上的三个参数

比如:

显示所有文章:https://helloacm.com/tools/steemit/wechat/rss/
显示我和坛子的文章:https://helloacm.com/tools/steemit/wechat/rss/?allow=justyy,tumutanzi

是不是很好用?有木有?

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: cn cn-programming wechat steemit rss

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:  
  ·  7 years ago 

厉害厉害!!!

Your post is cool I really like your own work, have fun in this steemit, really beautiful this world friend, I hope you succeed in this steemit I will always support you, Give me time to see my post, see lah here @andriannaa

  ·  7 years ago 

好强大,不过FEED的输出内容是markdown源码,没有渲染,所以真实用起来体验……见下图。

Capture.PNG

不过还是赞这技术和热情。

  ·  7 years ago (edited)

嗯,这个我知道,把markdown 换成 html 简单,不过我得先测试一下,等成功了再弄上,之前的话,先点击原文链接吧

  ·  7 years ago (edited)

Fixed!

老赖是最棒的

  ·  7 years ago 

谢谢 JB 哥.

没技能懂得用但看来有用处。

  ·  7 years ago 

一个产品如果自己开发出来不用,那肯定不是好产品.我自己现在就用这个:
https://helloacm.com/tools/steemit/wechat/rss/

哈哈。那当然。👍

我觉得我有必要学点Python

太厉害了,感谢分享

  ·  7 years ago 

你好厉害,都是怎么做到的。。。。

  ·  7 years ago 

Python + PHP

  ·  7 years ago 

说的很好,但是看不懂。。。。

  ·  7 years ago 

這個強

为赖哥点赞~

非常感谢 这次终于可以用上RSS阅读器了
刷steem太慢了 容易错过好文章

用了这个之后,我在想是不是作者的点赞数会少了呢?

点赞还是要跳转到原链接啊

do no understand this language :(

  ·  7 years ago 

There is a paragraph of English in the beginning.

不明觉厉

期待着你最新生计后的软件闪闪发亮!

  ·  7 years ago 

Rss看帖很方便,谢谢了。