Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1410

Help: Rainmeter Skins • Re: Verse of the Day

$
0
0
No problem, by the way, if you also want the "-James2:26", the you need to look for that first, and then the verse, and have 2 child measures:

Code:

[MeasureSite]Measure=WebParserURL=https://www.verseoftheday.com/RegExp=(?siU)<meta property="og:title" content="(.*)"/>.*<meta property="og:description" content="(.*)"/>[MeasureTitle]Measure=WebParserURL=[MeasureSite]StringIndex=1[MeasureDescription]Measure=WebParserURL=[MeasureSite]StringIndex=2
Each (.*) is an StringIndex
And each part is separated by .*

RegExp=(?siU)<meta property="og:title" content="(.*)"/>.*<meta property="og:description" content="(.*)"/>
Hi! Your code works and I've made a few adjustments:

Image

And here's the code now:

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[MeasureSite]Measure=WebParserURL=https://www.verseoftheday.com/RegExp=(?siU)<meta property="og:title" content="(.*)"/>.*<meta property="og:description" content="(.*)"/>[MeasureBook]Measure=WebParserURL=[MeasureSite]StringIndex=1[MeasureVerse]Measure=WebParserURL=[MeasureSite]StringIndex=2RegExpSubstitute=1Substitute="&#34;":'"'[MeterBook]Meter=StringMeasureName=MeasureBookX=500Y=0W=480FontColor=255,255,255,255FontSize=12FontFace=CardoFontWeight=600StringEffect=ShadowFontEffectColor=0,0,0,255Padding=0,10,10,0Clipstring=2AntiAlias=1StringAlign=RightTopInlineSetting=Shadow | 1 | 1 | 5 | 0,0,0,255InlinePattern=[MeterVerse]Meter=StringMeasureName=MeasureVerseX=500Y=0RW=480H=1040FontColor=255,255,255,255FontSize=12FontFace=CardoFontWeight=600StringEffect=ShadowFontEffectColor=0,0,0,255Padding=0,10,10,0;SolidColor=0,0,0,255StringAlign=RightTopClipstring=2AntiAlias=1InlineSetting=Shadow | 1 | 1 | 5 | 0,0,0,255InlinePattern=
But the thing is, I want to keep the "Verse of the Day:" above and the "Daniel 2:27-28" under the verse, so basically another meter(?)

So how do I remove the Daniel part at the top then put it under without including the Verse of the day? I'm confused with this part because they are part of one string according to the webparser.

Thank you!

Statistics: Posted by armaninyow — Today, 10:12 am



Viewing all articles
Browse latest Browse all 1410

Trending Articles