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

hack.g0v.tw 上的固定連結,產生不會 404 的靜態頁面 #56

Open
audreyt opened this issue Oct 15, 2016 · 4 comments
Open

hack.g0v.tw 上的固定連結,產生不會 404 的靜態頁面 #56

audreyt opened this issue Oct 15, 2016 · 4 comments

Comments

@audreyt
Copy link
Member

audreyt commented Oct 15, 2016

從這裡: http://beta.hackfoldr.org/g0v-hackath21n
產生: g0v-hackath21n.html
網址相同,但分享時不會 404

詳見 http://www.slideshare.net/autang/hackfoldr-pdistw/13

@audreyt audreyt changed the title hack.g0v.tw 上的長期專案,產生不會 404 的靜態頁面 hack.g0v.tw 上的固定連結,產生不會 404 的靜態頁面 Oct 15, 2016
@JmeHsieh
Copy link

「靜態頁面」有包含到 hackfldr 的每個連結內容嗎?

@audreyt
Copy link
Member Author

audreyt commented Oct 15, 2016

以這個 ticket 來說是不用,應該只要把 .csv (.csv.json) 展開到 .html 裡即可。

包含內容的如果要在 hackfoldr-2.0 實作,也許另開一個 ticket?

@JmeHsieh
Copy link

JmeHsieh commented Oct 15, 2016

了解
如果是需要定期把 .csv.json 放到 github 上,我之前剛好開了一個 repo 在做這件事,不曉得用不用得上。

背後的程式碼在這邊
缺點是一天備份一次,可能不夠即時。
不曉得 ethercalc 有沒有類似 google doc的 編輯通知?如果有的話或許就可以近似即時備份了。

@audreyt
Copy link
Member Author

audreyt commented Oct 15, 2016

目前沒有,也許可以用先自己寫一個每分鐘 poll 的 bot(例如 https://ethercalc.org/log/g0v-hackath2n )? 這樣未來要做 Zapier 或 Slack integration 等外掛都容易很多。

另外就是需要建立一個相應的 .html 去讀 .csv.json(或是直接內嵌在 html 裡)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants