hupili / snsapi

Cross platform middleware for Social Networking Services: Twitter, Facebook, SinaWeibo, Renren, RSS, Email, Sqlite, ... (more coming)
http://snsapi.ie.cuhk.edu.hk
160 stars 53 forks source link

An auxiliary script to traslate GR format to SNSAPI's channel.json format #68

Closed hupili closed 11 years ago

hupili commented 11 years ago

Google Reader will be closed at 1 June, 2013....

I have hundreds of feeds there.

Call for an auxiliary script to translate GR export format to SNSAPI's channel.json format. This is not only to persist our subscription but also allow more flexible manipulation of those feeds.

hupili commented 11 years ago

@xuanqinanhai , GR is your favourite platform.

daimajia commented 11 years ago

I am also seeking solution...

in twitter , feedly say they would do something, you can see this http://blog.feedly.com/

twitter: https://twitter.com/feedly

and another solution this http://techcrunch.com/2013/03/13/the-google-reader-shutdown-is-yet-another-nail-in-feedburners-coffin/

Reeder which is the nicest google reader app in mac also say "Don't worry ,they would not die with google reader" this is the link : https://twitter.com/reederapp

this is my twitter: https://twitter.com/LinHuiwen

daimajia commented 11 years ago

there is a discussion : http://www.v2ex.com/t/62879

my id is RelativeLayout

aenon commented 11 years ago

Is there any web application that can replace Google Reader?

daimajia commented 11 years ago

@aenon there is ,but not easy to use

hupili commented 11 years ago

A good survey, which was posted three months earlier

http://www.geekpark.net/read/view/169609

aenon commented 11 years ago

Feedly is a nice application. It's better than GR ( since the most important function for GR was discontinued two years ago ).

http://www.feedly.com/home

I'm also giving "the old reader" a try

http://theoldreader.com/

hupili commented 11 years ago

I'm using feedly since the announcement. Good seamless integration. Still waiting for the translation script so that I could have finer grained control~ It's not hard.

hupili commented 11 years ago

The converter is pushed to dev.

Sample:

>>> print ht(1)
[INFO][20130528-205312][snspocket.py][home_timeline][272]Read 13 statuses
<0>
[(null)] at Thu, 25 Jul 2013 12:00:00 HKT 
  Article "2013 Multi-University Training Contest 2" is updated(published)! (http://acm.hdu.edu.cn/contests/contest_show.php?cid=456&PHPSESSID=not6trl7uu251kv5nfumblqbh2)
<1>
[scavin] at Tue, 28 May 2013 09:30:56 HKT 
  Article "VarieDrop – 批量生成多张不同尺寸图片" is updated(published)! (http://www.appinn.com/variedrop/)
<2>
[WWW.SINA.COM.CN] at Tue, 28 May 2013 20:25:00 HKT 
  Article "习近平:非洲充满希望和活力发展不可限量" is updated(published)! (http://go.rss.sina.com.cn/redirect.php?url=http://news.sina.com.cn/c/2013-05-28/202527249605.shtml)
<3>
[Riccardo Di Sipio] at Wed, 20 Jan 2010 18:12:23 HKT 
  Article "Pseudothreading with BASH" is updated(published)! (http://lookherefirst.wordpress.com/2010/01/20/pseudothreading-with-bash/)
<4>
[COS编辑部] at Mon, 27 May 2013 12:19:50 HKT 
  Article "第六届中国R语言会议(北京)纪要" is updated(published)! (http://cos.name/2013/05/6th-china-r-beijing-summary/)
<5>
[百度风云榜] at Tue, 28 May 2013 13:29:56 HKT 
  Article "2013年05月28日-今日小说排行榜" is updated(published)! (http://top.baidu.com/buzz?p=book)
<6>
[jnewland] at Mon, 27 May 2013 23:50:14 HKT 
  Article "Another Drinkup in Berlin!" is updated(published)! (https://github.com/blog/1514-another-drinkup-in-berlin)
<7>
[阮一峰] at Tue, 28 May 2013 14:34:22 HKT 
  Article "如何理解当代中国----《十亿消费者》读后感" is updated(published)! (http://www.ruanyifeng.com/blog/2013/05/one-billion-consumers.html)
<8>
[contact@applidium.com (Applidium)] at Thu, 23 May 2013 08:00:00 HKT 
  Article "Discover our showreel 2013!" is updated(published)! (http://applidium.com/en/news/showreel_2013/)
<9>
[Bolei] at Thu, 09 May 2013 20:36:03 HKT 
  Article "A Complete Review on Collective Motion" is updated(published)! (http://crowdbehavior.org/2013/05/09/a-complete-review-on-collective-motion/)
<10>
[(null)] at Thu, 31 Jan 2013 12:17:00 HKT 
  Article "Using Asocial Media Effectively" is updated(published)! (http://feedproxy.google.com/~r/22ideastreet/~3/u4lBW4_NT3Q/)
<11>
[(null)] at Wed, 29 May 2013 04:39:51 HKT 
  Article "农业部:去年财政草原投入超220亿&amp;nbsp;超1/3草原中重度退化" is updated(published)! (http://politics.people.com.cn/n/2013/0528/c1001-21648856.html)
<12>
[wangjingyu@36kr.com (wangjingyu)] at Tue, 28 May 2013 20:25:31 HKT 
  Article "8点1氪晚间版:不要迷恋哥,哥只是个传说" is updated(published)! (http://www.36kr.com/p/203622.html)

>>> lsc()

Current channels:
   * ch15. Recent Contests on Other OJs: RSS yes
   * ch17. 小众软件: RSS yes
   * ch8. 国内要闻-新浪新闻: RSS yes
   * ch14. Look here first!: RSS yes
   * ch4. 统计之都: RSS yes
   * ch16. 今日小说排行榜: RSS yes
   * ch3. The GitHub Blog: RSS yes
   * ch5. 阮一峰的网络日志: RSS yes
   * ch13. Applidium: RSS yes
   * ch2. Crowd Behavior & Psychology: RSS yes
   * ch1. 22 idea street: RSS yes
   * ch7. 国内新闻: RSS yes
   * ch12. 36氪: RSS yes
   * ch9. 新华网国际新闻: RSS yes
   * ch10. 港澳台_凤凰网: RSS yes

I converted my GR export xml to channel.json,

$cat t.py
from snscli import *
import pickle
import time
print time.time()
sl = ht(1000)
open('re.pickle', 'w').write(pickle.dumps(sl))
print time.time()
$python t.py
...
1369748770.71
...
1369749476.42

Finished querying 241 RSS in 11min. On average, less than 3 seconds for each feed.

hupili commented 11 years ago

As Lin pointed out, note another project. https://github.com/mjibson/goread

not working for yet...

daimajia commented 11 years ago

我猜测是人太多...导致goRead不可用,继续观望之...