Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronnywang/newsdiff
https://github.com/ronnywang/newsdiff
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ronnywang/newsdiff
- Owner: ronnywang
- Created: 2013-08-15T09:25:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T15:31:56.000Z (over 5 years ago)
- Last Synced: 2024-10-18T07:49:02.962Z (3 months ago)
- Language: HTML
- Size: 2.82 MB
- Stars: 25
- Watchers: 10
- Forks: 10
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-g0v - newsdiff - NewsDiff 官方新聞稿異動情況站 (Media / 新媒體 / 經濟活動(生產及各類執照、不動產與金融、國際貿易))
README
NewsDiff
========找出新聞修改的記錄
成果 http://newsdiff.g0v.ronny.tw/
以上程式碼以 BSD License 公開
程式說明
========
* webdata/scripts/table-build.php
* 建立資料表
* webdata/scripts/crawler-new.php
* 從所有新聞來源取得個別新聞的網址
* webdata/scripts/crawler-one.php
* 逐一取得新聞內容,因為執行效率不好所以不再使用
* webdata/scripts/crawler-part.php
* 同時執行多個程序來取得新聞內容,第二個參數是總數(分母),第一個參數是餘數。假設要同時執行兩個程序,參數就是 0 2 與 1 2
* webdata/scripts/exporter.php
* 打包新聞內容執行範例
========
*/10 * * * * php webdata/scripts/crawler-new.php
* * * * * php webdata/scripts/crawler-part.php 0 2
* * * * * php webdata/scripts/crawler-part.php 1 2