幸福飞过海 - [分享] 用 PHP 写了一个 Transmission 的 RSS 下载 的评论 https://fengqi.me/php/246.html zh-CN 项目地址: Transmission RSS目前支持的有 CHD/CMCT/TTG/OPENCD, 其它 PT 我没有账号无法确定适配, 因为 XML 格式可能不一样.使用方法:git clon... Wed, 16 May 2018 07:44:44 +0000 Wed, 16 May 2018 07:44:44 +0000 风起 https://fengqi.me/php/246.html/comment-page-1#comment-39410 https://fengqi.me/php/246.html/comment-page-1#comment-39410 Wed, 16 May 2018 07:44:44 +0000 风起 在你的服务端终端啊

]]>
https://fengqi.me/php/246.html/comment-page-1#comment-39410#comments
bobbyman https://fengqi.me/php/246.html/comment-page-1#comment-39408 https://fengqi.me/php/246.html/comment-page-1#comment-39408 Mon, 14 May 2018 06:54:19 +0000 bobbyman 请问大神,我是一个菜鸟,
在上面地方输入这个命令?
git clone https://github.com/fengqi/transmission-rss.git transmission-rss
cd transmission-rss

]]>
https://fengqi.me/php/246.html/comment-page-1#comment-39408#comments
风起 https://fengqi.me/php/246.html/comment-page-1#comment-39396 https://fengqi.me/php/246.html/comment-page-1#comment-39396 Sun, 09 Apr 2017 05:52:44 +0000 风起 应该是抓取到的 xml 格式有问题, 你可以在 这一行输出下看看内容 https://github.com/fengqi/transmission-rss/blob/master/rss.php#L141

]]>
https://fengqi.me/php/246.html/comment-page-1#comment-39396#comments
greyhanttee https://fengqi.me/php/246.html/comment-page-1#comment-39395 https://fengqi.me/php/246.html/comment-page-1#comment-39395 Tue, 04 Apr 2017 08:01:23 +0000 greyhanttee 问题解决了。但是又出现了新问题:
PHP Notice: Undefined offset: 1 in /home/greyhanttee/transmission-rss/rss.php on line 76
PHP Warning: DOMDocument::loadXML(): Opening and ending tag mismatch: hr line 5 and body in Entity, line: 6 in /home/greyhanttee/transmission-rss/rss.php on line 141
PHP Warning: DOMDocument::loadXML(): Opening and ending tag mismatch: body line 3 and html in Entity, line: 7 in /home/greyhanttee/transmission-rss/rss.php on line 141
PHP Warning: DOMDocument::loadXML(): Premature end of data in tag html line 1 in Entity, line: 8 in /home/greyhanttee/transmission-rss/rss.php on line 141

这样是不是不影响使用呢?

]]>
https://fengqi.me/php/246.html/comment-page-1#comment-39395#comments
greyhanttee https://fengqi.me/php/246.html/comment-page-1#comment-39394 https://fengqi.me/php/246.html/comment-page-1#comment-39394 Tue, 04 Apr 2017 06:13:55 +0000 greyhanttee getSessionId() #1 /home/greyhanttee/transmission-rss/rss.php(171): Transmission->__construct('127.0.0.1,192.1...', 9091, '/transmission/', 'greyhanttee', '0000') #2 {main} thrown in /home/greyhanttee/transmission-rss/rss.php on line 66本人门外汉,求指教。不胜感激!]]> 大神您好!在使用代码时出现:
PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/greyhanttee/transmission-rss/rss.php:66
Stack trace:
#0 /home/greyhanttee/transmission-rss/rss.php(31): Transmission->getSessionId()
#1 /home/greyhanttee/transmission-rss/rss.php(171): Transmission->__construct('127.0.0.1,192.1...', 9091, '/transmission/', 'greyhanttee', '0000')
#2 {main}
thrown in /home/greyhanttee/transmission-rss/rss.php on line 66

本人门外汉,求指教。不胜感激!

]]>
https://fengqi.me/php/246.html/comment-page-1#comment-39394#comments