nek7u / FeedMoe

A Rainmeter skin for RSS feeds.
https://github.com/nek7u/FeedMoe/wiki
Other
8 stars 1 forks source link

RSS magnet feeds from subsplease.org did not appear #8

Closed ghost closed 3 years ago

ghost commented 3 years ago

RSS torrent work just fine but RSS magnet link is don't and the RSS version is 2.0

RSS Main link: https://subsplease.org/rss-feeds/ Torrent feeds link (1080p): https://subsplease.org/rss/?t&r=1080 Magnet feeds link (1080p): https://subsplease.org/rss/?r=1080

nek7u commented 3 years ago

FeedMoe skin can have http or https links only, for security reasons. I don't have a plan to support magnet links for now. So could you edit/customize the file by your self?

Skin.ini

[Variables]
@Include1=#@#Variables.inc
@Include2=#@#lang\#LANG_FILE#
@Include3=#@#FeedMoe.RSS2.inc

FEED_URL=https://subsplease.org/rss/?r=1080
ITEM_LINK_SUBSTITUTE="(?si)^(?(?!magnet:).+)":""

FEED_TITLE=
ITEM_TITLE_SUBSTITUTE="\[SubsPlease\] ":""

FeedMoe\@Resources\Script.RSS2.lua (Line 140)

--      if(''~=SKIN:GetMeasure('msItemTitle'..j):GetStringValue() and string.find(SKIN:GetMeasure('msItemLink'..j):GetStringValue(), ilus)) then
        if(''~=SKIN:GetMeasure('msItemTitle'..j):GetStringValue() and (string.find(SKIN:GetMeasure('msItemLink'..j):GetStringValue(), ilus) or string.find(SKIN:GetMeasure('msItemLink'..j):GetStringValue(), 'magnet'))) then

2021-08-10_232624 174

ghost commented 3 years ago

yea sure. i don't know how to modify the file to show the magnet links, thx. and one more thing... could i create new issues for feature request (i have 2 things in mind)?

nek7u commented 3 years ago

Feel free to create new issue. Keep in mind, if you have 2 feature requests, then create 2 issues.