It is currently March 28th, 2024, 8:57 pm

OneTicker - Date and Time, Web feed, Weather and Local text file

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
nek
Posts: 105
Joined: November 3rd, 2019, 12:00 am

OneTicker - Date and Time, Web feed, Weather and Local text file

Post by nek »

Image Image Image

OneTicker
Image
What is OneTicker?
- OneTicker is a Rainmeter skin for Microsoft Windows.
- It displays Date and Time, Web feed, Weather and Local text file.
- It displays several Web feeds in OneTicker.

What isn't OneTicker?
- It is not a clock.
- It is not a stock ticker.

Preview
Image

more previews

πŸ’‘ Click to enlarge
themes.png
contextmenus01.png
contextmenus02.png
Download

πŸ“¦ OneTicker.rmskin (1.71 MB, GitHub.com)
SHA256 aff7898767afa0002138b34f80f67edd426895c532c48d668d0d706bd60a087e

Documents

πŸ“™ OneTicker Home

πŸ“ Adding Web feed URL, Weather location, Date and Time, Local text file

1. Menu > Sources > Open Sources folder
2. Create a text file. (example.txt)
3. Open the file and add data sources. One source per line.

Examples

Web feed https://news.yahoo.com/rss

Date and Time %#x %H:%M @see πŸ“— Time measure Format code

Weather 40.7766,-73.9701 @description Right-click on the location point of the Google Maps and copy the code.

Local text file C:\Users\Public\Documents\todo.txt @description absolute file path, UTF-8 or ANSI encoded file.
Image
4. Save text file then Menu > Sources > example βœ”οΈ
5. Menu > Refresh skin

πŸ’‘ The default location of the skin installed.
C:\Users\%UserName%\Documents\Rainmeter\Skins\OneTicker
Data source folder is...
C:\Users\%UserName%\Documents\Rainmeter\Skins\OneTicker\Sources

βš™οΈ Settings are saved in
OneTicker\Config.inc
OneTicker\@Resources\Languages\Preferences.#LOCALE_NAME#.inc

πŸ” Skin resizing, scaling

Drag and drop the edge of the skin to change the skin width.

1920x1080 monitor size.
Menu > Sytles > Choose from Small/Medium/Large/Extra-large
Menu > Sytles > Font size > Select what you like.
2560x1440, 4K monitor size.
Menu > Settings > Skin scaling > Select what you like.

πŸ’‘ If you are using a high resolution monitors like 2560x1440(WQHD), 3840x2160(4K), you might need to follow the few steps.
Excluding the Rainmeter.exe from Windows automatic scaling

Changelog
2023-05-25 (YYYY-MM-DD)
* Updated font selector
* Updated color swatch
2023-05-14
* Updated font selector
* Updated language files
2023-05-07
+ Added Installed font selector. Menu > Styles > Font > more...
* Update language files
2023-04-07
* Tweaks
* Update language files
2023-03-16
+ Added Menu > Styles > Padding top/Padding bottom
+ Added Menu > Menu icon > new icons
* Update language files.
2023-02-26
+ Added language files for weather conditions.
2023-02-02
* Fixed a possible WebParser stop working while skin first loading.
2023-01-21
+ Added Validity period settings for Web feed. Menu > Settings > Web feed time range
* Changed Blocking Web feed, Speech pattern matching method are used by regular expression.
- Removed Roboto font.
2023-01-11
Initial release.

Acknowledgments

App
Rainmeter by Developer team, Brian, jsmorley, Community
Plugins
ActionTimer, RunCommand by Brian
Speech by jsmorley
ConfigActive by jsmorley and TheAzack9
Mouse.dll by NighthawkSLO
Focus by death.crafter
Library
xml2lua by manoelcampos
json.lua by rxi
Addon
nircmd.exe (64 bit) by NirSoft, SHA256 7160db2b7a6680480e64f0845512d203a575f807831faf9a652aaef0988f876c
filever.exe (32 bit) by Microsoft, SHA256 FF361B98D12F9E1B0F16AAF6248C0431BBDA7AA49912521C6865DFE68C675F30
Fonts
tabler Icons by PaweΕ‚ Kuna
Code & Techniques
Advanced custom skin context menus by jsmorley
Win10 AppliedDPI Registry Value for Scaling (Single Monitor) by eclectic-tech
#CURRENTSECTION# as a variable by Active Colors
Easing math functions by https://easings.net
You do not have the required permissions to view the files attached to this post.
Last edited by nek on May 25th, 2023, 9:12 am, edited 4 times in total.
User avatar
nek
Posts: 105
Joined: November 3rd, 2019, 12:00 am

Re: OneTicker - Date and Time, Web feed, Weather and Local text file

Post by nek »

New feature: Font family selector
It allow you to select a font that are installed to the Windows.
Image



How to launch: Menu > Sytles > Font > more...
Image
Image

You might also change Font weight, Padding top, Pading bottom settings.
Image



2023-05-07 (YYYY-MM-DD)
+ Added Installed font selector. Menu > Styles > Font > more...
* Update language files

Download
πŸ“¦ OneTicker.rmskin (GitHub.com)
User avatar
Yincognito
Rainmeter Sage
Posts: 7027
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: OneTicker - Date and Time, Web feed, Weather and Local text file

Post by Yincognito »

Getting better and better - well done! :thumbup:
Profiles: Rainmeter Profile β—‡ DeviantArt Profile β—† Suites: MYiniMeter β—† Skins: Earth
Marcaspi
Posts: 2
Joined: July 31st, 2023, 2:30 pm

Re: OneTicker - Date and Time, Web feed, Weather and Local text file

Post by Marcaspi »

I really love the Ticker and at this moment I'm using it for some P2000 RSS feeds and the weather forecast.

I have added the alarm messages from our national weather service as RSS and would like to show the alarm code in the same colors, but I can only find in the config how to assign 1 color to a number of words and I would like red orange yellow and green (these are the national codes). Is there a possibility to show multiple colors in the ticker text?
User avatar
nek
Posts: 105
Joined: November 3rd, 2019, 12:00 am

Re: OneTicker - Date and Time, Web feed, Weather and Local text file

Post by nek »

Marcaspi wrote: ↑July 31st, 2023, 2:39 pm Is there a possibility to show multiple colors in the ticker text?
Thanks for the request.
It is good, if you could share the URL of the RSS feed.

example01.png
You can modify the files to achieve.
1. Browse to Rainmeter\Skin\OneTicker with File Explorer
2. Backup files. Copy Config.inc to Config.inc.sav Skin.ini to Skin.ini.sav
3. Open OneTicker\Config.inc with Text editor
4. Modify
from

Code: Select all

HIGHLIGHT_PATTERN=^

COLOR_HIGHLIGHT=74121D
to

Code: Select all

HIGHLIGHT_PATTERN=exp1
COLOR_HIGHLIGHT=FF0000
HIGHLIGHT_PATTERN2=exp2
COLOR_HIGHLIGHT2=FF9800
HIGHLIGHT_PATTERN3=exp3
COLOR_HIGHLIGHT3=FFFF00
HIGHLIGHT_PATTERN4=exp4
COLOR_HIGHLIGHT4=00FF00
HIGHLIGHT_PATTERN5=^
COLOR_HIGHLIGHT5=000000
NOTE: HIGHLIGHT_PATTERN#= (blank) is not allowed. Please use HIGHLIGHT_PATTERN#=^ instead.
5. Save Config.inc (UTF-16 LE BOM)
6. Open OneTicker\Skin.ini with Text editor
7. Find [ItemTitle] and modify
from

Code: Select all

InlineSetting2=Color|#COLOR_HIGHLIGHT##COLOR_ITEM_TEXT_AC#
InlinePattern2=#HIGHLIGHT_PATTERN#
to

Code: Select all

InlineSetting2=Color|#COLOR_HIGHLIGHT##COLOR_ITEM_TEXT_AC#
InlinePattern2=#HIGHLIGHT_PATTERN#
InlineSetting3=Color|#COLOR_HIGHLIGHT2##COLOR_ITEM_TEXT_AC#
InlinePattern3=#HIGHLIGHT_PATTERN2#
InlineSetting4=Color|#COLOR_HIGHLIGHT3##COLOR_ITEM_TEXT_AC#
InlinePattern4=#HIGHLIGHT_PATTERN3#
InlineSetting5=Color|#COLOR_HIGHLIGHT4##COLOR_ITEM_TEXT_AC#
InlinePattern5=#HIGHLIGHT_PATTERN4#
InlineSetting6=Color|#COLOR_HIGHLIGHT5##COLOR_ITEM_TEXT_AC#
InlinePattern6=#HIGHLIGHT_PATTERN5#
from

Code: Select all

MouseLeaveAction=[!SetOption #CURRENTSECTION# InlineSetting3 ""][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# InlineSetting3 "UnderLine"][!UpdateMeter #CURRENTSECTION#][!Redraw]
to

Code: Select all

MouseLeaveAction=[!SetOption #CURRENTSECTION# InlineSetting7 ""][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# InlineSetting7 "UnderLine"][!UpdateMeter #CURRENTSECTION#][!Redraw]
8. Save Skin.ini (UTF-16 LE BOM)
9. Refresh Skin
I will add to my list as a feature request.
* Does the RSS contain alarm code in the title? <title>...</title>
* Please share the RSS url if you can.
* COLOR_HIGHLIGHT ~ COLOR_HIGHLIGHT5 Do you think five is enough?
You do not have the required permissions to view the files attached to this post.
Marcaspi
Posts: 2
Joined: July 31st, 2023, 2:30 pm

Re: OneTicker - Date and Time, Web feed, Weather and Local text file

Post by Marcaspi »

Hi Nek,

Thanks for the reply, I've followed your instruction and at first it didn't work as I hoped but that was my own thinking error. At this moment it works perfect and the 'Code geel' gives a nice yellow text. I'm really pleased with it, thanks for the best ticker I've had.

The URL that I used
https://cdn.knmi.nl/knmi/xml/rss/rss_KNMIwaarschuwingen.xml

As soon there is a weather alarm they send the code rood (red) code oranje (orange) code geel (Yellow) and code groen (green) in the RSS line and I like to have the words in de same color and it works perfect!!