Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g0v 官網自動抓取多個 kktix 組織的活動 #126

Merged
merged 1 commit into from
Apr 18, 2015
Merged

Conversation

shelling
Copy link
Member

by @ipaaa
g0v.tw右上方的最新活動以後就自動抓各松的訊息,只要有開松,就去 github 登記自己的活動 kktix,以後就會自動更新

@ipaaa
Copy link
Member

ipaaa commented Feb 25, 2015

各松主辦請到 issue #127 登錄kktix活動網址

@audreyt
Copy link
Member

audreyt commented Mar 3, 2015

@hlb 說可以用 https://kktix.com/events?utf8=%E2%9C%93&search=g0v&start_at=2015%2F01%2F01&end_at=&category_id= 來自動取得內容有 g0v 的活動,也許可以參考。

@hlb
Copy link
Member

hlb commented Mar 3, 2015

這樣的缺點是會抓到不是 g0v 辦的活動...... :P

@ipaaa
Copy link
Member

ipaaa commented Apr 5, 2015

目前有的帳號
http://g0v-tw.kktix.cc/ 原帳號
http://g0v-jothon.kktix.cc/ 揪松團(雙月大松)
http://fr0ntend.kktix.cc/ 零時教學松(設計松)
http://g0v-mini.kktix.cc/ g0v 迷你松
萌典松

@audreyt
Copy link
Member

audreyt commented Apr 5, 2015

萌典松是 http://moe.kktix.cc/

@shelling shelling self-assigned this Apr 5, 2015
@shelling
Copy link
Member

shelling commented Apr 5, 2015

@hlb 有 JSONP 可以用嗎

@hlb
Copy link
Member

hlb commented Apr 6, 2015

@shelling 目前只有提供 RSS

@shelling
Copy link
Member

shelling commented Apr 7, 2015

@hlb 哭哭,那只好每次 deploy 就 parse 一次 RSS 進 g0v.tw 了。還是我可以推坑 @poga 做個 cross-domain JSON API

@hlb
Copy link
Member

hlb commented Apr 7, 2015

@shelling 既然你都許願了......

@shelling
Copy link
Member

shelling commented Apr 7, 2015

只好過兩天殺到 @poga 家找他 XD

@poga
Copy link
Member

poga commented Apr 7, 2015

🤘

@yhsiang
Copy link
Member

yhsiang commented Apr 7, 2015

@poga v5 💯

@hlb
Copy link
Member

hlb commented Apr 16, 2015

@SarsTW
Copy link

SarsTW commented Apr 16, 2015

Cool !!!

@shelling
Copy link
Member

@hlb 🚀

@shelling
Copy link
Member

之前已經有人放了 eventsPromise 接 www.kimonolabs.com
解票輕鬆不少

@shelling
Copy link
Member

@ipaaa 側邊欄的 Upcoming Events 好啦,actinfo 再另外開一個 PR 好了

.controller EventCtrl: <[$q $http $scope]> ++ ($q, $http, $scope) ->
$scope.events = []

$scope.event-sources = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$scope.event-sources = <[
  http://g0v-jothon.kktix.cc/events.json
  http://g0v-tw.kktix.cc/events.json
  http://moe.kktix.cc/events.json
  http://g0vlawthon.kktix.cc/events.json
  http://fr0ntend.kktix.cc/events.json
]>

- Dynamically creating promises in EventCtrl
- Remove eventsPromise
- Filter out out-of-date events
- Concat events from promises
shelling added a commit that referenced this pull request Apr 18, 2015
g0v 官網自動抓取多個 kktix 組織的活動
@shelling shelling merged commit 4caf76d into master Apr 18, 2015
@clkao clkao deleted the activity-list branch April 18, 2015 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants