home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents 0.70 Stable [Updated 13-10-2012]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CaNe|" data-source="post: 487985" data-attributes="member: 62304"><p>Hi Glassjaw, </p><p></p><p>i had a look into it, and the problem was, that the rss link points at least in the demonoid and the mininova feed to the details page of the torrent and not to the torrent itself. Due to this MyTorrents downloads the content of the details page and assumes it just got handed a torrent file.</p><p></p><p>So I modified the rss parser to support a transformation of the rss item links. In the MyTorrents.xml file it looks somewhat like this:</p><p></p><p>[CODE]</p><p><rss></p><p> <feed></p><p> <title>MiniNova</title></p><p> <description>MiniNova</description></p><p> <url>http://www.mininova.org/rss.xml</url></p><p> <expires>400</expires></p><p> <transform></p><p> <origin>http://www.mininova.org/tor/(?&lt;TID&gt;\d*)</origin></p><p> <basedownload>http://www.mininova.org/get/</basedownload></p><p> </transform></p><p> </feed></p><p></rss></p><p>[/CODE]</p><p>the important thing happens in the transform part. Mininova rss feed links look like <a href="http://www.mininova.org/tor/TORRENTID" target="_blank">http://www.mininova.org/tor/TORRENTID</a> and the download links <a href="http://www.mininova.org/get/TORRENTID" target="_blank">http://www.mininova.org/get/TORRENTID</a>. So you just have to get the TorrentID via a Regular Expression and then provide a base download link. In the example with Mininova this would be "http://www.mininova.org/get". Be careful in the regular expression, cause you have to replace the "<" with "&lt;" and ">" with "gt;", so the xml is still parseable. Also the regular expression, has to contain the place holder TID, which identifies the TorrentID in the Link. </p><p></p><p></p><p>Greets CaNe</p><p></p><p>P.S.: This is based on the on the 0.69-NOT-QUITE-SO-OFFICIAL-RELEASE-COZ-IT-STILL-NEEDS-TESTING release. So don't be surprised if there are some minor changes in the setup <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="CaNe|, post: 487985, member: 62304"] Hi Glassjaw, i had a look into it, and the problem was, that the rss link points at least in the demonoid and the mininova feed to the details page of the torrent and not to the torrent itself. Due to this MyTorrents downloads the content of the details page and assumes it just got handed a torrent file. So I modified the rss parser to support a transformation of the rss item links. In the MyTorrents.xml file it looks somewhat like this: [CODE] <rss> <feed> <title>MiniNova</title> <description>MiniNova</description> <url>http://www.mininova.org/rss.xml</url> <expires>400</expires> <transform> <origin>http://www.mininova.org/tor/(?<TID>\d*)</origin> <basedownload>http://www.mininova.org/get/</basedownload> </transform> </feed> </rss> [/CODE] the important thing happens in the transform part. Mininova rss feed links look like [url]http://www.mininova.org/tor/TORRENTID[/url] and the download links [url]http://www.mininova.org/get/TORRENTID[/url]. So you just have to get the TorrentID via a Regular Expression and then provide a base download link. In the example with Mininova this would be "http://www.mininova.org/get". Be careful in the regular expression, cause you have to replace the "<" with "<" and ">" with "gt;", so the xml is still parseable. Also the regular expression, has to contain the place holder TID, which identifies the TorrentID in the Link. Greets CaNe P.S.: This is based on the on the 0.69-NOT-QUITE-SO-OFFICIAL-RELEASE-COZ-IT-STILL-NEEDS-TESTING release. So don't be surprised if there are some minor changes in the setup ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents 0.70 Stable [Updated 13-10-2012]
Contact us
RSS
Top
Bottom