I'm trying to create two "picture of the day"-feeds but it seems like i can't figure out how.
So i'd be very happy if someone could help me, I think if you have the right knowledge this should be no problem at all.
also with the link to the feed, but it doesn work, do i have to change the regexp expression somehow?
Actually i'm quite sure that i have to change that regexp thing. but i don't know how
updated to a more serious try, still doesn't work.
You have to "capture" the part of the string you want to use. This is done via enclosing the relevant part of the regular expression in braces.
The content of those braces is then accessible by StringIndex. The number of each captured group depends on the number of opening braces up till then. In your example, you simply need to wrap the ".*" into braces.
It's probably also a good idea to escape any quotes with a backslash, just to be sure, although apparently Rainmeter doesn't care about that (I hope escaping them doesn't break anything).
Dots theoretically need to be escaped, too, because in regexp syntax, a dot means "any character". A star means "repeat the previous statement 0 or more times". That's why I removed the "*.*" and replaced it by ".*" meaning "any character combination of characters of any length". Since the regex is set to be "ungreedy" (by the "U" at the start), this statement will match the smallest amount of characters possible, until the next part of the expression (the closing quotes) is found. Finally, here is your regular expression:
If it doesn't work, try removing the backslashes from the quotes. I'm not entirely sure how Rainmeter treats those, but it should be correct according to the normal rules for regexps.
Yes! But he's here is the address given on the plate as <img src="http://images.nationalgeographic.com/wpf/media-live/photos/000/589/cache/crocodile-teeth-serengeti_58922_990x742.jpg" width="990" height="742" alt="Picture of a crocodile’s teeth"> And as well it should look like RegExp =
when it is like this: <div id="bgDiv" style="width: 1366px; height: 768px; top: -2.5px; left: 0px; opacity: 1; background-image: url(http://www.bing.com/az/hprichbg?p=rb%2fAfricanLynx_ROW10690415429_1366x768.jpg); ">
or as in the screenshot:
You do not have the required permissions to view the files attached to this post.