wsmwason / gamer-to-rss
巴哈姆特小屋轉換 RSS
v1.0
2018-04-20 14:17 UTC
Requires
- php: >=5.4
- imangazaliev/didom: ^1.6
This package is not auto-updated.
Last update: 2024-09-22 04:50:27 UTC
README
巴哈姆特小屋轉換 RSS
关于此程序
巴哈姆特小屋轉換 RSS 格式提供閱讀器讀取用。 小屋其實有很多神人整理很多好東西,但是巴哈又不提供小屋的 RSS,然後我又不想登入… 所以…交給 Feedly 吧!
小屋創作 RSS
目前提供巴哈小屋的創作提供 RSS 转换,必须自行将此程序提供 Feedly 或其他 RSS 阅读器使用。 或者可以方便定期追踪特定的小屋自己设定通知提醒用。
通过 Composer 安装
$ composer require wsmwason/gamer-to-rss
示例
include('../vendor/autoload.php'); // 直接把帳號從 GET 傳入 $owner = isset($_GET['owner']) ? $_GET['owner'] : ''; // 從 GET 傳入欲抓取最大頁數 $maxPage = isset($_GET['maxCrawlPage']) ? $_GET['maxCrawlPage'] : 1; // 讀取帳號的資料 $GamerHomeCreation = new wsmwason\gamer\GamerHomeCreation($owner); $GamerHomeCreation->setOwner($owner); $GamerHomeCreation->setMaxCrawlPage($maxPage); $GamerHomeCreation->asXml();
许可证
MIT 许可证 (MIT)