-
Notifications
You must be signed in to change notification settings - Fork 1
[Guide] Variables of a Skin.ini
nek7u edited this page Oct 30, 2021
·
19 revisions
RSS feed example
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<item>
<title>Entry 2</title>
<link>https://www.example.com/blog/post/2</link>
</item>
<item>
<title>Entry 1</title>
<link>https://www.example.com/blog/post/1</link>
</item>
</channel>
</rss>
📝
Rainmeter\Skins\FeedMoe\{something}\Skin.ini
[Variables]
@Include1=#@#Variables.inc
@Include2=#@#Languages\#LANG_FILE#
@Include3=#@#FeedMoe.RSS2.inc
FEED_URL=https://news.yahoo.com/rss
ITEM_LINK_SUBSTITUTE="(?si)^(?(?!https://(?:[0-9a-z-]+\.)?yahoo\.com/).+)":""
FEED_TITLE=
ITEM_TITLE_SUBSTITUTE=
COLOR_BACKGROUND_HEADER_DARK=3E007E
COLOR_BACKGROUND_HEADER_LIGHT=3E007E
Variable Name | Type | Description | Examples |
---|---|---|---|
FEED_URL |
string, required value |
RSS 2.0/Atom or RSS 1.0 Feed URL | FEED_URL=https://news.yahoo.com/rss |
ITEM_LINK_SUBSTITUTE |
string, blank allowed |
"pattern":"replacement" , this value is for security purposes. This example, it verify the <link> address of each <item> and if it does not match, the <item> will not be displayed. |
ITEM_LINK_SUBSTITUTE="(?si)^(?(?!https://(?:[0-9a-z-]+\.)?yahoo\.com/).+)":"" |
FEED_TITLE |
string, blank allowed |
You can define your own title to the skin header. | FEED_TITLE=Yahoo! News |
ITEM_TITLE_SUBSTITUTE |
string, blank allowed |
"pattern":"replacement" , this value is for keyword filtering or shortening a word. You can hide the topics those you don't need. |
ITEM_TITLE_SUBSTITUTE="(?si)^.*?\b(?:alpha|beta)\b.*":"" |
COLOR_BACKGROUND_HEADER_DARK |
hexadecimal numbers, blank allowed |
[Red:00-FF][Green:00-FF][Blue:00-FF] , Color for Dark mode theme. You can't specify decimal colors. (255,153,0) convertacolor.com
|
COLOR_BACKGROUND_HEADER_DARK=FF9900 |
COLOR_BACKGROUND_HEADER_LIGHT |
hexadecimal numbers, blank allowed |
[Red:00-FF][Green:00-FF][Blue:00-FF] , Color for Light mode theme. You can't specify decimal colors. (255,153,0) convertacolor.com
|
COLOR_BACKGROUND_HEADER_LIGHT=FF9900 |
💡
Skin.ini
files are encoded asUTF-16 LE BOM
Measure Substitute - Rainmeter Docs
Regular expressions
💡 Minimum definication of a
Skin.ini
for feeds.
[Variables]
@Include1=#@#Variables.inc
@Include2=#@#Languages\#LANG_FILE#
@Include3=#@#FeedMoe.RSS2.inc
FEED_URL=https://news.yahoo.com/rss
ITEM_LINK_SUBSTITUTE=
FEED_TITLE=
ITEM_TITLE_SUBSTITUTE=
COLOR_BACKGROUND_HEADER_DARK=
COLOR_BACKGROUND_HEADER_LIGHT=
- Download a FeedMoe skin
- Usage of a skin
- Making a skin background transparent
- How to create a skin for your feed
- Skin.ini examples
- Frequently asked questions
🌱 FeedMoe - Rainmeter Forum
🌱 OneTicker: Web feed, Weather, Date and Time, Local text file in OneTicker. - Rainmeter Forum