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

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

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

]]>
<![CDATA[greyhanttee]]> https://fengqi.me/php/246.html/comment-page-1#comment-39395 2017-04-04T08:01:23+00:00 2017-04-04T08:01:23+00:00 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

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

]]>
<![CDATA[greyhanttee]]> https://fengqi.me/php/246.html/comment-page-1#comment-39394 2017-04-04T06:13:55+00:00 2017-04-04T06:13:55+00:00 greyhanttee 大神您好!在使用代码时出现:
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

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

]]>