It is currently December 7th, 2022, 10:27 pm

A-Comic's Info

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm
Location: Russia, Moscow

A-Comic's Info

Post by Aragas »

4_0.png
A highly customizable skin, that is done "as default" for Enigma theme - A-Comic's Info!
You can follow your favorite comic with this skin. All you need is just edit UserVariables.inc! (Put URL of your favourite comic)

Yes! This plugin is for a Яussian-speaking auditory! (Because it's for a Russian-speaking site)
For updatings use middle mouse.

I commented UserVariables.inc in Russian. You'll understand what to do. I'm too lazy to translate it in English :sly: . Use Google Translate!

Code: Select all

[Metadata]
Name=A-Comic's Info
Author=Aragas (Aragasas)
Description=Будьте всегда в курсе новых обновлений вашего любимого комикса!
Instructions=Для управления плагином редактируйте UserVariables.inc, там все подробно написано.
Version=1.1

[Rainmeter] 
Group=EnigmaSidebar
MiddleMouseUpAction=!Refresh
BackgroundMode=#HideBackground#
SolidColor=0,0,0,#Transparency#
BackgroundMargins=10,10,10,5
DynamicWindowSize=#Dynamic#
Blur=#Blur#

@include="#CURRENTPATH#\UserVariables.inc"

;==============================================================================================
[Variables]
COMICNAME=(?:.*<meta name="description" content="(.*)" />)
NAME=(?:.*<h1 class="view-title">(.*)</h1>)
NUMBER=(?:.*<p><b>Выпусков:</b> (.*)</p>)

;==============================================================================================
[MeasureInfo]
Measure=Plugin
Plugin=Plugins/WebParser.dll
UpdateRate=#UPDATE#
Url=#URL1#
RegExp="(?siU)#COMICNAME##NAME##NUMBER#"
CodePage=1251

[MeasureComicName]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureInfo]
StringIndex=1

[MeasureName]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureInfo]
StringIndex=2

[MeasureNumber]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureInfo]
StringIndex=3

;==============================================================================================
[StyleStrings]
FontSize=#FontSize#
FontColor=#FontColor#
FontFace=#FontFace#
Antialias=1
X=0r
Y=2R

;==============================================================================================
[MeterComicName]
MeasureName=MeasureComicName
Meter=STRING
MeterStyle=StyleStrings
FontSize=#MainFontSize#
FontColor=#MainFontColor#
Y=10
X=10
LeftMouseUpAction=["#URL1#"]
MouseOverAction=[!SetOption "#CURRENTSECTION#" "FontColor" "#FontColorOn#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption "#CURRENTSECTION#" "FontColor" "#MainFontColor#"][!UpdateMeter #CURRENTSECTION#][!Redraw]

[MeterDivider]
Meter=Image
SolidColor=250,250,250,150
W=#DividerWidth#
H=1
X=10
Y=20r
Hidden=#HideDivider#

[MeterName]
MeasureName=MeasureName
Meter=STRING
MeterStyle=StyleStrings
Prefix=#NamePrefix# "
Postfix="
FontSize=10
X=10
LeftMouseUpAction=["#URL1#/[MeasureNumber]"]
MouseOverAction=[!SetOption "#CURRENTSECTION#" "FontColor" "#FontColorOn#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption "#CURRENTSECTION#" "FontColor" "#FontColor#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
Hidden=#HideName#

[MeterNumber]
MeasureName=MeasureNumber
Meter=STRING
MeterStyle=StyleStrings
Prefix="Всего выпусков - "
FontSize=10
Y=#NumberHight#r
X=10
Hidden=#HideNumber#
You do not have the required permissions to view the files attached to this post.