It is currently November 29th, 2021, 6:30 am

Please can someone help me get rss readder working.

Help with creating, editing & fixing problems with skins
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

Lol, just thought of something.

Code: Select all

[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
RegExp=(?siU)<title type="text">(.*)</title>.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T
UpdateRate=1000
StringIndex=1
Substitute=#SubstituteFeed#
Did you replace [Feed] at the very top or [Feed] in Url=[Feed] ? Should look like this:

Code: Select all

[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://rss.news.yahoo.com/rss/localnews/location/?woeid=12761820&source=8869263
RegExp=(?siU)<title type="text">(.*)</title>.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T
UpdateRate=1000
StringIndex=1
Substitute=#SubstituteFeed#
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

So, this is the point where I slam my face into my desk for missing something stupidly basic. I just realized after looking at the code in your first post that you're using the Atom reader. The Atom and RSS readers parse differently. You can't use it on that feed. If you use the URL in a one of the Enima RSS .ini files like I showed above it'll work just fine.
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

so "RegExp=(?siU)<title type="text">(.*)</title>.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T" is for atom feed.
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

I changed the "regexp" this is my code now..
[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://rss.news.yahoo.com/rss/localnews/location/?woeid=12761820&source=8869263
RegExp="(?siU)<title.*>(.*)</title>.*<link.*>(.*)</link>.*<item.*<title.*>(.*)</title>.*<link.*>(.*)</link>(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)"
UpdateRate=1000
StringIndex=1
Substitute=#SubstituteFeed#

still does not still does not work.
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

Like I said, don't use the atom reader, change to one of the RSS readers.
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

i changed the url .... http://www.mlive.com/news/us-world/index.ssf/atom.xml with the above code... dont think its working...
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

did you change back the regexp string to what is was before you started messing with it?
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Please can someone help me get rss readder working.

Post by maminscris »

Parkour Addict wrote:i get an error it says "The meter [Title] cannot be bound with [Feed]!" and also "The meter [Title Active] cannot be bound with [Feed]!"... but I do think I am getting some where.
I think it is better to read the rainmeter documentation sometime, for this read the anatomy of a skin
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image